Skip navigation
Holy shit WASM ๐Ÿคฏ
0:00 / 0:28

Holy shit WASM ๐Ÿคฏ

240,076 views

Holy shit WASM ๐Ÿคฏ

30 Comments

Comments from the original post on X (Twitter)

  • Greg Schier ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป๐Ÿ‡จ๐Ÿ‡ฆ's profile picture

    @GregorySchier

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

    55 likes

  • Joshua J. Bouw ๐Ÿ‡ฆ๐Ÿ‡ช's profile picture

    @JoshuaJBouw

    wait til he finds out that you can pretty much run Linux in WASM.

    4 likes

  • Rich Smith's profile picture

    @RichJDSmith

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

    3 likes

  • Greg Schier ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป๐Ÿ‡จ๐Ÿ‡ฆ's profile picture

    @GregorySchier

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

    12 likes

  • Pipe42 - CEO of htmx's profile picture

    @Pipe42uk

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

  • Greg Schier ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป๐Ÿ‡จ๐Ÿ‡ฆ's profile picture

    @GregorySchier

    @RichJDSmith You need wasm to run SQLite in the browser

    1 like

  • Max Kupriianov's profile picture

    @its_xlab

    how do you relay packets? websocket?

    1 like

  • Greg Schier ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป๐Ÿ‡จ๐Ÿ‡ฆ's profile picture

    @GregorySchier

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

    11 likes

  • Matt Thompson's profile picture

    @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

  • Szymon Kulec's profile picture

    @Scooletz

    A SERver in a browSER. Browver?

    1 like

  • Agent007's profile picture

    @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

  • KitaSan's profile picture

    @kitasancoin

    Sorry for the crappy WASM.

    1 like

  • Tiago Sรก's profile picture

    @tedmirra

    ๐Ÿ‘๐Ÿ‘๐Ÿ‘

    1 like

  • Ogun's profile picture

    @omt66

    Is this a Postman alternative?

  • rusa's profile picture

    @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.

  • Han's profile picture

    @hanebox

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

  • doroved's profile picture

    @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.

  • Greg Schier ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป๐Ÿ‡จ๐Ÿ‡ฆ's profile picture

    @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.

  • Drew Evangelista's profile picture

    @DrewEvangelista

    Whatโ€™s some real world useful use cases. Genuinely interested

  • Greg Schier ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป๐Ÿ‡จ๐Ÿ‡ฆ's profile picture

    @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