Hacker News new | ask | show | jobs
by trwired 1802 days ago
Speaking of "new Pythons", I recently started playing with D and got that impression. It's like the compiled, fast executing Python I have always wanted hidden in plain sight.
2 comments

I think you might like Nim lang.
Nim to me is basically compiled Python. I really root for it, but it honestly hasn't gotten the traction it deserves
I'm old enough to remember a war between Perl and Python (bioinformatics). I was on team Python and didn't understand why would anyone want to write code in Perl. Python didn't have traction, nor books or libraries.

Fast forward 20 years, and everything is Python or R.

Go Lang is C designed after Python existed.
Go Lang is a lot closer to Java 1.2 than it is to C.
It is not object oriented. Interfaces and struct methods with composition and not inheritance is much more C than Java (no not overriding methods) kind of the C or compiled version of duck typing. Reading thru OpenSSL code is not that different from reading thru Go code. Typed but not a artificial hierarchy of types.
I strongly disagree.

Go is an improved C that includes garbage collection (as is needed to make bug-free concurrent programming easier).

It's just "Go". The way I usually describe it is "the sweet spot between C, C++, Python and Java", which, considering who worked on it and where they worked, seems to be closer to reality than just C.
I personally feel like D does this better than Go.
That's fair, I haven't tried D yet but I've heard good things about it. One thing Go's really good at is web services, and from what I've seen D seems to be a bit lacking here. But in general D seems more versatile than Go.
D is such a pleasant language. Super easy to learn too.