I tried Nim last year after getting burnt out on rust beta. My impression is that it has a lot of the same issues Haxe has in that it seems to be a transpiler. The specific problem I hit was returning a list or vector particular way caused strange C++ code to get generated.
It would be cool if they redid the backend so it functions as a real compiler with llvm.
The transpiler issues + the smallish community pretty much scared me off. I am not sad I "missed it" even if it was a cool experiment.
The C code generator is definitely much more mature than the C++ code generator. Sorry to hear that you had problems with it. Did you report it as an issue on Github? If not do you still have the code somewhere, I'd be more than happy to take a look and submit a bug report for you if you don't have the time.
I can however mention that with the Urhonimo project (currently dormant, but still quite cool) we had no issues with using the C++ backend. Although Andreas did make a bunch of improvements to c2nim and perhaps the Nim compiler too IIRC.
And oh, notice there actually is an LLVM backend brewing now!
Thats awesome. Sounds like it is time to take nim for another spin then if that is true.
Not knowing the syntax or semantics is a great way to fuzz a compiler so my guess is I was trying to do insane things. I had similar issues with the rust beta.
It would be cool if they redid the backend so it functions as a real compiler with llvm.
The transpiler issues + the smallish community pretty much scared me off. I am not sad I "missed it" even if it was a cool experiment.