Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
byte33067yTry Rust instead. It should get the wasm option in the stable version soon.
It has one in in the nightly
And bonus, no seg fault. -
@saintograph I haven't tried it. Just do it for fun. At the most, your browser may crash (pretty unlikely IMO)
-
@saintograph on second thought, I think your browser's console will just show "segmentation fault"
-
@byte Dammit, I just started with Go about a month ago.
I chose it over Rust due to availability of learning resources. -
byte33067y@saintograph I love Go but Rust just lured me away
Go's idioms make it easy to start making things and pick up the language with proper checks in place
And the concurrency is handled brilliantly.
While, Rust has the steep learning curve but makes it worth while by providing enough checks that make it difficult to make mistakes -
@byte That settles it, I'll learn both! 😓
From what I gather after reading available docs on MDN, WebAssembly acts as a compiler of sorts. Anyone who can code a low level language can jump in right away. -
byte33067yFor WebAssembly is language agnostic, it can be built from many languages with proper compiler.
I suggested Rust as it is getting the wasm support in it's build tools directly
Other languages also have official or unofficial compliers available -
Just imagine the fragmentation (even greater than it is with JS) when wasm goes mainstream.
C in the browser with WebAssembly, ~woo!!
rant