Blog
Swiss precision needs a language like Rust for the future.
Filter by topic
Showing 6 of 58 articles • Page 1 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.
Episode 0: Why Code LLMs From Scratch
Understanding how LLMs work without a PhD in mathematics: what this series promises, what you will learn, and the one idea that ties every episode together.
Episode 1: Attention Is Just 4 Mathematical Operations
Behind Transformers and the attention mechanism there are only four simple operations: matrix multiplication, transposition, scaling and softmax. Here they are, in Rust.
Episode 2: Q, K, V — Why 3 Matrices Instead of One?
Query, Key, Value: why real models project each word into three different spaces, and what that separation of roles changes for attention.
What is `clamp` in Rust, and when should you use it?
What clamp does, why it panics on a swapped min and max, and how it differs from the saturating arithmetic it gets confused with.
What is &mut *x (reborrow) in Rust, and why does it freeze the original reference?
A reborrow duplicates the reference, not the data, and freezes the original for its duration. What &mut *x really does.
Instruction-Level Optimization: #[inline(always)]
Strategic application of Rust's #[inline(always)] attribute for instruction-level optimization, covering effective usage patterns and risks of overuse