Re:Overview of the Crystal language
by isaiahg on Tuesday December 19, 2017 @10:00AM
(#15960636)
Ruby like syntax huh. Man I wish the Python syntax would catch on more. Most clean and readable code I've ever laid my eyes on. Wish I could use it but it's just too slow for the stuff I do. What would I give for a language at least the speed Java but with a Python like syntax.
[ Parent
| on HN ]
My idea for a more Python-like C++: https://bixense.com/coffeepp/
Ugh, I hope not. Python looks too much like Visual Basic.
+ and strongly typed.
Nim is the closest language to what you're describing that I've found so far https://nim-lang.org/
Definitely fits the bill:
* Python-like syntax
* Compiles to C/C++/JS/Object-C
* Supports Windows, Linux and Mac.
* Multithreading
* Extensive metaprogramming
* VERY fast compiler
* Dead code elimination
* Very strongly typed, with related features (eg distinct types)
* Type inference
* Excellent structural generics, type classes, and compile-time concepts
Basically looks like python, runs like C. Because it compiles to C, you can run it anywhere you have a C compiler (which is almost anywhere).