Hacker News new | past | comments | ask | show | jobs | submit login

It appears to be written in Rust. Why package it as a wasm app inside of electron instead of compiling to native and using wgpu directly?



Presumably because there aren't many mature Rust GUI options at the moment. Egui is pretty good for what it is, but it's "immediate mode" which comes with some restrictions. Slint seems promising but the developer experience was a little rough when I tried it a couple months ago. Not sure the licensing is compatible with this project either.


You can have much better OS level integrations with Electron (e.g. filesystem), also assuming that you want to reuse as much code as possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: