正在加载视频...

视频加载失败

240,076 次观看 • 2 个月前 •via X (Twitter)

30 条评论

Greg Schier 👨🏼‍💻🇨🇦 的头像
Greg Schier 👨🏼‍💻🇨🇦2 个月前

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

Joshua J. Bouw 🇦🇪 的头像
Joshua J. Bouw 🇦🇪2 个月前

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

Rich Smith 的头像
Rich Smith2 个月前

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

Greg Schier 👨🏼‍💻🇨🇦 的头像
Greg Schier 👨🏼‍💻🇨🇦2 个月前

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

Pipe42 - CEO of htmx 的头像
Pipe42 - CEO of htmx2 个月前

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

Greg Schier 👨🏼‍💻🇨🇦 的头像
Greg Schier 👨🏼‍💻🇨🇦2 个月前

@RichJDSmith You need wasm to run SQLite in the browser

Max Kupriianov 的头像
Max Kupriianov2 个月前

how do you relay packets? websocket?

Greg Schier 👨🏼‍💻🇨🇦 的头像
Greg Schier 👨🏼‍💻🇨🇦2 个月前

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

Matt Thompson 的头像
Matt Thompson2 个月前

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

Szymon Kulec 的头像
Szymon Kulec2 个月前

A SERver in a browSER. Browver?

Agent007 的头像
Agent0072 个月前

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

KitaSan 的头像
KitaSan2 个月前

Sorry for the crappy WASM.

Tiago Sá 的头像
Tiago Sá2 个月前

👏👏👏

Ogun 的头像
Ogun2 个月前

Is this a Postman alternative?

rusa 的头像
rusa2 个月前

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 的头像
Han2 个月前

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

doroved 的头像
doroved2 个月前

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 👨🏼‍💻🇨🇦 的头像
Greg Schier 👨🏼‍💻🇨🇦2 个月前

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 的头像
Drew Evangelista2 个月前

What’s some real world useful use cases. Genuinely interested

Greg Schier 👨🏼‍💻🇨🇦 的头像
Greg Schier 👨🏼‍💻🇨🇦2 个月前

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

Greg Schier 👨🏼‍💻🇨🇦 的头像
Greg Schier 👨🏼‍💻🇨🇦2 个月前

Honestly not terribly sure but it's something people have requested for a while and it forced some large architectural changes I've been wanting to do for a while

𝕭𝖑𝖆𝖈𝖐𝕸𝖔𝖔𝖓 🌘 的头像
𝕭𝖑𝖆𝖈𝖐𝕸𝖔𝖔𝖓 🌘2 个月前

Amazing job !

Ifsin 的头像
Ifsin2 个月前

I know you just want to open yaak in Dia

Rohith Gilla 的头像
Rohith Gilla2 个月前

Wow 😮

Mustafa Elsayed 的头像
Mustafa Elsayed2 个月前

How is that 😍?

alaa 的头像
alaa2 个月前

wen nats :(

Roenel 的头像
Roenel2 个月前

Sweet!

DividendenDieter 的头像
DividendenDieter2 个月前

which "postman" app is that?

Greg Schier 👨🏼‍💻🇨🇦 的头像
Greg Schier 👨🏼‍💻🇨🇦2 个月前

It's

hebbs 的头像
hebbs2 个月前

Ik right!?