Recent submissions

Comment · 2 years ago
Resubmit because I typo'd the link. XD
Comment · 2 years ago
Comment · 2 years ago
Another in the continuing discussion... CPS as a library using nothing more than Nim's meta-programming.
Comment · 6 years ago
Comment · 6 years ago
Also, we don't scan "live" memory, which matches your intuition -- why would we?
Comment · 6 years ago
Nim doesn't require that you use a gc; one of its many gc options is `none`, which is, as it sounds, no garbage collector at all.
Comment · 6 years ago
I want to remove a couple misunderstandings that I see in the comments.

Nim is "not done" and I hope it never will be. Watch Guy Steele's "Growing a Language" talk for my rationale. We want a language that can continue to evolve and introduce or research new programming language technology.

ARC is scope-based memory management computed at compile-time. It is deterministic and not stop-the-world. If you want to influence the memory management for performance reasons, it's quite trivial to do so by manipulating scopes. There are also knobs and levers if you need direct control of individual allocations.

ORC is ARC but with the tiny addition of a cycle-breaker.

ORC will be the default because it's more convenient than ARC while capturing all of the benefit. It simply adds calls to the cycle-breaker that you may be uninterested in typing in yourself.

Comment · 6 years ago
Please open an issue if you want to change the semantics; it's trivial to use the hash instead.
Comment · 6 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton