3 ms·
I am stuck working on a C++ code base using Qt. Could I in theory use Nim to accelerate my development, or would it produce incomprehensible or ugly C++ code?
by jernfrost 10y ago
I am stuck working on a C++ code base using Qt. Could I in theory use Nim to accelerate my development, or would it produce incomprehensible or ugly C++ code?
Alternatively are there other alternatives to C++ for people who have to submit C++ code into the repository?
I use other languages than C++ on a regular basis and I find it annoying to tedious the language is. So much boilerplate and repetitions.
- jhasse 10y agoSome years ago I had the idea to create something similar to CoffeeScript for C++: https://bixense.com/coffeepp/ https://bixense.com/coffeepp/ Never got through to finish it though :/
- jernfrost 10y agoLooks pretty cool, I'd love to have something like that. Preferably something which you could tweak to output C++ code matching company code style guidelines.
- gokr 10y agoI am not sure how incomprehensible it is, but I can say that the c2nim wrapper tool is pretty darn good. Andreas (author of Nim) quickly wrapped all of Urho3d in Nim almost fully automated. So IMHO Nim is a great companion to C++ libraries.
- jernfrost 10y agoPerhaps I misunderstand, but you are speaking of going from C++ to Nim, while I have to be able to go from Nim to C++ as co-workers are not going to want to look at Nim code. Nim would have to be a personal tool for me to write C++ faster.
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]