News for hackers. Stuff that matters.
Re:A Programming Language Underdog by sushidev on Saturday September 22, 2018 @06:48AM (#18045451)
How about the garbage collector? For really performance sensitive applications you'd turn it off and resort to manual memory management?
Re:A Programming Language Underdog by dom96 on Saturday September 22, 2018 @06:51AM (#18045461)
Yes, but the GC is very flexible so you might get away with using its soft real-time features[1].

1 - https://nim-lang.org/docs/gc.html

Re:A Programming Language Underdog by andrewchambers on Saturday September 22, 2018 @07:09AM (#18045504)
Nim also has a stack based region allocator, but it didn't seem too well documented when I tried to use it.
Re:A Programming Language Underdog by mratsim on Saturday September 22, 2018 @07:35AM (#18045594)
You can also mix GC-managed and manually allocated types in the same codebase.