by rkangel · 6y ago · 0 comments
If you're not familiar with implementing schedulers and concurrent systems then beware that implementing fibers from scratch is likely to result in some subtle and hard to debug problems.
If you have to use C/C++ you may well get better results using a library. If you aren't tied to the language then Erlang/Elixir, Go and Rust all have excellent implementations that have more language support.
Actually for full disclosure I should say that I am currently building a telecomms system in Elixir. I find the decades of battle testing in the BEAM reassuring.
Its a bit messy, sure. But I don't think I have any subtle bugs and was not hard to debug. Performance is good too.
What I want to say is: it is easy to do, even I can :P