Holy shit WASM ๐คฏ
@GregorySchier7.4K followers
240,076 views
30 Comments
Comments from the original post on X (Twitter)

@GregorySchier
Compiled and running Yaak's entire persistence layer (Rust + SQLite) in the browser
55 likes

@JoshuaJBouw
wait til he finds out that you can pretty much run Linux in WASM.
4 likes

@RichJDSmith
That's super cool! I didn't realize how far WASM had come..
3 likes

@GregorySchier
Really the main thing is running Yaak's SQLite db layer in browser. Super cool that's it's possible now
12 likes

@Pipe42uk
@RichJDSmith wait can't ordinary JS do browser sqlite stuff natively already? I guess WASM would give you more control tho

@GregorySchier
@RichJDSmith You need wasm to run SQLite in the browser
1 like

@its_xlab
how do you relay packets? websocket?
1 like

@GregorySchier
@xlab_os Ya there's a hosted proxy running which everything goes through. Streams progress as it goes.
11 likes

@fuzziphy
JavaScript, react native, webview mobile apps, electron, etc shouldnโt be used anymore for greenfield projects. Rust+trunk and especially crux make cross platform across web, desktop, mobile a much nicer experience
1 like

@Scooletz
A SERver in a browSER. Browver?
1 like

@alienwareagent
WASM is the future of web development. Much faster, more flexible but still needs a lot of work to push it to the limit from low level perspective...
1 like

@kitasancoin
Sorry for the crappy WASM.
1 like

@tedmirra
๐๐๐
1 like

@omt66
Is this a Postman alternative?

@rusabuilds
the moment it clicks is usually seeing a real native codebase, an emulator, a database, ffmpeg, run at near-native speed in a tab with no install. wasm quietly turned the browser into a universal runtime. the demos still feel like magic because the constraint we all internalized just isn't there anymore.

@hanebox
Yepp it's awesome, built a fully local note taking web app yesterday with SQLite WASM

@doroved
As far as I know, in WASM you won't be able to choose any folder on the disk to save files, only the downloads folder from chrome://settings/downloads.

@GregorySchier
I'm just saving in browser storage. Chrome is the only browser with a FS API and I'm pretty sure the user can select whatever folder they want, but I haven't tried yet.

@DrewEvangelista
Whatโs some real world useful use cases. Genuinely interested

@GregorySchier
Quick sharing between coworkers without having to install the app. Also might do api doc hosting, so this would basically integrate right into that
10 likes







