What blocks Ruby, Python to get Javascript V8 speed? -
are there ruby / python features blocking implementation of optimizations (e.g. inline caching) v8 engine has?
python co-developed google guys shouldn't blocked software patents.
or rather matter of resources put v8 project google.
what blocks ruby, python javascript v8 speed?
nothing.
well, okay: money. (and time, people, resources, if have money, can buy those.)
v8 has team of brilliant, highly-specialized, highly-experienced (and highly-paid) engineers working on it, have decades of experience (i'm talking individually – collectively it's more centuries) in creating high-performance execution engines dynamic oo languages. same people created sun hotspot jvm (among many others).
lars bak, lead developer, has been literally working on vms 25 years (and of vms have lead v8), entire (professional) life. of people writing ruby vms aren't 25 years old.
are there ruby / python features blocking implementation of optimizations (e.g. inline caching) v8 engine has?
given @ least ironruby, jruby, maglev, macruby , rubinius have either monomorphic (ironruby) or polymorphic inline caching, answer no.
modern ruby implementations great deal of optimizations. example, operations, rubinius's hash
class faster yarv's. now, doesn't sound terribly exciting until realize rubinius's hash
class implemented in 100% pure ruby, while yarv's implemented in 100% hand-optimized c.
so, @ least in cases, rubinius can generate better code gcc!
or rather matter of resources put v8 project google.
yes. not google. lineage of v8's source code 25 years old now. people working on v8 created self vm (to day 1 of fastest dynamic oo language execution engines ever created), animorphic smalltalk vm (to day 1 of fastest smalltalk execution engines ever created), hotspot jvm (the fastest jvm ever created, fastest vm period) , oovm (one of efficient smalltalk vms ever created).
in fact, lars bak, lead developer of v8, worked on every single one of those, plus few others.
Comments
Post a Comment