Perhaps Rust needs "defer"
The author argues Rust needs a 'defer' keyword for safe resource cleanup, using a detailed FFI memory management example to illustrate the pain points.
The author argues Rust needs a 'defer' keyword for safe resource cleanup, using a detailed FFI memory management example to illustrate the pain points.
A guide to understanding and using the cargo.toml file, the central configuration file for managing Rust projects and dependencies with Cargo.
A developer shares key insights and practical lessons from a successful, incremental rewrite of a C++ codebase to Rust.
A technical tip on using AWK to count lines of Rust source code while excluding test modules, focusing on practical command-line solutions.
A comprehensive guide to using Rust's built-in collection types, including vectors, arrays, hashmaps, and sets, with performance tips and examples.
Compares Rust and Python using a 'build vs. wash' analogy, arguing Rust's upfront effort yields long-term maintenance and performance benefits.
Optimizing Mandelbrot set calculations using SIMD instructions in Rust for faster single-core performance and reduced computational costs.
Developer announces vdirsyncer2 rewrite is stable, discusses documentation, security audit, and new features like collection protection.
A technique for simplifying interoperability between Rust and C++ by using standard layout classes and matching Rust structs.
A developer shares their technical journey and lessons learned from building an unprofitable MEV (Maximum Extractable Value) crypto bot using Rust for Ethereum.
A comprehensive guide to string handling in Rust, covering types, conversions, operations, and performance best practices.
An introductory guide to Rust, covering its key features like memory safety, ownership, and setup for developers new to the language.
A retrospective analysis of the Rust-for-Linux project's progress, challenges, and developer burnout, two years after its initial proposal.
A developer details building a Lisp-to-JavaScript compiler in Rust, covering parsing, AST generation, and code transformation.
A DevOps engineer reflects on leaving Twitter/X for the Fediverse, discussing platform changes, tech community dynamics, and personal tech projects.
A guide to successfully rewriting a legacy C++ codebase incrementally, focusing on safety and maintainability, with a case study on introducing Rust.
A tutorial on creating a Rust library and consuming it from a .NET application using C# and FFI (Foreign Function Interface).
A tutorial on reading CSV data, deserializing it into Rust structs, and displaying it as a formatted table in the terminal using crates like csv, serde, and ratatui.
A developer compares memory management, standard libraries, and explicit allocation in Zig, Rust, Go, and C from a systems programming perspective.
Analysis of Rust-based JavaScript linters like Biome and Oxc, highlighting their speed advantage but critical lack of custom rule support.