3 ms·
This is interesting - No intermediate language. I was wondering about this in response to a comment yesterday: http://news.ycombinator.com/item?id=293962 http:/
by jwilliams 18y ago
This is interesting - No intermediate language. I was wondering about this in response to a comment yesterday:
http://news.ycombinator.com/item?id=293962 http://news.ycombinator.com/item?id=293962
This linked to a post where one of the key developers (Dave Griswold) said "The release of the V8 VM is the beginning of a whole new era for dynamic languages"...
From this, I wouldn't see this as the case at all. I can't imagine many people wanting to use JavaScript as an intermediate language.
Without an intermediate language or some form I wouldn't call this a Virtual Machine - it's an interpreter... Granted, a pretty fast and sophisticated one.
- shimi 18y agoThe V8 control the resource allocation which makes it a VM. If it was an interpreter it would have execute the code directly, and would have leave the resource allocation to the OS
- jrockway 18y agoActually, it's more like a compiler than an interpreter. I think people use the term "VM" out of ignorance -- they think VM is a fancy term for "thing that runs javascript". But anyway, if you want to run your $NEW_LANGUAGE on V8, just compile your language to JavaScript. That is the "IR".