Our great sponsors
|25 days ago||5 days ago|
|Apache License 2.0||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.
Library for Simple Image Processing (resizing)
2 projects | /r/rust | 14 Jul 2021
Hi, I want to make a small image server that can return an image resized to arbitrary dimensions from a source. I could just use something like this: https://github.com/nlfiedler/magick-rust (ImageMagick bindings) but I'm curious if there is a way to do it with pure rust. Thanks!
manipulating jpeg files
3 projects | /r/rust | 20 May 2021
10~17x faster than what? A performance analysis of Intel x86-SIMD-sort (AVX-512)
5 projects | news.ycombinator.com | 10 Jun 2023
If you look at the history of the author's own sorting implementation (ipnsort), it started as an attempt to port fluxsort to Rust:
It starts there, eventually the author abandons the linked PR because of a better approach found with ipnsort:
Iterating on Testing in Rust
2 projects | /r/rust | 9 Jun 2023
And if procedural macros can have state, then you don't need RFC for `distributed_slice`, there is old bug about this https://github.com/rust-lang/rust/issues/44034
Why is Iterator::find implemented the way it is?
Long before my PR, there was issue #46477, "Instantiate fewer copies of a closure inside a generic function." The Polymorphization WG was started up from that, but I don't know their current status.
The second is the use of fn check. This is much more esoteric and is primarily about controlling compile times and generated code size, due to shortcomings in the current monomorphization implementation. Basically, when you use a lambda (as would be expected), you end up with a lot of necessary generic parameters that result in a lot of extra versions of that function body being compiled. fn check, being an item, doesn't retain any generic context from its surrounding scope, so it only has to be compiled once for each it encounters. The relevant PR is here and it links out to plenty of discussions describing the problem and why it was solved this way.
Rust criticism from a Rustacean
4 projects | /r/rust | 8 Jun 2023
The major one on PC are macOS, Windows and Linux. On Windows I suppose rust std lib already don't use libc for the most cases: https://github.com/rust-lang/rust/issues/20861 , Linux has stable syscall abi. So only macOS require to use libc.
fe: A tiny, embeddable language implemented in ANSI C
12 projects | news.ycombinator.com | 8 Jun 2023
Hi r/Tucson! So, uh, I bought tucson.social and tucson.chat with hopes that we can build our own gathering places. What would you like?
2 projects | /r/Tucson | 7 Jun 2023
Are there things OOP Languages can do bust Rust can't do when it comes to GameDev
2 projects | /r/rust | 6 Jun 2023
IMO the biggest problem is that Rust is pretty lacking in the ability to dynamic link to code (which isn't a feature of OOP in general! It just so happen that many OOP languages also have this feature), which translates in a poor ability to write plugin systems and hot-reload code. This is not an intrinsic limitation of Rust the language though, just the tooling around it, and there is work in progress to mitigate the issue.
Counterexamples in Type Systems: programs that crash, segfault or explode (2021)
2 projects | news.ycombinator.com | 6 Jun 2023
I came across this issue in Rust recently: https://github.com/rust-lang/rust/issues/57893. I thought it was interesting since it lets you easily write transmute in safe Rust: https://zyedidia.github.io/blog/posts/5-safe-transmute/.
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 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
imageproc (PistonDevelopers) - Image processing operations
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python