4 ms·
More suitable sure but I'm not convinced you'd want to use anything but C or C++ for a server that needs to be as "real-time" as possible. For what value of "a
by stcredzero 12y ago
More suitable sure but I'm not convinced you'd want to use anything but C or C++ for a server that needs to be as "real-time" as possible.
For what value of "as possible?" It's kind of a miracle that twitch game mechanics FPS work at all with typical Internet latencies, which is one of the various reasons why I'm not doing that. "As possible" in my situation, doesn't include the resources to do that.
I wish Go could use RAII or another memory scheme so they could drop GC altogether.
There's always Rust. Also, Erlang can "cheat" at GC in some ways due to immutability. Server side Swift has potential as well.
- BinaryIdiot 12y ago> For what value of "as possible?" Really depends on the use case. Obviously "real-time" in a money context is very different than gaming. For gaming GO will probably be fine but that's also depending on how the game can scale. > There's always Rust. I've heard good things about rust though C++ is also pretty fantastic but I guess it's not as popular anymore.
- m0th87 12y agoTo expand on immutability and GC, this article explains why it's a big win for GHC: https://wiki.haskell.org/GHC/Memory_Management https://wiki.haskell.org/GHC/Memory_Management Additionally, Erlang can also make "soft real-time" guarantees because each actor has its own heap, and consequently each actor is GC'd separately.