Co-author of https://wasmgroundup.com — learn Wasm by building a simple compiler in JavaScript.
Prev: CDG/HARC, Google, BumpTop
It's the book we wish we'd had 3 years ago.
No messing with tools and frameworks. It's a hands-on guide to the core of Wasm: the instruction set and module format.
Link below. 👇
If you bought it in early access, thanks for your support! 🙏
If you haven't bought it yet, please check it out!!
A WebAssembly interpreter (Part 1)
→ wasmgroundup.com/blog/wasm-vm...
We build up a simple interpreter from scratch, in JavaScript, for a small subset of Wasm instructions (arithmetic and comparison).
→ github.com/pdubroy/til/...
→ github.com/pdubroy/til/...
"My First Fifteen Compilers" by Lindsey Kuper
blog.sigplan.org/2019/07/09/m...
"My First Fifteen Compilers" by Lindsey Kuper
blog.sigplan.org/2019/07/09/m...
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"
Authors Patrick @dubroy.com and @marianoguerra.org think it's crucial for learning. They join #WasmAssembly host Thomas Steiner to discuss their ebook, "WebAssembly from the Ground Up" → goo.gle/3Ln67Pp
Authors Patrick @dubroy.com and @marianoguerra.org think it's crucial for learning. They join #WasmAssembly host Thomas Steiner to discuss their ebook, "WebAssembly from the Ground Up" → goo.gle/3Ln67Pp
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...
Bytecode VMs in surprising places
→ dubroy.com/blog/bytecod...
If you are interested in a hands-on way to learn #wasm, check out the book that @marianoguerra.org and I wrote together!
It's the book we wish we'd had 3 years ago.
No messing with tools and frameworks. It's a hands-on guide to the core of Wasm: the instruction set and module format.
Link below. 👇
If you are interested in a hands-on way to learn #wasm, check out the book that @marianoguerra.org and I wrote together!
Bytecode VMs in surprising places
→ dubroy.com/blog/bytecod...
Bytecode VMs in surprising places
→ dubroy.com/blog/bytecod...
We (@dubroy.com and @marianoguerra.org) are planning to be there. Patrick tomorrow, and both of us on Thursday for the Research Day.
If you see us, come say hi!
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.
It's a clever solution with some nice properties, but…also kind of weird? Hidden state, and generally kind of hard to reason about and explain.
It's a clever solution with some nice properties, but…also kind of weird? Hidden state, and generally kind of hard to reason about and explain.
• JSX for React (then later other toolkits)
• Swift 5.1 added a bunch features for SwiftUI: www.swiftbysundell.com/articles/the...
• Kotlin's Composable functions: medium.com/androiddevel...
• JSX for React (then later other toolkits)
• Swift 5.1 added a bunch features for SwiftUI: www.swiftbysundell.com/articles/the...
• Kotlin's Composable functions: medium.com/androiddevel...
You can watch it here, or find it wherever fine podcasts are sold.
#WebAssembly from the Ground Up with @dubroy.com and @marianoguerra.org. Learn how they're teaching #Wasm by building a compiler in JavaScript and why writing Wasm by hand is crucial!
🍿 www.youtube.com/watch?v=dRdD...
🎧 wasmassembly.libsyn.com/webassembly-...
You can watch it here, or find it wherever fine podcasts are sold.
#WebAssembly from the Ground Up with @dubroy.com and @marianoguerra.org. Learn how they're teaching #Wasm by building a compiler in JavaScript and why writing Wasm by hand is crucial!
🍿 www.youtube.com/watch?v=dRdD...
🎧 wasmassembly.libsyn.com/webassembly-...
#WebAssembly from the Ground Up with @dubroy.com and @marianoguerra.org. Learn how they're teaching #Wasm by building a compiler in JavaScript and why writing Wasm by hand is crucial!
🍿 www.youtube.com/watch?v=dRdD...
🎧 wasmassembly.libsyn.com/webassembly-...
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.
Like @solidjs.com, but for arbitrary JSON output…does this exist already??
Like @solidjs.com, but for arbitrary JSON output…does this exist already??
In the first lecture, I explain what's a tiny system, why write one and show plenty of demos!
🎞️ Playlist: www.youtube.com/playlist?lis...
👉 More info: d3s.mff.cuni.cz/teaching/npr...
In the first lecture, I explain what's a tiny system, why write one and show plenty of demos!
🎞️ Playlist: www.youtube.com/playlist?lis...
👉 More info: d3s.mff.cuni.cz/teaching/npr...