#Studying Java/Spring after several years of JavaScript inspired me this

1 messages ยท Page 1 of 1 (latest)

worn topaz
normal sun
#

Javascript is miserable for me ๐Ÿ˜ญ

I'm struggling to get web workers to play nice with WASM right now, LOL

worn topaz
#

I agree to say that I don't give a damn about JS in the long term...

worn topaz
#

and I thought I could do a good deed today ๐Ÿฅฒ

normal sun
worn gate
#

The only reason I use javascript: we don't have another language native supported in browsers ๐Ÿ˜’

worn gate
normal sun
# ocean remnant what about wasm?

Wasm is a totally different animal, speaking as someone who frequently writen C++ compiled with emscripten. For one, you still need some Javascript to start the WASM module, and, AFAIK, interacting directly with page elements from WASM would need an underlying JS eval call.

#

WASM is very nice for greatly speeding up computationally heavy tasks, though.

worn topaz
#

Yes, we can see the work that this can require between the JS and the modules to orchestrate. Depending on the choices of services dedicated to one or the other this can surely be hell or paradise.

I wonder what shape the web will take in the coming years.

ebon wing
#

and what does this mean

#

walking over mountains is hard

#

walking through jungle is hard

normal sun
abstract prairie
#

Javascript is beyond shit, use typescript

#

by which i mean add little type hint comments everywhere

const pr /*:Promise<void>*/ = new Promise(...);
let index /*:number*/ = 12;

And after 2 months github copilot will learn these wicked ways and start doing it for you

vapid zephyr
abstract prairie
#

I do use jsDoc

#

I like how much vs 2022 helps with documentation

#

it would take me literal years to write @param this many times