2 ms·
This looks super interesting, a great example of functional programming and an implementation of websockets. However, whenever something like this comes up, I
by tmarthal 13y ago
This looks super interesting, a great example of functional programming and an implementation of websockets.
However, whenever something like this comes up, I always wonder about the new Java implementation of Web Sockets / actors. Do you have a comment on the difference between using Akka for your web interface instead of comsat WebActors?
I guess if this is a proof of concept for the comsat classes, it works quite well.
- pron 13y agoI think the main difference is that Comsat (which runs on top of Quasar) has true lightweight threads, just like Erlang and Go. This means that actor code can block, you can have simple selective receive, and all-in-all the code is simpler and easier to follow. Also, web sockets are not directly related to actors. Comsat's Web Actors simply let you write HTTP and WebSocket using the actor model.