Re:Nim Programming Language v0.16.0 released
by lmm on Monday January 09, 2017 @10:08AM
(#13356815)
When you say C speeds do you mean absolutely C-like or just a lot faster than Perl/Python/Ruby? Would e.g. OCaml work?
[ Parent
| on HN ]
Re:Nim Programming Language v0.16.0 released
by nameless912 on Monday January 09, 2017 @11:08AM
(#13357325)
In my (admittedly very poor) testing, Nim can get to within 5% or so of C speeds for simple benchmarks-it compiles to pretty decently optimized C, and then can use LLVM/Clang as a backend to take advantage of all the amazing optimization work being done there, so in the end you have code that is very similarly performant to C.