What is Nostr?
Ludovic Courtès /
npub15te…zz7y
2023-10-11 12:50:10

Ludovic Courtès on Nostr: I wonder: there was JavaScript and people would write compilers that emit JavaScript ...

I wonder: there was JavaScript and people would write compilers that emit JavaScript from some other high-level language.

Now there’s Wasm, which is supposedly a better compiler target, but it took a lot of effort to add GC to Wasm, and even that isn’t fully baked AIUI. Also, IIUC, browsers implement JS mostly separately from Wasm, too.

Weren’t we better off just emitting JS, incidental complexity and all?

(I’m asking this as a newbie, bear with me!)
Author Public Key
npub15teuvnz55q44z0xlq33dh02x7das02u79dxpah6fmaj9c5g70nwsqdzz7y