Discussion about this post

User's avatar
Tech Traveler's avatar

"So naturally it created a huge multi-year war, between people who were used to the C way of doing things, and people who wanted to adopt Rust for memory safety."

---

Jacob, it would be interesting to get your views on whether Nim (aka #nimlang) would be a better fit for Linux devs in comparison to Rust. Since Nim consumes C/C++ libraries with ease, it's great for hard realtime embedded development thanks to its new default ARC/ORC memory manager.

{ Both ARC and ORC offer deterministic performance for hard realtime systems, but ARC can be easier to reason about for people coming from Ada/C++/C -- roughly speaking the memory for a variable is freed when it goes "out of scope". }

source: Nim's Memory Management

https://nim-lang.org/docs/mm.html

Of course, developers are also able to disable the GC and handle things themselves. And with Nim, you get a language that takes the best concepts & inspiration from Python, C/C++, Ada, Object Pascal/Modula to create a very disruptive language that is "efficient, expressive & elegant" in that order.

As such, developers can compile their Nim code to C, C++, Objective C, JavaScript in order to have the ultimate versatility as a developer on Linux, Windows, MacOS, iOS, Android & BSD Unix. Thus I truly believe Nim will be a great addition to all Linux devs. ;-)

{ "Nim's memory management is deterministic and customizable with destructors and move semantics, inspired by C++ and Rust. It is well-suited for embedded, hard-realtime systems." }

source: https://nim-lang.org

Expand full comment
2 more comments...

No posts