Uploaded December 2024 | Updated September 2026, 2 weeks ago
An internal talk at a team offsite where Divy describes the internals of Deno 2. This is helpful for developers interested in contributing to Deno or simply understand how it works.
Read more at Divy's blog: littledivy.com/deno-2
00:00 Intro
00:32 What is “op”?
01:26 “op2”?
02:43 Types
03:40 Example (basic slow)
05:36 Example (basic fast)
06:38 Example (error)
07:26 Example (permissions)
08:14 Example (state with Resource)
09:38 Example (state with Garbage collection)
10:53 Example (async)
11:40 Example (async lazy)
13:29 Example (events)
15:20 Debugging with —strace-ops
15:59 What’s next
Learn Deno in our new bite-sized tutorial series: deno.co/learn-deno
Website: deno.com
GitHub: github.com/denoland
Discord: discord.gg/deno
Twitter: https:/twitter.com/deno_land
An internal talk at a team offsite where Divy describes the internals of Deno 2. This is helpful for developers interested in contributing to Deno or simply understand how it works.
Read more at Divy's blog: littledivy.com/deno-2
00:00 Intro
00:32 What is “op”?
01:26 “op2”?
02:43 Types
03:40 Example (basic slow)
05:36 Example (basic fast)
06:38 Example (error)
07:26 Example (permissions)
08:14 Example (state with Resource)
09:38 Example (state with Garbage collection)
10:53 Example (async)
11:40 Example (async lazy)
13:29 Example (events)
15:20 Debugging with —strace-ops
15:59 What’s next
Learn Deno in our new bite-sized tutorial series: deno.co/learn-deno
Website: deno.com
GitHub: github.com/denoland
Discord: discord.gg/deno
Twitter: https:/twitter.com/deno_land









![Roll Your Own JavaScript Runtime by Bartek Iwańczuk (NodeCongress 23)
Building off [1] and [2], Bartek adds a `setTimeout` API to a custom JavaScript runtime.
1. https://deno.com/blog/roll-your-own-javascript-runtime
2. https://deno.com/blog/roll-your-own-javascript-runtime-pt2
00:16 Intro from Bartek
00:49 Agenda
01:38 Deno 101
03:39 Deno & Rust
06:58 What our custom runtime can do
08:48 Why custom a runtime?
10:52 Add support for `setTimeout` API
18:05 Conclusion
Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
Website: https://deno.land
GitHub: https://github.com/denoland
Discord: https://discord.com/invite/deno
Twitter: https://twitter.com/deno_land Roll Your Own JavaScript Runtime by Bartek Iwańczuk (NodeCongress 23)](https://i.ytimg.com/vi/xJXQwuTB_7Y/mqdefault.jpg)
