Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bcheung
on March 15, 2016
|
parent
|
context
|
favorite
| on:
Experimental support for WebAssembly in V8
WebAssembly is a binary representation of the Javascript AST. Optimizations usually happen AFTER it is parsed. That's all WebAssembly is -- the parsed result. Targeting WebAssembly from Javascript is the most natural fit that could possibly exist.
azakai
on March 15, 2016
|
next
[–]
Not quite. WebAssembly is not a representation of general JS. It can just represent a small subset of it, very similar to the asm.js subset.
bcheung
on March 15, 2016
|
parent
|
next
[–]
Good to know. So it doesn't implement any of the ES6 concepts then I take it.
esailija
on March 15, 2016
|
prev
[–]
The format is just an AST in general, nothing to do with JavaScript. You can even see all the possible instructions here to confirm [1].
1.
https://github.com/WebAssembly/design/blob/master/AstSemanti...
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: