Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
AleCx042474816dI am slowly clapping at how beautiful this is.WELCOME TO DEVRANT!
Root7305616dWelcome to devRant! Amazing first rant. You will fit in well here. 😊
WASM also sounds horribly designed. Instead of a function returning a value or pointer, it returns the entire bloody heap? What the fuck!
Voxera893516dWasm by it self is literally a form of assembly.
So how well it works with your language depends on the way the compiler is set up.
If you have something that transforms high level constructs to that array format its not so difficulty but as you said, C++ integration seems to favor maximum speed with no qol things that take extra performance.
Here is a thorough breakdown on types and why this is hard.
In c# for example, ms decided to more or less build a full il runtime for wasm so any c# type can be used.
This takes extra memory and is slower than hand optimized c++ but also very much easier and faster than most js code due to better optimization in wasm.
More solutions will probably come but all will probably come at an performance cost.
But read a bit about this, it might help
Fast-Nop3227316dWelcome, and nice first rant!
Btw., the "devrant" tag is only meant for things around devrant.com itself. We're only devs here, so every rant is a "developer rant".
OmerFlame269013dWelcome to devRant! I love your spirit.
Though. WASM is a form of Assembly... Assembly is indeed hard, but that’s why I love it. Though, if you want to make something quick, please don’t write in this... it’s foolish to try.
dUcKtYpEd371412disn't wasm still considered half baked though ? Im excited to eventually see some fully baked c++ web solutions that common joe (me) can get up and running with in a few days.