Nim programming language finally hit 1.0

Chris wendlec at tcd.ie
Thu Oct 3 09:49:57 UTC 2019


On Thursday, 3 October 2019 at 09:36:17 UTC, LocoDelPueblo wrote:
>
> Problem is also that people using python don't want to be 
> programmers... they just do stuff in python, and sometimes 
> these stuff become mainstream. So if the idea is to say "use 
> Nim instead of python" you basically kill the "why" the python 
> stuff started being widely used and developed. You fallback in 
> the "no-way" again.
>
> I've observed this again two days ago where the UI of for a 
> command line app required python-qt. The application could have 
> been made in cpp, easily, but you know the authors just wanted 
> to make their stuff...but now this ui is available on most 
> linux distribs, no matter the way it's made.

You have a point there. But the good thing about Nim is that you 
can generate C, C++ and Objective-C:

https://nim-lang.org/docs/backends.html

This can be done by the developer who works on the actual 
product. The scientist (or whoever develops the prototype) can do 
so in Python-like Nim, and then the dev ports or incorporates it 
with a compiler switch. Say you have great code in Nim and you 
wanna make an Android or iOS app. Just convert it to C or C++ and 
compile it for the mobile platform. I've never tried this in 
practice, but it sounds promising.


More information about the Digitalmars-d mailing list