We're a place where coders share, stay up-to-date and grow their careers.
The memory-efficient way: Pass it to WebAssembly. (Disadvantage: Browsers still don't have <script type="application/wasm"> so it will still need to be routed through JavaScript - but one day, one day...)
<script type="application/wasm">
Wow, that would be cool, I guess. Can you please explain this "web assembly?", is it a replacement for JavaScript?
Not quite yet, but it's slowly ascending. Mozilla explains it decently. Basically, C/C++/Rust/... in your browser - no DOM yet though.
Nice, I'll check it out
The memory-efficient way: Pass it to WebAssembly. (Disadvantage: Browsers still don't have
<script type="application/wasm">
so it will still need to be routed through JavaScript - but one day, one day...)Wow, that would be cool, I guess. Can you please explain this "web assembly?", is it a replacement for JavaScript?
Not quite yet, but it's slowly ascending. Mozilla explains it decently. Basically, C/C++/Rust/... in your browser - no DOM yet though.
Nice, I'll check it out