Live data from Hacker News

Nimrod: C + Macros + GC

nimrod-code.org

1–10 of 116 posts

Re: Nimrod: C + Macros + GC

#6
> The Nimrod Compiler can also generate C++ or Objective C for easier interfacing.

This really is an inconvenient time for the weekend to be ending.

Re: Nimrod: C + Macros + GC

#7
This is the closest to my ideal language I've ever seen. Elegant and expressive syntax of Python, statically typed with automatic type inference, compiled to native code, garbage collected, macros, AST manipulation, very comprehensive "batteries included" standard library. Definitely worth a closer look!

Re: Nimrod: C + Macros + GC

#8
Just when i started reading tutorials about Rust this comes up... Looks nice, but does it also have concurrency built in (Rust tasks, Erlangs processes, message passing, etc.)?

Re: Nimrod: C + Macros + GC

#9
I've been tempted by this one several times. I may have to play around with it and SDL2.

One thing that gets me, though, is the var keyword in a statically typed language. Why say "var thing: string" instead of "string thing"?

I think that consistent, explicit declaration of types is much cleaner and easier to read than this recurring mixture of type inference and annotation.

Re: Nimrod: C + Macros + GC

#10
post #8

Just when i started reading tutorials about Rust this comes up... Looks nice, but does it also have concurrency built in (Rust tasks, Erlangs processes, message passing, etc.)?

From the second paragraph on the linked page:

> Beneath a nice infix/indentation based syntax with a powerful (AST based, hygienic) macro system lies a semantic model that supports a soft realtime GC on thread local heaps. Asynchronous message passing is used between threads, so no "stop the world" mechanism is necessary.

Post reply on HN