logoalt Hacker News

jshenlast Thursday at 4:49 PM1 replyview on HN

Which dynamically typed languages perform like a statically typed language?


Replies

9rxlast Thursday at 5:27 PM

It says "more like", not "like". Javascript now performs more like a statically-typed language, as one example. That wasn't always the case. It used to be painfully slow — and was so when Go was created. The chasm between them has shrunk dramatically. A fast dynamically-typed language was a novel curiosity when Go was conceived. Which is why Go ended up with a limited type system instead of being truly dynamically-typed.