Blog
Swiss precision needs a language like Rust for the future.
Filter by topic
Showing 6 of 58 articles • Page 4 of 10
GC Pauses and Latency: The Hidden Cost of High-Level Languages
Java, Python, and JavaScript offer convenience, but garbage collection introduces unpredictable latency. Explore how runtime memory management affects performance in real systems.
C Gives You Control, But at What Cost?
C avoids garbage collection and gives manual memory control, but opens the door to dangerous bugs. Explore real-world memory issues and why they matter.
Rust: Memory Safety Without Garbage Collection
Rust gives you the performance of C with memory safety enforced at compile time. Learn how ownership and borrowing eliminate entire bug classes.
?Sized: writing one function for both sized and unsized types
Understanding the role of ?Sized bounds in Rust trait definitions and leveraging them to create flexible functions that work with both sized and unsized types efficiently
Supertraits: enforcing a hierarchy of behaviours
Leveraging supertraits to establish behavior hierarchies and combining them with where clauses to optimize complex generic algorithms for performance and type safety
Making Traits Object-Safe for Rust's dyn Trait in Plugin Systems
Understanding object safety in Rust and refactoring traits for dynamic dispatch
Trait bounds or dyn Trait? Static and dynamic dispatch compared
Generics with a trait bound compile to static dispatch; dyn Trait compiles to a vtable lookup. What each costs, and how to choose.
Trait Bounds
Using trait bounds in Rust for type safety and performance in mathematical computations
Mutable vs. immutable borrows: the two rules
The two borrowing rules, why exclusivity is the one that matters, and what the borrow checker actually rejects.