3 ms·
I only know a little bit about Nimrod. My understanding of it is limited. That being said, I believe a big draw is its metaprogramming abilities. In Nimrod, me
by dmunoz 12y ago
I only know a little bit about Nimrod. My understanding of it is limited.
That being said, I believe a big draw is its metaprogramming abilities. In Nimrod, metaprogramming is done using Nimrod. In C++ you have the very limited, backwards compatible to C, C++ preprocessor and template metaprogramming. C++ is progressing slowly towards metaprogramming in C++ with constexpr. constexpr support is much stronger in C++14.
D is similar. In D, the metaprogramming language is (I believe) D itself, or at least very similar to it. D also has strong support for compile time function execution.
Nimrod also does a lot more to guarantee safety. C++ can only do so much, due to its (mostly) backwards compatibility to C.