by willtim · 8y ago · 0 comments
Perhaps it is time to start using a higher-level language? One with a runtime that provides green threads?
That limits the options quite a lot. I hear it's possible to make shared libraries with Golang nowadays, so that may be an option. Probably Rust, but I'm not sure what's the state of green-threading there.
Finally, if you want to go implementing protocols further down the stack (L4, L3) the performance requirements get tighter. So, for example, Golang's GC may rule that language out.
Taking all those requirements into account I guess C is still the only option. Maybe Rust one day.
https://github.com/rust-lang/rfcs/blob/0806be4f282144cfcd55b...