rfc-leadership-council
mimalloc_rust
rfc-leadership-council | mimalloc_rust | |
---|---|---|
2 | 6 | |
6 | 451 | |
- | 4.4% | |
2.7 | 6.2 | |
12 months ago | 15 days ago | |
Markdown | Rust | |
Apache License 2.0 | MIT License |
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.
rfc-leadership-council
-
Rust has been forked to the Crab Language
This fork promises "All of the memory-safe features you love, now with 100% less bureaucracy!" Compelling, until you realise that all the commits are auto-merges of rust-lang/rust's main branch. Which means the same teams doing the same work, under a different name.
Rust is experiencing growing pains because they're still figuring out a governance structure that works for everyone. They want to simultaneously keep the current structure of bottom up development where each team (compiler, lang, crates.io, cargo) has the autonomy to make decisions for themselves, but the project as a whole can speak can come to a consensus and speak with a single voice. That's what this RFC tries to capture (https://github.com/rust-lang/rfc-leadership-council/blob/mai...). But the project isn't there yet, and is making these frustrating missteps in the interim. The lack of transparency into these missteps manifests as "bureaucracy" to outsiders like us.
If Crab lang actually attracted people doing the real work of development, they would have the exact same "bureaucracy" as teams tried to figure out how to build consensus and speak with one voice. The fact that they don't have bureaucracy is a direct consequence of them not doing any work right now. None of the people involved in regular Rust work, as far as I can tell, so they might not be aware of this.
Lastly, I want to note that the top comment in this thread is blaming the Foundation, which is simply bizarre. The Foundation very explicitly tries to stay hands off on technical decisions and does not interfere in how the teams organise themselves. You may disagree with that, but it's an inaccurate characterisation.
-
Hey Rustaceans! Got a question? Ask here (15/2023)!
Read eg. https://github.com/rust-lang/rfc-leadership-council/blob/main/text/3392-leadership-council.md as start
mimalloc_rust
-
Rust std:fs slower than Python
> I wish Rust would switch to mimalloc or the latest tcmalloc (not the one in gperftools).
That's nonsensical. Rust uses the system allocators for compatibility, not because they're good (they were not when Rust switched away from jemalloc, and they aren't now).
If you want to use mimalloc in your rust programs, you can just set it as global allocator, that takes all of three lines: https://github.com/purpleprotocol/mimalloc_rust#usage
-
Hey Rustaceans! Got a question? Ask here (15/2023)!
Context: When using mimalloc as global allocator, linking with crt-static fails with the following error:
-
Tips on scaling a monolithic Rust web server?
Use an optimized memory allocator, my choice is mimalloc. It wins every time I compare it, even against jemalloc (not to mention it supports arena hardening which is good for security).
-
Rust Mimalloc v0.1.30 has just been released!
Version 0.1.19 of the Rust wrapper for the mimalloc memory allocator has just been released!
-
Maintenance status (jemallocator)
I'll mention that mimalloc (+ Rust wrapper) is great alternative to jemalloc.
- Introducing Rust Bindings for the Scudo Hardened Allocator
What are some alternatives?
crab - A community fork of a language named after a plant fungus. All of the memory-safe features you love, now with 100% less bureaucracy!
snmalloc - Message passing based allocator
hashes - Collection of cryptographic hash functions written in pure Rust
rust-scudo
rumqtt - The MQTT ecosystem in rust
jemalloc
rust-playground - The Rust Playground
jemallocator - Rust allocator using jemalloc as a backend
crates.io - The Rust package registry
jemallocator - Rust allocator using jemalloc as a backend
api-guidelines - Rust API guidelines
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!