Rust Alternatives
-
rfcs
RFCs for changes to Rust
-
rustlings
:crab: Small exercises to get you used to reading and writing Rust code!
-
rust-blog
Educational blog posts for Rust beginners
-
ruffle
A Flash Player emulator written in Rust
-
rust-analyzer
An experimental Rust compiler front-end for IDEs
-
json
Strongly typed JSON library for Rust
-
prost
PROST! a Protocol Buffers implementation for the Rust Language
-
librope
UTF-8 rope library for C
-
fast-float-rust
Super-fast float parser in Rust
-
cntrlr
Simple, async embedded Rust
-
alacritty
A cross-platform, OpenGL terminal emulator.
-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
-
wasmer
🚀 The leading WebAssembly Runtime supporting WASI and Emscripten
-
zig
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
-
cargo
The Rust package manager
-
rust-clippy
A bunch of lints to catch common mistakes and improve your Rust code
-
gitui
Blazing 💥 fast terminal-ui for git written in rust 🦀
-
async-std
Async version of the Rust standard library
-
ggez
Rust library to create a Good Game Easily
-
langs
Posts
-
can't build anything, permission denied
Maybe there already is a file named libanyhow-*-.rlib, and rust for some reason can't overwrite it? If you can delete it manually, that could solve the problem... If that's not the case though, I think your best bet would be to open an issue on rust-lang/rust
What is your Windows version ? I hope the issue is not related to https://github.com/rust-lang/rust/issues/81051, which is Windows 7 only.
-
Rust is a hard way to make a web API
I'm not vehemently against unsafe; I'm averse to it. I use it when I have to, but I don't like using it. I trust the stdlib's use of unsafe much more than any random library author, or even myself. The stdlib developers tend to have a pretty complete understanding of UB compared to the average Rust developer, and even the stdlib itself has had memory bugs around internal unsafe use.
-
Learning Rust is confusing?
If you prefer to start by coding, that should be very easy with Rust once you have the fundamentals. It has some of the best compiler errors, and there are issues open to make them even better for newcomers: https://github.com/rust-lang/rust/labels/D-newcomer-roadblock
-
C++ vs Rust performance
The real wildcard here is Specialization. rustc has had specialization related code since at least 2015 -- but the problem is that nobody has managed to finalize a design for sound specialization that can account for every corner case, see RFC.
-
Would Rust secure cURL?
And this is because the type for "an operation which can fail in Rust" is unquestionably Result, which does have this attribute on it. So if your function can fail, it will warn if you don't check it.
-
Is possible to compile the std lib of Rust to WASM?
If you compile to wasm32-unknown-unknown, then your std comes from the library module defined here: https://github.com/rust-lang/rust/blob/master/library/std/src/sys/wasm/mod.rs
-
What is the current way to link with LLD on macOS?
Most of the time is probably spent running dsymutil if you are doing debug builds. You can use the rustc flag -Z run-dsymutil=no to disable it. For me, linking a project takes 3s but running dsymutil takes almost a minute. Hopefully it will be stabilized soon (https://github.com/rust-lang/rust/pull/79570).
-
Can't infer lifetime in simple convenience closure?
I think this is an interaction of how lifetime elision interacts with closures (in that it behaves differently than you might think). So I think basically when you specify a closure's argument type with a lifetime elided, like you have for `rest` in your code:
-
Type conversion in Rust (as, From, and Into)
Because the From method is extending a trait it has to be written in a very specific way for it to work. If I changed the line fn from(num: u32) to fn from(num: f32) it wouldn't work. The source code for the From trait can be found on the Rust Github repo.
-
Is this a type inference bug? (Closures)
That's amateur hour, my friend. Read and weep.
-
Const Generics now documented in nightly Reference
For more information, look at the tracking issue. There's still plenty of ICEs (Internal Compiler Errors, aka the compiler itself crashed when it saw your code)
Then, yes, but it appears to be an error
-
API Design: Understanding the rationale behind parameter positions in splitn vs replacen
I'm not tied in to the Rust development process but I think it may have just been an oversight that nobody caught replacen during the feedback stage. It was a fairly ad-hoc PR with not a lot of comments.
-
What's the most idiomatic way to take an iterator as an argument in rust?
See: https://github.com/rust-lang/rust/issues/44721
Stats
rust-lang/rust is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.