min-sized-rust

🦀 How to minimize Rust binary size 📦 (by johnthagen)

Min-sized-rust Alternatives

Similar projects and alternatives to min-sized-rust

  1. rust

    Empowering everyone to build reliable and efficient software.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. book

    The Rust Programming Language

  4. ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

  5. Cargo

    The Rust package manager

  6. lapce

    Lightning-fast and Powerful Code Editor written in Rust

  7. iced

    A cross-platform GUI library for Rust, inspired by Elm

  8. dioxus

    Fullstack app framework for web, desktop, mobile, and more.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. slint

    Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps.

  11. coreutils

    Cross-platform Rust rewrite of the GNU coreutils

  12. Clippy

    A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

  13. hyper

    An HTTP library for Rust (by hyperium)

  14. gccrs

    GCC Front-End for Rust

  15. regex

    An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

  16. Rust-for-Linux

    Adding support for the Rust language to the Linux kernel. (by Rust-for-Linux)

  17. rustls

    A modern TLS library in Rust

  18. Vrmac

    Vrmac Graphics, a cross-platform graphics library for .NET. Supports 3D, 2D, and accelerated video playback. Works on Windows 10 and Raspberry Pi4.

  19. cargo-geiger

    Detects usage of unsafe Rust in a Rust crate and its dependencies.

  20. live_svelte

    Svelte inside Phoenix LiveView with seamless end-to-end reactivity

  21. embedded-graphics

    A no_std graphics library for embedded applications

  22. smartstring

    Compact inlined strings for Rust.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better min-sized-rust alternative or higher similarity.

min-sized-rust discussion

Log in or Post with

min-sized-rust reviews and mentions

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 2024-02-18.
  • 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
  • How to minimize Rust binary size
    1 project | news.ycombinator.com | 23 Aug 2023
    1 project | news.ycombinator.com | 9 Jul 2023
  • Error on flashing embedded code to stm32f103
    2 projects | /r/rust | 10 Jul 2023
  • Tiny Binaries (2021)
    1 project | news.ycombinator.com | 16 Jun 2023
    That must be without stripping. Also there are ways to reduce binary size. See e.g. [min-sized-rust](https://github.com/johnthagen/min-sized-rust). I've gotten stripped binaries of small cli utils less than 400KiB without doing anything special, less than 150 KiB by customizing profile settings and compressing with upx, and less than 30 KiB by replacing the std with the libc as the link shows. Haven't tried with fltk though...
  • Shared libraries
    2 projects | /r/rust | 30 May 2023
    This is not quite what you're asking, but it does also address the underlying concern: https://github.com/johnthagen/min-sized-rust
  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 Jun 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic min-sized-rust repo stats
101
9,020
4.2
4 days ago

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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