I was checked my "hello world" "mmorpg poc" application written in NextJS ( react + BE ) memory footprint was 2.5Mb. That is still count as huge. But I think that is quite fine in our memory gobbler times.
Actually you can write any languages to browser compiled to WASM/JS/HTML. By the way if you create any JS/HTML application that is also need for compile to proper JS target, mainly ES5 for compatibility reason.
I think actual browsers is so complex application - with tons of unused API ( surprise ! ), any extra languages will be raise these complexity unnececcary.
constspeak=sentence=>speechSynthesis.speak(newSpeechSynthesisUtterance(sentence));speak('What did you think about browser complexity?');
The good question is:
Why don't able WASM reach these API endpoint and HTML page without any JS code?
I'm 25 y.o. Expert Web/App Design & Development with 7+ years of experience.
Love my π Muffin and banana ice cream. Practice running & yoga in my spare time. πSupport me: https://ko-fi.com/mariamarsh
I was checked my "
hello world" "mmorpg poc" application written in NextJS ( react + BE ) memory footprint was 2.5Mb. That is still count as huge. But I think that is quite fine in our memory gobbler times../server size is: 256kb.
./static (graphic files - maybe few unwanted still left): 1.3Mb
Worst part the node_modules lib: 350 MB.
This way of programming fare more distand from my Z80 assembly game code writtend around 1987 on Videoton TV Computer.
We could use far less code if browsers supported other languages besides JavaScript
Actually you can write any languages to browser compiled to WASM/JS/HTML. By the way if you create any JS/HTML application that is also need for compile to proper JS target, mainly ES5 for compatibility reason.
I think actual browsers is so complex application - with tons of unused API ( surprise ! ), any extra languages will be raise these complexity unnececcary.
The good question is:
Why don't able WASM reach these API endpoint and HTML page without any JS code?
Thanks for sharing π