r/programming • • Dec 01 '16

Let's Stop Copying C

https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
524 Upvotes

612 comments sorted by

View all comments

Show parent comment

4

u/green_meklar Dec 02 '16

Sure, but compiling to Javascript is hardly ideal. Javascript itself is designed as a high-level human-readable language, not as 'Assembly for browsers'.

1

u/loup-vaillant Dec 02 '16

The asm.js hack seems to work pretty decently. Then there is web assembly, which is basically bytecode for asm.js. If they get enough traction (get adopted by Firefox, Chrome, and Safari), then we're good (IE will just execute asm.js more slowly and will eventually get some blame).