Anyone has opinion on Nim?

Could it be good lang to complement Elixir when you need to build Port or NiF?

1 Like

Eh, it’s Garbage Collected, be perfectly fine via a port, (much) more trouble in a NIF (the BEAM likes to control memory allocations).

2 Likes

Do you have an opinion on the lang. itself syntax looks clean but just wondering if it is worth investing time to dig in?

I like the looks of Nim personally, but the GC is the main turn-off for me. It looks well worth learning though, I’d recommend it. :slight_smile:

Crystal’s syntax is a bit more abhorrant but it seems a bit better designed overall if you want to look at a similar language too (it is also GC for note).

1 Like

It probably could be. I’ve played around a little bit with it. What
turned me off is that it is unpolished, lots of features and the
language doesn’t seem coherent or know where it is going if that makes
sense.

And as is usually the case documentation was a bit lacking. This may
have changed recently though it was over a year since I looked at it.

It compiles to C so doing a NIF should be straigt-forward. Ports are
quite similar in any language I find.

2 Likes