Hi,
Any plans to by pass C++ and generate native code?
Suminda
We have a native backend in the works but it's not based on LLVM. An LLVM codegen is currently not on our agenda.
Since many of you asked for a list of advantages/disadvantages I found my old notes about this issue. Here they are:
Advantages of C:
Advantages of LLVM:
Disadvantages of C:
Disadvantages of LLVM:
An LLVM backend might make a really good GSOC 2015 project.
It would be especially interesting if Nimrod on LLVM performed better than, say Swift or Rust on a few silly microbenchmarks. Not really meaningful, mind you, just good reddit-bait.
LLVM receives a lot of attention and people keep trying to make it a better back end, so it's certainly interesting, but I'd like to see Nimrod reach a 1.0 release sooner and a new backend would likely not help that.