3 ms·
So I think "JS-next" will be motivated not by committees and specifications but by incremental attempts to expose technology that's already in place (modern bro
by stcredzero 16y ago
So I think "JS-next" will be motivated not by committees and specifications but by incremental attempts to expose technology that's already in place (modern browsers' fast JS VMs)
If we had some sort of standardized support for "original source pointers" then we could have any number of languages in the browser as first-class citizens. They would just use minified JS as their compiler target. Development and debugging could be entirely in the new languages.
This would be a relatively small change, but it would open up innumerable opportunities.
- barake 16y agoSomething like the #line directive [1] from C# would be useful, though it would only work in pre-compressed JS. The real challenge would be adding support in the various 'developer tools'/consoles. 1: http://msdn.microsoft.com/en-us/library/34dk387t(VS.71).aspx http://msdn.microsoft.com/en-us/library/34dk387t(VS.71).aspx