4 ms·
Right now I'm working on something where the choice was between Nim or Rust. I required integration with lots of C/C++ code and there are callbacks from C that
by biokoda 10y ago
Right now I'm working on something where the choice was between Nim or Rust. I required integration with lots of C/C++ code and there are callbacks from C that execute my code, Nim was the clear choice.
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.
- baq 10y ago> 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.
- biokoda 10y agoIf it did as well as Nim the person I'm replying to would not have the issues he is describing.
- steveklabnik 10y agoCould you elaborate with more specifics here? How is nim's interfacing with C code nicer than Rust's?
- ambrop7 10y agoThanks for the hint, I must look at Nim sometime :)