Sep 7, 2026 · Eugene Ostroukhov · EngineeringOptimizing UchenML inference for a browser tabA browser tab is a constrained place to run a neural net: one thread, 32-bit floats, four-wide SIMD, no GPU. This article goes into the specific optimizations that made running Dots there practical.
Aug 16, 2026 · Eugene Ostroukhov · EngineeringSIMD Softmax, NEON to WASM, with Google HighwayOne Highway kernel source compiles to NEON, AVX2, AVX-512 and WASM SIMD. Softmax as the worked example — tags, tails, and the build flags that quietly hand you a narrower target than you asked for.
Aug 8, 2026 · Eugene Ostroukhov · EngineeringCompiling a C++ Neural Network Into Your Binary: The Model Is constexprUchenML is a C++20 machine learning library where the model is a constexpr variable. Define the model in source code and start training.
Nov 30, 2024 · Eugene Ostroukhov · EngineeringAvoid std::vector::reservestd::vector::reserve usually seems like a sensible optimization. It usually is not...
Jun 20, 2024 · Eugene Ostroukhov · EngineeringOpen Source C++ StackC++ is a beautiful and powerful language, but it does have its sharp edges. This article details open-source projects to reduce the number of cuts.