4 ms·
Hi Boris! Thanks for Claude Code. Is there an example of how y'all use Dynamic Workflows internally that you could share with the rest of us here so that we ca
by thallavajhula 5mo ago
Hi Boris! Thanks for Claude Code.
Is there an example of how y'all use Dynamic Workflows internally that you could share with the rest of us here so that we can mimic something similar?
- bcherny 5mo agoHey, yep. A few things I personally used dynamic workflows for over the last few weeks: 1. Autonomously landed 20+ optimizations to reduce Claude Code's token usage by ~15% 2. Ported tree-sitter, color-diff, yoga-layout, and a number of other WASM and Rust native modules to TypeScript, improving CPU and memory use by 2-10x in the process 3. Made our CI faster, and repeatedly found and fixed flaky tests (with /loop) 4. Migrated from regex-based bash static analysis to tree-sitter, reducing false positive permission prompts by 45% 5. Reduced Claude Agent SDK startup time by 61%, by repeatedly profiling and optimizing the startup path, putting up a number of PRs in the process 6. Shipped 69 code simplification PRs, deleting >10k lines of code
- rahkiin 5mo agoYou _reduced_ its _efficiency_? Why do you make CC more inefficient?
- bcherny 5mo agoTypo! Edited
- isoprophlex 5mo agoMaxxing everything is all the rage. Gotta cpumaxx or bossman isnt getting his money's worth
- mkw5053 5mo agoVery cool. What % of the CC team's engineering would you say goes into QoL (as opposed to new feature development)? Obviously some live in a grey area, while others are more clear like making CI faster.
- JimJohn4292 5mo agoBoris, what are your thoughts on WASM as a technology and it's practical implications for AI in the future?
- sangeeth96 5mo ago> Ported tree-sitter, color-diff, yoga-layout, and a number of other WASM and Rust native modules to TypeScript, improving CPU and memory use by 2-10x in the process Curious to learn more on this (unless there’s a write-up in the works). I’m naive on this matter but: 1. is this because it’s higher cost when passing objects back and forth across the JS/native boundary? 2. Does this have anything more specific to do with use of Bun? 3. is the stance for claude code then to keep all the deps in raw TypeScript? 4. How do you folks keep these ported deps up-to-date?
- theLiminator 5mo agoIs there not a reason to instead port claude code to rust? Do you have internal benchmarks that show that claude code is better at typescript than rust?
- guybedo 5mo agothis feels more like a PR statement than a description of how you used the tool though
- verve_rat 5mo agoNone of those are helpful examples we could mimic to figure out how to use the tools. This reads like a CV, not trying to help or educate.