> I required integration with lots of C/C++ code and there are callbacks from C that execute my code, Nim was the clear choice.
i don't follow - Rust integrates with C quite well, too.
Re:Ruma, a Matrix homeserver written in Rust
by biokoda on Monday July 04, 2016 @10:20AM
(#12030916)
If it did as well as Nim the person I'm replying to would not have the issues he is describing.
Re:Ruma, a Matrix homeserver written in Rust
by steveklabnik on Monday July 04, 2016 @02:15PM
(#12032158)
Could you elaborate with more specifics here? How is nim's interfacing with C code nicer than Rust's?
The main app is C that links all my libs together, but the actual C code just calls a Nim to execute the code. I talk to all the C libs using Nim.
I'm very happy with that decision. It was a breeze to setup and is great to work with.