Safe-DS / Runner

Execute Safe-DS programs that were compiled to Python.
MIT License
2 stars 0 forks source link

`Socket.io` vs. raw websockets #22

Open lars-reimann opened 10 months ago

lars-reimann commented 10 months ago

Is your feature request related to a problem?

Socket.io is a protocol for bidirectional communication. It uses websockets internally when available, but can also fall back to other technologies. Compared to raw websockets, we

Desired solution

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

WinPlay02 commented 10 months ago

I don't think a switch to socketio would be needed in the near future.

Though I very much agree on the easier testing argument.

lars-reimann commented 10 months ago

All valid points. Let's talk about this on Thursday.

lars-reimann commented 10 months ago

Apparently, the W3C is also working on another means for bidirectional communication, called WebTransport. Socket.io v4 recently added support for this, allowing us to use WebTransport without further changes to our code, once it's widely available.