effection with Charles Lowell | TypeScript Showcase #7

Опубликовано: 16 Февраль 2026
на канале: Michigan TypeScript
2,697
64

Effection gives you some core primitives to write concurrent code. It's got some super well-thought out core primitives that enable you to do some pretty amazing things! In this showcase we'll see lots of code but also talk lots of theory on how all this stuff works. Really hope you enjoy this one! Let us know what you think.

https://github.com/thefrontside/effec...

00:00 in this episode
02:39 what is effection
05:12 concurrency vs parallelism
06:24 what are the guarantees of structed concurrency?
10:28 starting to build up the demo
11:44 shout out to Deno
14:10 effection operations always return
16:03 what yield* does
19:29 inspirations from Rust and Haskell
20:47 on exceptions and error handling
22:48 areas for improvement in TypeScript
24:19 would be nice to have overloaded exception handlers like Java
26:43 building up the demo
34:53 extracting all the complexity
41:37 what it's like to type generics
45:42 testing the types
47:41 runtime testing story
51:27 example: grabbing playwright console messages
53:03 what is a signal?
54:12 how to get things in-and-out of delimited continuations
55:12 any weird edge-cases
57:59 getting "buy-in" from colleagues
1:03:33 comparing/contrasting a promise gotcha
1:09:03 what's the effection equivalent of awaiting a promise?
1:11:39 effection has a very small surface area
1:12:03 API surface area for affection is like 5 functions
1:13:12 using an AbortController
1:14:34 what does the future hold for the effection library?
1:16:33 calculation provenance (!!)
1:18:11 questions for the "State of TypeScript" report
1:20:46 a question to pass to the next guest
1:22:23 demo: file watcher
1:27:31 thoughts on the "using" keyword and Disposables
_______

More than 25 years ago, Charles torched a promising career in biochemistry and joined the dot-com revolution. After coding daily on systems big and small, he founded Frontside in 2005 based on the belief that good software development patterns are universal. Charles currently researches testing platforms and structured concurrency to power up every developer’s daily coding life.

https://frontside.com
https://github.com/cowboyd
  / cowboyd  
_______

Eric Bower is a software engineer working out of Ann Arbor, Michigan. When he's not running/longboarding/building keyboards/spending time with family, he likes to push the boundaries of TypeScript, particularly when it comes to utilizing generators. He's worked on redux-saga and is the creator of starfx. You might know him for his project https://neovimcraft.com, or maybe you've seen his blog (https://bower.sh ) come up on Hacker News. Check out his GitHub (https://github.com/neurosnap ) to see more of his open-source projects.
_______

Twitter:   / mitypescript  
Mastodon: https://fosstodon.org/@MichiganTypeSc...
Threads: https://www.threads.net/@michigantype...
Instagram:   / michigantypescript  
TikTok:   / michigantypescript  
Discord: https://discord.michigantypescript.com