Our great sponsors
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- SonarLint - Clean code begins in your IDE with SonarLint
- InfluxDB - Access the most powerful time series database as a service
|almost 2 years ago||2 days ago|
|-||GNU General Public License v3.0 or later|
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.
Hey Rustaceans! Got an easy question? Ask here (29/2021)!
5 projects | reddit.com/r/rust | 20 Jul 2021
I've got this silly toy project and I'm wondering: How can I add to Rocket's mime types such that the aforementioned server can know (for example) that *.foo files are mime type "Foo/Bar"? Hopefully with two lines of code ;-)
Graydon Hoare: Batten Down Fix Later
2 projects | reddit.com/r/rust | 30 May 2023
Re: the ancient attempt at a ranked-choice syntax vote, I think it had to do with the replacement for next. The keyword to go-to-the-next-iteration-of-a-loop was originally next (taken from Perl of all places) and this was criticized as being too common a word that people prefer to have available as a field or variable name rather than a keyword. So I changed it to cont (sticking with the short-keywords theme of the time) and this was criticized as sounding a bit too much like a rude anatomical term. I may be wrong, we did have a handful of totally-silly syntax debates, but one of the reasons I think it might be that is that I eventually "solved" the problem to nobody's preference by reusing loop; as a statement-on-its-own, and .. if you look in the commit logs from mid 2013, the very first syntax change after I left was breaking the short-keyword limit and adding continue. Hilarious. And fits the pattern!
Why is Swift so slow (timeout) in compiling this code?
5 projects | news.ycombinator.com | 30 May 2023
Since Rust 1.67.0, the compiler has a specific optimized code path for the (already older) include_bytes! macro: https://github.com/rust-lang/rust/pull/103812#issuecomment-1...
Rust has been forked to the Crab Language
8 projects | news.ycombinator.com | 30 May 2023
According to github rust has been forked 10,819 times...
Why Learn Compilers
3 projects | news.ycombinator.com | 29 May 2023
The context is
> for each input, there is one and only output
A randomized algorithm which uses non-determinism but produces the same output is OK.
If the algorithm can produce different output causing the same program to compile to different assembly, that's a problem. Unless you can formally prove that every possible variation will have the same behavior, but formal methods + non-determinism is hard, so it usually isn't worth it.
Even random hash order in hashmaps can create problems, see https://github.com/rust-lang/rust/issues/84447 and https://github.com/rust-lang/rust/pull/82272#issuecomment-82...
Recent trend towards more UB (?)
3 projects | reddit.com/r/ProgrammingLanguages | 29 May 2023
Ah! Great example, although technically/retroactively it is a bug and it should require unsafe.3 projects | reddit.com/r/ProgrammingLanguages | 29 May 2023
There are still compiler bugs which can result in undefined behaviour - see this GitHub issue, which is still open, for instance.
Hice un clon de Cookie Clicker en React
7 projects | dev.to | 29 May 2023
Let's thank who have helped us in the Rust Community together!
9 projects | reddit.com/r/rust | 28 May 2023
Here is the first rustdoc commit: https://github.com/rust-lang/rust/commit/fb0896fe7bc0a8a0a37a1bc71ed1befb1905acd79 projects | reddit.com/r/rust | 28 May 2023
Nice! And here's the PR: https://github.com/rust-lang/rust/pull/1360
What are the unique benefits of Rust over C++?
5 projects | reddit.com/r/rust | 28 May 2023
The standard library std::sync::Mutex and friends have leapfrogged parking_lot (a port of WebKit's parking lot) using a mix of vendoring it and providing patches or platform-specific alternatives.
What are some alternatives?
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Elixir - Elixir is a dynamic, functional language designed for building scalable and maintainable applications
Odin - Odin Programming Language
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.
Rustup - The Rust toolchain installer
go - The Go programming language
scala - Scala 2 compiler and standard library. For bugs, see scala/bug
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python