A very rusty development environment
Reddit » The Rust Programming Language
by /u/RylanStylin57
11m ago
I'm using Ubuntu (now with Rust in the kernel) as my OS. For text editing I'm using Zellij for screen management, Helix for editing, and Alacritty for terminal emulator, which are all written in Rust! And for my browser Firefox, which is a very rusty browser indeed ;] We're doing it lads. The day of memory safety is upon us. ​ heres some rocket emojis since they are required for this sub :rocket::rocket::rocket: submitted by /u/RylanStylin57 [visit reddit] [comments ..read more
Visit website
Announcing CRUSTDE - Containerized Rust Development Environment
Reddit » The Rust Programming Language
by /u/bestia_dev
11m ago
submitted by /u/bestia_dev [visit reddit] [comments ..read more
Visit website
Used Rust to build an engine + online game on my own
Reddit » The Rust Programming Language
by /u/CyberSoulWriter
2h ago
submitted by /u/CyberSoulWriter [visit reddit] [comments ..read more
Visit website
Migrate C++ to Rust
Reddit » The Rust Programming Language
by /u/Loud_Bench3408
2h ago
Hello, I have to undergo a migration from C++ (built with Cmake) to Rust and I was wondering what tools, usefull crates, obstacles you encountered, if you went through this kind of situation. The migration will have to change the build system to Cargo and building the C++ as a library via Cmake and use some bindings to call C++ from Rust untill all C++ components are migrated (so like a top-down approach). Thank you! submitted by /u/Loud_Bench3408 [visit reddit] [comments ..read more
Visit website
Axum and Static Site Generation (SSG)
Reddit » The Rust Programming Language
by /u/ventilazer
4h ago
Hello everyone, I am looking to create a stack with the following requirements: Axum backend This backend must be able to generate static HTML pages on request. On subsequent requests this generated HTML must be served instead of generating a new one. Runtime revalidation in case data becomes stale (if it's something like this reddit page and a new post appears, we revalidate the HTML). So far I've spent a day reading about Maud, Sailfish, Handlebars, Horrorshow, Liquid, Askama and so on. In the end, it's probably my skill issue. I could probably "intercept" the response and save it myself ..read more
Visit website
The Embedded Rustacean Issue #16
Reddit » The Rust Programming Language
by /u/apollolabsbin
6h ago
submitted by /u/apollolabsbin [visit reddit] [comments ..read more
Visit website
Go-like Error Wrapping
Reddit » The Rust Programming Language
by /u/One_Nebula2034
7h ago
Hey there! I've come to Rust from Golang and ran into a problem with error wrapping. In Go, since 1.13, we have error wrapping which allows us to write something like this: var ( ErrUser = errors.New("user") ErrInternal = errors.New("internal") ) func main() { if err := a(); err != nil { if errors.Is(err, ErrUser) { fmt.Println("it's a user error") } if errors.Is(err, ErrInternal) { fmt.Println("it's an internal error") } } } func a() error { if err := b(); err != nil { return fmt.Errorf("custom error: %w", err) } return nil } func b() error { if err := c(); err != nil { return errors.Join(e ..read more
Visit website
Could this enable higher level dynamic linking in Rust?
Reddit » The Rust Programming Language
by /u/Holobrine
7h ago
I’ve heard that Rust doesn’t do dynamic linking that well due to ABI reasons. Could WASM components change this? Could it be possible to dynamically link a WASM component? submitted by /u/Holobrine [visit reddit] [comments ..read more
Visit website
Programming ESP32 with Rust: OTA firmware update
Reddit » The Rust Programming Language
by /u/bachkhois
9h ago
submitted by /u/bachkhois [visit reddit] [comments ..read more
Visit website
Is there any website that has all the time complexity and space complexity information on Rust's containers and iterator methods?
Reddit » The Rust Programming Language
by /u/mrJ16N
11h ago
Hey there! I’ve been perusing the official Rust documentation on iterators and noticed it’s missing information on asymptotic complexity. For instance, the .next() method will take constant time operation. I also found only a handful of methods in the collection documentation have their asymptotic complexities detailed. Is there a comprehensive resource available that documents the asymptotic complexities for everything from iterators to containers? submitted by /u/mrJ16N [visit reddit] [comments ..read more
Visit website

Follow Reddit » The Rust Programming Language on FeedSpot

Continue with Google
Continue with Apple
OR