Re:Why Python is Slow: Looking Under the Hood (2014)
by weberc2 on Wednesday October 25, 2017 @03:23PM
(#15553263)
This isn't a meaningful definition because compilation and execution under a single command is trivial for any compiled language, including Go and Python and PHP. As for lack of boilerplate, Haskell and many statically-typed, compiled functional languages have less boilerplate than PHP or Python. Dynamic typing is more meaningful, but regardless of definition, I fail to see why it's useful to restrict the scope to scripting languages. However, even if you make this restriction, there are many, many languages that are dynamically typed "scripting" languages that are much faster than PHP and Python (JRuby, Lua, JS, Wren, most lisps, etc).
[ Parent
| on HN ]
Re:Why Python is Slow: Looking Under the Hood (2014)
by igouy on Wednesday October 25, 2017 @03:51PM
(#15553495)
> dynamically typed "scripting" languages that are much faster than PHP and Python (JRuby
?
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
Re:Why Python is Slow: Looking Under the Hood (2014)
by weberc2 on Wednesday October 25, 2017 @04:24PM
(#15553853)
That's not the graal backend. The TruffleRuby project uses Graal to make JRuby much, much faster. I don't know what the specific information, but generally "competitive with Java" is my understanding. Perhaps "TruffleRuby" is the name I should have used; it's not apparent and I'm only nominally familiar with the project.