Better HN
topnewbestaskshowjobs
Log inSign up

thorn132

3 karma · joined Dec 7, 2025 (12mo ago) · 4 submissions

Submissions

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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

comment 11mo ago · link · parent

My iced apps startup much faster than the Qt(Pyside) and Electron apps they replaced, and run faster too. Similarly, memory usage is much lower, and shipping a single 25MB binary to customers is preferable to bundling some multi-GB runtime environment. So in practice I'm glad development focuses more on completing the framework before playing performance metric golf, even if minimizing startup time and memory usage would be nice.

The 'lack' of documentation was only a problem for me when I was doing a cursory comparison of UI frameworks. Once I seriously started learning iced, the resources available, including the community on discord, was plenty to start being productive on making real apps within a week or two (and I had very limited Rust experience before that).

comment 12mo ago · link · parent

This might be what you're looking for: https://docs.rs/vlc-rs/latest/vlc/

There's also PyO3 for using Python libraries from Rust, if no bindings or substitutes are available.