5 ms·
I'm not your intended audience but I've had a play with the web preview and I really like it! Is it using WASM for that?
by quibono 1y ago
I'm not your intended audience but I've had a play with the web preview and I really like it! Is it using WASM for that?
- piker 1y agoThanks a ton. Yes it's WASM. Check out the desktop build! :) It's free unless you want to use it in your practice. [NOTE: Windows build phones home for updates; others don't yet.]
- quibono 1y agoThank you, just downloaded the binary :) As a +1 data point it's performing really well on my machine (although I don't think the dark theme toggle works). Like I said, not the target audience but wishing you good luck with the product! Do you mind sharing the stack you used to build it?
- piker 1y agoNot at all. It's Rust using egui for the UI framework with custom text layout and shaping. It uses PDFium for rendering PDFs.
- mixmastamyk 1y agoIt’s neat but I’m wondering why the immediate mode gui for a word processor?
- piker 1y agoIt's a great question and primarily for the snappiness, but in the end there isn't much difference since the heavy stuff (shaping, layout, rasterizing, etc.) is cached anyway. It's inspired by Zed which also has an obsessive (disciplining) focus on FPS. Technically, using immediate mode avoids a ton of callbacks/listeners or something else which allows for hundreds of docs to be held in memory usefully without hogging resources. That's an actual use case for this.