3 ms·
I do like Python (my work mostly done in Java, though). A few years ago, I was looking for a language with Python-like expressiveness, with system programming c
by anta40 10y ago
I do like Python (my work mostly done in Java, though).
A few years ago, I was looking for a language with Python-like expressiveness, with system programming capabilities ala C.
Seems like Nim is the answer :)
- borplk 10y agoYes Nim has the reputation of being a Python-like system programming language.
- progman 10y agoNot only that. Nim also has benefits like Ada's range types, a sophisticated macro system, and Perl's native regular expression syntax. It also compiles to C which makes porting to other platforms easy.
- vram22 10y ago>Nim also has benefits like Ada's range types Are Ada's range types similar to D's, or quite different? https://dlang.org/phobos/std_range.html https://dlang.org/phobos/std_range.html The above page links to the one below - the one below is about the concepts, by Andrei Alexandrescu (who joined Walter Bright in developing D). http://www.informit.com/articles/printerfriendly/1407357 http://www.informit.com/articles/printerfriendly/1407357
- progman 10y agoI know Ada not D. Nim's subrange are close to Ada. If you define a type t1 = range [5..20] and you assign a value of 1 to a variable of type t1 then you get a compilation or runtime error.
- vram22 10y agoAh, then that is similar to Pascal too, from its early versions, IIRC, not just Turbo Pascal onwards.
- srean 10y agoI think the language called wirbel would push some pleasant buttons. Its rather sad that its author had to stop spending more time on it. Leaving this here because i doubt wirbel is well known. It came with a full fledged type inference