Head of Product at Temporal. Previously lead architect and low-level systems programmer for scale out SaaS offering. Game engine developer, ML engineering expert. DMs open on Twitter.
Nim has 6 Garbage Collectors to choose from, or no GC at all,
is easy just changing 1 compiler parameter, you can tune the GC.
They also are adding a memory management without GC,
kinda like Rust, but without BorrowChecker.
Is a Compiler, not a Transpiler. Nim by default targets C.
Feels very similar to Python writing it, but has C-like performance.
Head of Product at Temporal. Previously lead architect and low-level systems programmer for scale out SaaS offering. Game engine developer, ML engineering expert. DMs open on Twitter.
I dont understand if you want Manual or GC memory management,
but you can do both on Nim.
I dont say it’s a compiler because it targets C,
theres compilers that wont target C, is compiler because it is,
you can say its a Transpiler for the JavaScript target yeah,
but for others is a compiler, whatsoever thats just wording :P
It compiles to native Python, like Cython,
not Python source code, that would be slow,
one of the benefits of Nim is the high efficiency of the generated code.
🙂
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yo creo nim es muy guay. Mi Español es solomente para leyendo, no escribir. Yo quiero preguntas, pero en English.
So the only drawback of nim is the efficiency of the generated code? Otherwise it’s very similar to python right?
I assume that means that nim->python yields the best translation.
Also C/C++ often is beneficial because of the ability to directly manage memory, which you clearly also lose with nim.
On Nim you can directly manage memory.
Nim has 6 Garbage Collectors to choose from, or no GC at all,
is easy just changing 1 compiler parameter, you can tune the GC.
They also are adding a memory management without GC,
kinda like Rust, but without BorrowChecker.
Is a Compiler, not a Transpiler. Nim by default targets C.
Feels very similar to Python writing it, but has C-like performance.
Nim is faster than Python and Cython.
🤪
You say it’s a compiler just because it targets C? Doesn’t the fact it can be translated to python make it a transpiler?
It’s not memory management if you have a gg really.
Overall very cool, will try it out.
I dont understand if you want Manual or GC memory management,
but you can do both on Nim.
I dont say it’s a compiler because it targets C,
theres compilers that wont target C, is compiler because it is,
you can say its a Transpiler for the JavaScript target yeah,
but for others is a compiler, whatsoever thats just wording :P
It compiles to native Python, like Cython,
not Python source code, that would be slow,
one of the benefits of Nim is the high efficiency of the generated code.
🙂