4 ms·
Can we just compile js to bytecode? It's silly making huge apps in a language that has to be parsed and compiled on the fly
by slackingoff2017 9y ago
Can we just compile js to bytecode? It's silly making huge apps in a language that has to be parsed and compiled on the fly
- astrodust 9y agoGet to work on a Webassembly compiler and your wish might be granted. http://webassembly.org http://webassembly.org
- spiderfarmer 9y agoThe Tanks demo makes my CPU hurt (15" rMBP, Firefox). Why is WebGL still so heavy on the CPU?
- slackingoff2017 9y agoApple's OpenGl support is crap.
- josh64 9y agoIt works fine on my 2011 15" macbook pro with Firefox 54.0b4. I wonder if it is the high retina resolution thats the problem for you?
- spiderfarmer 9y agoIt might be because the macbook is also driving a 4k display at the same time.
- _pmf_ 9y ago> Why is WebGL still so heavy on the CPU? Well, how else are we supposed to get nice side channel / timing attacks?
- CyberDildonics 9y agoIt takes up about 2 percent of my 7 year old cpu in chrome. It is also compiled from Unity, so was not made from C++ directly.
- pritambaral 9y agoThat would reduce largely the JavaScript runtime size, but not the rendering engine and all the vendored third-party libraries. On my Arch Linux installation, the node.js package takes about 18.45 MiB on disk. While I'd be glad if the various multiple electron runtimes slimmed down by 10-15 MiB, it wouldn't be much.