min-sized-rust VS dioxus

Compare min-sized-rust vs dioxus and see what are their differences.

min-sized-rust

🦀 How to minimize Rust binary size 📦 https://github.com/johnthagen/min-sized-rust (by johnthagen)

dioxus

Fullstack app framework for web, desktop, and mobile. (by DioxusLabs)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
min-sized-rust dioxus
106 191
9,764 36,254
0.2% 1.2%
4.8 9.7
8 months ago 4 days ago
Rust Rust
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

min-sized-rust

Posts with mentions or reviews of min-sized-rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-01-28.
  • Rust at Scale: An Added Layer of Security for WhatsApp
    7 projects | news.ycombinator.com | 28 Jan 2026
    Who knows what they did, but there are things which can be done: https://github.com/johnthagen/min-sized-rust
  • Rust cross-platform GPUI components
    12 projects | news.ycombinator.com | 27 Oct 2025
    > By default, Rust optimizes for execution speed, compilation speed, and ease of debugging rather than binary size, since for the vast majority of applications this is ideal. But for situations where a developer wants to optimize for binary size instead, Rust provides mechanisms to accomplish this.

    https://github.com/johnthagen/min-sized-rust?tab=readme-ov-f...

  • The IDEs we had 30 years ago ... and we lost
    15 projects | news.ycombinator.com | 18 Oct 2025
  • Garbage Collection for Rust: The Finalizer Frontier
    6 projects | news.ycombinator.com | 15 Oct 2025
    You can get Rust binaries pretty small: https://github.com/johnthagen/min-sized-rust

    But in practice it's more like there's an overhead for "hello world" but it's a fixed overhead. So it's really only a problem where you have lots of binaries, e.g. for coreutils. The solution there is a multi-call binary like Busybox that switches on argv[0].

    C programs often seem small because you don't see the size of their dependencies directly, but they obviously still take up disk space. In some cases they can be shared but actually the amount of disk space this saves is not very big except for things like libc (which Rust dynamically links) and maybe big libraries like Qt, GTK, X11.

  • Ask HN: What are some non-standard ways to reduce the size of executable files?
    1 project | news.ycombinator.com | 12 Jul 2025
  • The Linux Kernel Prepares for Rust 1.77 Upgrade
    9 projects | news.ycombinator.com | 18 Feb 2024
    This is a good guide on building small Rust binaries: https://github.com/johnthagen/min-sized-rust

    This talks about going to extreme lengths on making the smallest Rust binary possible, 400 bytes when it was written, https://darkcoding.net/software/a-very-small-rust-binary-ind...

    The thing is, you lose a lot of nice features when you do this, like panic unwinding, debug symbols, stdlib… for kernel and some embedded development it’s definitely important, but for most use cases, does it matter?

  • Rust wont save us, but its ideas will
    1 project | news.ycombinator.com | 9 Feb 2024
    Oh it was 137, haha. I will link you to this older comment of mine: https://news.ycombinator.com/item?id=29408906

    See also https://github.com/johnthagen/min-sized-rust

  • Making Rust binaries smaller by default
    8 projects | news.ycombinator.com | 23 Jan 2024
    Are you sure? If so then this is awesome news, but I'm a bit confused; the commit in that min-sized-rust repo adding `build-std` to the README was merged in August 2021: https://github.com/johnthagen/min-sized-rust/pull/30

    Are you saying that at that point the feature still hadn't "landed in Rust nightly" until recently? If so then what's the difference between a feature just being available in Rust nightly, vs having "landed"?

  • Was Rust Worth It?
    18 projects | news.ycombinator.com | 25 Oct 2023
    Rust binaries are by default nowhere close to 500MB. If they are not small enough for you, you can try https://github.com/johnthagen/min-sized-rust. By avoiding the formatting machinery and using `panic_immediate_abort` you can get about the size of C binaries.
  • Compiling Rust binaries for Windows 98 SE and more: a journey
    1 project | news.ycombinator.com | 9 Oct 2023
    A useful reference: https://github.com/johnthagen/min-sized-rust

dioxus

Posts with mentions or reviews of dioxus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-01-19.
  • Dioxus – Fullstack app framework for web, desktop, and mobile in Rust
    1 project | news.ycombinator.com | 23 Apr 2026
  • Dioxus Has a Free API: Write React-Style UIs in Rust That Run Everywhere — Web, Desktop, Mobile
    1 project | dev.to | 28 Mar 2026
    The framework is actively developed at dioxuslabs.com with 22,000+ GitHub stars and a growing ecosystem. The component model is stable enough for production use.
  • Velox: A Port of Tauri to Swift by Miguel de Icaza
    8 projects | news.ycombinator.com | 19 Jan 2026
    What's "rust scripting"? I don't see any mention of it in the docs nor dioxus native roadmap and AFAIK https://github.com/DioxusLabs/dioxus/tree/main/packages/inte... is used as the interpreter although I can't for the life of me figure out where the JS engine is actually instantiated.
  • My 2025 Tech Resolutions and My Plan for 2026
    15 projects | dev.to | 15 Jan 2026
    Rewrite Muscurdi - Password Manager in Rust with iced, dioxus and/or tauri ❌ Did not any of those, but I have explored tauri and I am some ideas on some other sideprojects with it. I did a little todo-app in tauri and svelte with a little persistence layer and it is lovely.
  • Dioxus 0.7: User interfaces in Rust that run anywhere
    1 project | news.ycombinator.com | 10 Nov 2025
  • Dioxus v0.7.0
    1 project | news.ycombinator.com | 31 Oct 2025
  • Dioxus 0.7.0
    1 project | news.ycombinator.com | 31 Oct 2025
  • Rust cross-platform GPUI components
    12 projects | news.ycombinator.com | 27 Oct 2025
    > I don't see what advantage this gives

    I believe it may "just" be faster link times. Which may seem minor, but link times can often dominate incremental compile times because it's a slow and (at least historically) serial step which is O(total code size) even if the actual compilation is incremental.

    See mold's linking benchmarks: https://github.com/rui314/mold. It can be the difference between multiple 10s of seconds with traditional linkers vs <2s with newers ones.

    There are few strategies for dealing with these days:

    1. Is just to use a faster multi-threaded linker. On Linux, lld, mold, and wild on Linux are all much faster than the traditional ld/gold (and the latter two another step above lld). On macOS, then new built-in ld64 is pretty good. Not sure what the state is on Windows. Possibly lld is best?

    2. Is dynamic linking as above. This seems to be faster even though the dynamic links need to resolved at runtime. I presume because at least the links wholly within the dynlib don't need to be resolved.

    3. Is tools like Subsecond (https://github.com/DioxusLabs/dioxus/tree/main/packages/subs...) which effectively implement incremental linking by diffing the symbols in object files.

  • Servo v0.0.1 Released
    13 projects | news.ycombinator.com | 20 Oct 2025
    We do have a couple of PoC examples of integrating with the Bevy game engine. Both of these use Dioxus Native, which wraps Blitz with Dioxus (which is a React-like framework but in Rust rather than JavaScript - https://github.com/DioxusLabs/dioxus), but you could do DOM tree creation and event handling manually if you wanted to.

    - This first one includes Bevy inside a window setup by Dioxus Native (using a `` element similar to how you might on the web). Here the event loop is controled by Dioxus Native and the Bevy game is rendered to a texture which is then included in Blitz's scene. https://github.com/DioxusLabs/dioxus/tree/main/examples/10-i...

    - This second one does it the other way around and embeds a Dioxus Native document inside a window setup by Bevy. Here the event loop is controlled by Bevy and the Blitz document is rendered to a texture with which Bevy can then do whatever it likes (generally you might just render it on top of the games, but someone tried mapping it into 3d space https://github.com/rectalogic/bevy_blitz) https://github.com/DioxusLabs/dioxus/tree/main/examples/10-i...

    The latter is probably what I would recommended for game UI.

    Both approaches probably need more work (and Blitz could do with more complete event handling support) before I would consider them "production ready".

  • BLoC (Business Logic Component) in Rust
    1 project | dev.to | 3 Oct 2025
    Also this might be especially useful in UIs built with Dioxus or Tauri, where changes are expected to trigger immediate reactions across the system.

What are some alternatives?

When comparing min-sized-rust and dioxus you can also consider the following projects:

smartstring - Compact inlined strings for Rust.

leptos - Build fast web applications with Rust.

openQA - openQA web-frontend, scheduler and tools.

Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond

c2rust - Migrate C code to Rust

tauri - Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Rust is
the 3rd most popular programming language
based on number of references?