Tag: Rust
All the articles with the tag "Rust".
-
Embedding Static Assets in Rust: Achieving Single Binary Distribution
Published date:Achieve single binary distribution of your application
-
Optimizing Compilation Speed and Disk Usage in Rust Development
Published date:Rust development tips
-
Advanced Rust AI (Part 1): Converting PyTorch Models to Rust Candle
Published date:A guide on converting PyTorch models to Rust Candle models
-
Rust Macro Programming: Learning Rust Declarative Macros from Scratch
Published date:How to use declarative macros
-
Rust Once Had GC, and the Syntax That Was Removed
Published date:In early versions of Rust, there were two main pointer types: Managed Box and Owned Box.
-
Protecting Your API: Quick Start with Rate Limiting in the Rust Axum Framework
Published date:Rate limiting is a critical measure to protect systems from overload, especially when dealing with sudden traffic or malicious attacks. The Leaky Bucket and Token Bucket algorithms are two commonly used rate limiting strategies, each with its own characteristics and application scenarios. GCRA (Generic Cell Rate Algorithm) is an optimized version of the Leaky Bucket algorithm.
-
How to Implement Middleware in the Axum Framework
Published date:One of the unique aspects of axum is that it does not have its own custom middleware system but instead integrates with tower. This means that the tower ecosystem and tower-http middleware work seamlessly with axum.
-
How to Implement a CNN Neural Network with Rust?
Published date:How to implement the MobileNetV2 neural network using Rust and the Candle framework, including the construction of the model structure and the implementation of the forward pass.
-
Rust FFI Programming - Binding a C Library in Rust
Published date:How to use Rust to bind a C library, using pdfio as an example, detailing the entire process from installing the C library, generating binding code, to encapsulation and testing.
-
Rust Community Launches Standard Library Verification Competition to Ensure Memory Safety
Published date:The Rust community has initiated a standard library verification competition with the primary goal of leveraging the collective power of the community to thoroughly verify the safety of the Rust standard library.