It's easy to write, and comparable in performance to Go and similar.
Rust, Zig, and Nim are solving different problems.
It's easy to write, and comparable in performance to Go and similar.
Rust, Zig, and Nim are solving different problems.
It is fully deterministic, so it simply injects alloc/free calls in the generated code at compile time. It even has an option that can show you where the calls are injected.
https://nim-lang.org/blog/2020/10/15/introduction-to-arc-orc...
That being said, I'll grant that the distinction between "tiny runtime" and "no runtime" isn't useful and that C can be said to have a runtime insofar as most systems provide a `crt0` or equivalent.
Tmk Crystal still lacks Windows support as well and probably other os's / archs's compared to Nim
https://crystal-lang.org/reference/1.4/syntax_and_semantics/...
Of course, same as Nim, you lose access to most of the stdlib.