
Desktop Apps Teach You More About a Language Than Web Apps Can — Part 2: Rust, FFI, and Concurrency
Cross the unmanaged border: Rust ownership, safety, FFI memory freeing traps, thread bounds, and resolving UI thread deadlocks inside Glance PDF.

Cross the unmanaged border: Rust ownership, safety, FFI memory freeing traps, thread bounds, and resolving UI thread deadlocks inside Glance PDF.

In web development, memory is a request-scoped abstraction. On the desktop, state lives forever. Let's dive into .NET memory internals (Stack, Heap, LOH, and Pinning) through the lens of Glance PDF.

Learn how to build a self-hosted, high-performance facial recognition system in .NET using ONNX Runtime and the ArcFace model. We cover image preprocessing, cosine similarity, and database caching optimizations in production.

Dive deeper into compiler optimization, compilation models, and real-world projects. Learn advanced techniques like error recovery, optimization passes, and the difference between JIT and AoT compilation.

Learn compiler design fundamentals by building an algebraic expression compiler in F#. Understand tokenization, parsing, AST construction, semantic analysis, and code generation.

A from-scratch implementation of Llama 3.2 inference in F#: Grouped Query Attention, RoPE, SwiGLU, KV cache, and a Tiktoken tokenizer — running on .NET 10 with TorchSharp.

SIMD vectorization, zero-allocation backward pass, F# vs C# idioms, Adam optimizer, temperature sampling, and the limits of scalar autograd.

How Andrej Karpathy's single-file GPT works: autograd, the transformer forward pass, and a Python vs F# comparison of every key piece.

An introduction to functional programming patterns using Monads in F# to handle side effects and compose operations elegantly.

Master the most common algorithmic strategies to solve graph problems in LeetCode. Learn how to identify patterns and apply the right approach with real C# implementations.