Both and Chapel.
Care to expand on Chapel? Is it used somewhere in prod?
Ask HN: Next programming language to learn: Nim vs. D?
21–27 of 27 posts
Re: Ask HN: Next programming language to learn: Nim vs. D?
#22Earlier quoted context omitted.
Other than maturity, what are the reasons you've chosen to go with D (and are now choosing to pursue Zig)?
What I want in a language of this class is some ability to transition code from a slow/dynamic/generalized/exploratory phase to fast/static/specialized/checked. Both D and Nim offer features of that nature. (Something like Rust omits itself by forcing memory into a central role, leading to a lot of annotation boilerplate - it's correct for writing Servo or similarly complex parallelized systems, but I am not writing…
Re: Ask HN: Next programming language to learn: Nim vs. D?
#23Re: Ask HN: Next programming language to learn: Nim vs. D?
#24Re: Ask HN: Next programming language to learn: Nim vs. D?
#25Re: Ask HN: Next programming language to learn: Nim vs. D?
#26Earlier quoted context omitted.
Apart from some syntactic commonalities and expressiveness, Nim doesn't have a lot in common with Python. The idiomatic approach to solving problems in Python and Nim are different. I came from a strong Python background and now I prefer Nim to Python as a general purpose language and especially for writing scripts. Nim is highly productive and with excellent type safety. The compiler is relatively fast though maybe…
> Apart from some syntactic commonalities and expressiveness, Nim doesn't have a lot in common with Python. > The idiomatic approach to solving problems in Python and Nim are different On a practical level, they are close enough to let you convert Python code to Nim with reformatting and replacing instead of doing a complete rewrite.
Re: Ask HN: Next programming language to learn: Nim vs. D?
#27Earlier quoted context omitted.
I don't think so (for example Chapel does SIMD).
Pony does SIMD also, is much faster and safer.
Here are some recent Chapel performance results:
shared memory: https://twitter.com/ChapelLanguage/status/100266735892881408...
distributed memory: https://twitter.com/ChapelLanguage/status/100258998583959552...