61404 - 1mo
WebAssembly (WASM) is a subset of JavaScript to which compiled languages can target. An increasing number of libraries and programs are available this way. For example, there’s an ffmpeg port that lets you transcode video in a WebWorker using WASM.
mleku™️ @mleku - 1mo
yes, i am quite aware of #WASM... it is very popular as a runtime for shitcoin "smart" contracts (ie database scripts) it has all the limitations of #javascript, and has to conform to javascript namespaces so the compiling language has to have bindings to the namespace of the javascript environment that spawns it if i'm lucky, i may spend the next 10 weeks or so building a full SDK for a shitcoin WASM runtime that compiles from #golang i think that it's easier to write correct code in a simpler language and rust is more complex that C++, which is more complex than javascript, and what is the biggest cause of hax in shitcoin land? yes. poorly coded access control in smart contracts i figure if i get them to build them an SDK in go then they are kinda obliged to try and get people to use it and maybe save some poor bastards some money at some point in the future