3 ms·
I wrote a javascript compiler. At the time (2000), it was twice as fast as Microsoft's and 20 times faster than Netscape's. I was correct in anticipating that j
by WalterBright 9y ago
I wrote a javascript compiler. At the time (2000), it was twice as fast as Microsoft's and 20 times faster than Netscape's. I was correct in anticipating that js speed would become very important, but my implementation was ahead of its time and didn't get any traction.
It has since been rewritten in D and is Open Source:
https://github.com/DigitalMars/DMDScript https://github.com/DigitalMars/DMDScript
- grok2 9y agoIs it still compliant to the EcmaScript spec? Whats the latest spec it is compliant to? And how fast is it now compared to V8, etc...
- WalterBright 9y agoECMA 3. Haven't run any benchmarks lately.
- joshschreuder 9y agoHow did you expect to make money off it? Acquihire by one of the browser vendors?
- WalterBright 9y agoLicense it to one of the browser vendors. I did do a few licenses, but the trouble was I knew how to reach a mass market, but the market for js engines was small and only large companies. I struggled with that. It's still quite a good scripting engine, if you want to, for example, have scripting in your IDE so users can extend it. JS is a good language for that.