Hacker News new | ask | show | jobs
by thorn132 193 days ago
200-300ms on Windows 11, with ~70MB of idle RAM usage.

> that's not a good baseline to cover the basics

I wasn't suggesting that everyone should join the discord and ask how to write 'Hello World'. There's an official (but WIP) book, unofficial guides, and many examples spanning basic to advanced usage for reference. An active discord is complementary to those. Having more learning resources is important for wide adoption, but that's not the priority in pre-1.0 development.

> startup much faster than the Qt(Pyside) and Electron apps they replaced, and run faster too

I forgot to mention, the iced apps have taken less time to develop more features with fewer bugs (and no segfaults).

1 comments

Strange, checked the latest version of a counter app, same slow startup ~2sec as before and ~70M ram vs a native simple window app that takes 0.2s and 1M.
When I switch to compiling with just the tiny-skia software renderer, the counter app is reduced to a 4MB binary that starts in 60ms (for first paint, 16ms for window creation) and takes 7M of RAM. So if you don't need GPU acceleration that may be more to your liking.
The RAM is from the wgpu buffer. It's not 70 ram for the counter. If you add 10,000 counters, it won't increase the ram.

Doesn't take 2 secs to load here, so maybe switch to a better OS