News for hackers. Stuff that matters.
Re: Why are we limited to JS in browsers - would a bytecode ... by bd on Thursday November 11, 2010 @04:40PM (#1895389)
"But really, an IL that doesn't support integers? An IL where a member field access may involve looking up a string in a hash table instead of being a single machine instruction? Propose that as an IL to a compiler guy and they'll laugh at you."

Yup, JS arrays look crazy when you are used to C and pointers (I was shocked when I first found out).

That's why WebGL folks had to come up with typed arrays:

https://cvs.khronos.org/svn/repos/registry/trunk/public/webg...

http://weblog.bocoup.com/javascript-typed-arrays

There are no comments on this comment yet.