News for hackers. Stuff that matters.
Re:Nim 1.4 by cb321 on Friday October 16, 2020 @02:40PM (#24803723)
Nim also has an emit pragma where you can just inline C code (or code for the Javascript backend or C++ backend, etc.). So, if there is some poorly optimized (for whatever reason) hot inner loop you can fix it right there, though you start sacrificing portability (often the trade off for optimal performance). You can even do SIMD intrinsics right in Nim no problemo just using the FFI Nim has for C calls.

There are no comments on this comment yet.