+ 4

What’s A Fast JavaScript Alternative for SoloLearn?

I want to be able to program here on SoloLearn with the interactivity of “web” codes but without the painful speed of JS. I’ve heard of web assembly, and have two questions regarding it: How much faster is web assembly than regular JS? Specifically if I wrote an interpreter in JS versus web assembly. Can I use web assembly on SoloLearn? How is web assembly used outside of SL? Are there any other alternatives to web assembly if I want more speed than regular JS?

12th Oct 2019, 5:21 AM
Jason Stone
Jason Stone - avatar
6 Answers
+ 7
Assembly is much closer to machine level therefore it's way faster. However idk if you can use it on Solo. A web assembly vid: https://youtu.be/5XtA3k07jEQ
12th Oct 2019, 5:49 AM
Haris
Haris - avatar
+ 3
áș ! ᖇ † á’Ș THANKS! This is what I’m looking for. I’ve been inspired by the other answers here to research webassembly and I think I got everything figured out except for actually getting my webassembly into my web code. Wapm.io lets me do this.
13th Oct 2019, 1:11 AM
Jason Stone
Jason Stone - avatar
12th Oct 2019, 7:16 AM
Sonic
Sonic - avatar
0
Haris How is web assembly usually embedded into a website? Google told me there is no <script></script> support for it. Also, can web assembly deal with JSON? I want to be able to manipulate JS objects with it. I imagine that if I’m compiling from C I’ll need a JSON type, similar to int and float and string.
12th Oct 2019, 5:19 PM
Jason Stone
Jason Stone - avatar
0
Utsav Prasad I can’t tell if the codes are relevant or if you’re just advertising. They don’t look like they have anything related to this Q&A discussion. Can you please explain? And is Python’s Django supposed to be faster than JS?
12th Oct 2019, 5:31 PM
Jason Stone
Jason Stone - avatar
0
wow! sololearn is powerful
31st Mar 2022, 9:52 AM
Semakalu Gabriel
Semakalu Gabriel - avatar