Words count in article:
2.9k
|Reading time ≈
10 mins.
An end-to-end walkthrough of on-device multimodal inference with SmolVLM and llama.cpp, covering vision encoding, Pixel Shuffle, GGUF, prompt assembly, prefill, KV cache, and autoregressive decoding.
Words count in article:
4.2k
|Reading time ≈
15 mins.
A deep dive into Apple's iOS continuous corners, curvature continuity, superellipse and Euler spiral hypotheses, and the Bezier-based implementation behind ContinuousCornerKit.
Words count in article:
3.4k
|Reading time ≈
12 mins.
A source-level explanation of C++ exception handling through libc++abi, libunwind, Itanium ABI, __cxa_throw, stack unwinding, personality functions, RTTI matching, and -fno-exceptions.
Words count in article:
2.2k
|Reading time ≈
8 mins.
Building a streaming rich text renderer for LLM responses on iOS, including incremental parsing, YYText masking, HTML, LaTeX, interruption, TTS, and performance.
Words count in article:
5.2k
|Reading time ≈
19 mins.
How to build a native cross-platform Markdown renderer for iOS and Android with a C++ core, layout engine, Atom/Box tree, TextLayout, Graphics2D, image loading, and platform adapters.
Words count in article:
2.5k
|Reading time ≈
9 mins.
A practical implementation of Chinese TTS for LaTeX formulas, based on Atom tree traversal, speech-text generation rules, MathJax comparison, and math and chemistry pronunciation cases.
Words count in article:
2.3k
|Reading time ≈
8 mins.
A deep dive into hooking Objective-C blocks on iOS with TrampolineHook, covering executable trampoline pages, vm_remap, the Block ABI, arm64 and x86_64 dispatch, and stack alignment.
Words count in article:
3k
|Reading time ≈
11 mins.
A practical investigation of priority inversion on iOS, covering QoS, pthread read-write locks, turnstiles, priority inheritance, and dispatch semaphores.
Words count in article:
1.6k
|Reading time ≈
6 mins.
What can go wrong with C++ static initialization and destruction in iOS projects, including translation units, +load timing, local guards, and lifecycle bugs.