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
-
Voxera113887yIt was first supported by c and c++ season since it evolved from emscriptem which is a project for cross-compiling c and c++ into javascript.
This was done towards a subset of js that browsers could optimize very well and Mozilla specifically created asm.js which improved this optimization.
From this webassembly was born.
But already many more high level languages are beginning to be supported.
https://stackoverflow.com/a/... -
Check out CUDA machine learning programs. They r big and they use C. On the other hand, you can use js to do everything. From server to bitcoin mining, everything...
-
@irene I use react for front-end web, express for server, react native for mobile app. Can't think anything else. :D
-
@sunfishcc the world doesn't end with mobile and web does it? You can't make an OS with JS for example. Or a AAA video game. All languages exist for a reason after all.
-
@eternallyAlone we have built apps with React native js to control raspberry pi to print labels and monitoring room temperature. Anything is possible :D
-
Voxera113887y@sunfishcc but react does not exclude webassembly as they can live side by side and react can call methods in the wasm.
Also its quite possible that react could be server side compiled into wasm.
Much of the magic in react is in the way state dictates everything and that could possibly be written in any language.
So at the beginning there was assembly.
But people wanted something more highlevel, so C was born.
But writing big projects was a pain so C++ was invented.
But then the web started to become more popular and C++ wasn‘t really good at that, so Rasmus Lerdorf created PHP.
And then everything moved to the client and should be loaded dynamically for better UX, so everyone writes JS.
But JS doesn‘t have a good performance, so people created web assembly compiled from C...
Am i the only one who sees the irony in this?
rant
javascript
did i write a bible?