Co-author of https://wasmgroundup.com — learn Wasm by building a simple compiler in JavaScript.
Prev: CDG/HARC, Google, BumpTop
devlog: garbage collection is useful
→ dubroy.com/blog/garbage...
Trying something new: quick, technical posts about things I'm working on. Let's see if it sticks.
devlog: garbage collection is useful
→ dubroy.com/blog/garbage...
Trying something new: quick, technical posts about things I'm working on. Let's see if it sticks.
So useful! Surprisingly I haven't seen many TS resources which mention this specific pattern.
So useful! Surprisingly I haven't seen many TS resources which mention this specific pattern.
"Try to avoid unsigned types (except for representing bitfields or modular arithmetic). Do not use an unsigned type merely to assert that a variable is non-negative."
Example of a possible bug: abseil.io/tips/227
(via @wingolog.org)
"Try to avoid unsigned types (except for representing bitfields or modular arithmetic). Do not use an unsigned type merely to assert that a variable is non-negative."
Example of a possible bug: abseil.io/tips/227
(via @wingolog.org)
An Empirical Evaluation of Property-Based Testing in Python
→ dl.acm.org/doi/pdf/10.1...
Some interesting findings:
- "Each property-based test finds about 50x as many mutations as the average unit test"
- "76% of mutations were found within the first 20 inputs"
An Empirical Evaluation of Property-Based Testing in Python
→ dl.acm.org/doi/pdf/10.1...
Some interesting findings:
- "Each property-based test finds about 50x as many mutations as the average unit test"
- "76% of mutations were found within the first 20 inputs"
github.com/microsoft/px...
Also described in a 2019 MPLR paper: www.microsoft.com/en-us/resear...
github.com/microsoft/px...
Also described in a 2019 MPLR paper: www.microsoft.com/en-us/resear...
Dodrio (by Nick Fitzgerald) is an experimental virtual DOM library for Rust and Wasm. It uses bump allocation for the VDOM nodes and uses a stack machine language to represent change lists: github.com/fitzgen/dodrio
Dodrio (by Nick Fitzgerald) is an experimental virtual DOM library for Rust and Wasm. It uses bump allocation for the VDOM nodes and uses a stack machine language to represent change lists: github.com/fitzgen/dodrio
Bytecode VMs in surprising places
→ dubroy.com/blog/bytecod...
Bytecode VMs in surprising places
→ dubroy.com/blog/bytecod...
Take useContext, why do you say this doesn't involve hidden state?
And how is Provider/useContext not dynamic scoping? (Just using the standard trick to emulate dynamic scoping in a lexically-scoped lang, set and restore a long-lived var.)
Take useContext, why do you say this doesn't involve hidden state?
And how is Provider/useContext not dynamic scoping? (Just using the standard trick to emulate dynamic scoping in a lexically-scoped lang, set and restore a long-lived var.)
Covers details basically all the modern paradigms/toolkits: React, SwiftUI, Flutter, Compose, ImGui, etc.
Covers details basically all the modern paradigms/toolkits: React, SwiftUI, Flutter, Compose, ImGui, etc.
React-tRace: A Semantics for Understanding React Hooks
→ dl.acm.org/doi/pdf/10.1...
React-tRace: A Semantics for Understanding React Hooks
→ dl.acm.org/doi/pdf/10.1...
www.forbes.com/sites/emmawo...
www.forbes.com/sites/emmawo...
Would love to see more libraries document their philosophy/approach and "what makes us different" like this.
Would love to see more libraries document their philosophy/approach and "what makes us different" like this.
→ github.com/pdubroy/til/...
Don't miss the getter trick! It's super helpful and not well-documented.
→ github.com/pdubroy/til/...
Don't miss the getter trick! It's super helpful and not well-documented.
dl.acm.org/doi/pdf/10.1...
dl.acm.org/doi/pdf/10.1...
A case for learning GPU programming with a compute-first mindset: themaister.net/blog/2025/10...
A case for learning GPU programming with a compute-first mindset: themaister.net/blog/2025/10...
mise.jdx.dev/tasks/task-c...
mise.jdx.dev/tasks/task-c...
→https://github.com/pdubroy/til/blob/main/js/2025-10-05-WebAssembly-library-initialization-patterns.md
→https://github.com/pdubroy/til/blob/main/js/2025-10-05-WebAssembly-library-initialization-patterns.md