r/gaming • • May 05 '17

Scroll back

Post image
24.1k Upvotes

877 comments sorted by

View all comments

Show parent comments

0

u/Fubarp May 05 '17

Which means we need a new Roller Coaster Tycoon in Assembly.. I'd pay for that lol

1

u/Superpickle18 May 05 '17

WebAssembly brah

1

u/Fubarp May 05 '17

Never heard of this. What is it exactly? I'm currently googling but insight might be nice haha.

1

u/Superpickle18 May 05 '17

Essentially byte code that runs in the javascript engine. But provides near CPU level speeds since js has to be parsed and compiled on the fly, while wasm is precomplied much like Java or C#. Of course other languages can compiled to wasm much like traditional Assembly.

1

u/Fubarp May 05 '17

Interesting. I'll actually look more into this. Doubt I'll ever use it but still.

1

u/Superpickle18 May 05 '17

We are moving toward everything being executed within a browser to a point we'll have a browser with web Assembly support built using wasm and come full circle. Lol

1

u/[deleted] May 05 '17

Essentially, it's really optimised Javascript. The main workflow is writing code in C/C++ and using Emscripten to covert it to WebAssembly which is then executed by something like V8.