{"podcast":{"title":"Rustacean Station","slug":"rustacean-station","podcast_index_feed_id":714629,"rss_url":"https://rustacean-station.org/podcast.rss","website_url":"https://rustacean-station.org","image_url":"https://rustacean-station.org/images/artwork.jpg","author":"Jon Gjengset","episode_count":183,"summary":"Come journey with us into the weird, wonderful, and wily world of Rust.","last_synced_at":null,"page_url":"https://stenobird.com/podcast/rustacean-station"},"episode":{"title":"SWC with DongYoon Kang","slug":"swc-with-dongyoon-kang","published_at":"2025-05-31T07:01:00+00:00","page_url":"https://stenobird.com/podcast/rustacean-station/swc-with-dongyoon-kang","show_page_url":"https://stenobird.com/podcast/rustacean-station","url":"https://rustacean-station.org/episode/dongyoon-kang/","audio_url":"https://dts.podtrac.com/redirect.mp3/audio.rustacean-station.org/file/rustacean-station/2025-05-31-dongyoon-kang.mp3","summary":"DongYoon Kang, the creator of SWC, explains how he built a high-performance Rust-based web compiler to solve the latency issues inherent in JavaScript-based tools like Babel. The discussion covers the technical transition from single-threaded JavaScript to parallelized Rust and the evolution of SWC into a core dependency for Next.js and Deno.","meta_description":"Learn how SWC uses Rust to revolutionize web compilation speed, featuring insights from creator DongYoon Kang on AST manipulation and performance optimiza…","key_points":["Main idea: SWC was born from the need to eliminate the multi-second delays in web development caused by the single-threaded nature of JavaScript-based compilers","Technical approach: The project leverages Rust's ability to perform heavy parallel processing, overcoming the fundamental event-loop limitations of Babel","Practical takeaway: Building complex parsers can be achieved by studying existing implementations like Babel and porting core logic to Rust","Failure mode: Expanding the compiler to support new languages like Dart is often limited by the maintenance burden of managing complex AST definitions","Future direction: The development of a cross-module optimizer to automate sophisticated code optimizations within the compiler"],"chapters":[{"start_ms":60000,"title":"Using SWC AST for GraphQL","summary":"The host shares a personal experience using SWC's AST to automate the generation of TypeScript files from GraphQL schemas."},{"start_ms":160000,"title":"The Motivation: Eliminating Latency","summary":"DongYoon Kang describes the frustration of waiting for HMR updates and the decision to build a faster alternative in Rust."},{"start_ms":375000,"title":"The Rise of SWC and Deno","summary":"A look at the early years of SWC and how adoption by projects like Deno drove significant community contributions."},{"start_ms":585000,"title":"Implementing Parsers and Lexers","summary":"Insights into the technical challenges of writing a high-performance parser by referencing the Babel source code."},{"start_ms":700000,"title":"Optimization and Community Contribution","summary":"How the project manages performance profiling and coordinates a global, asynchronous team of contributors."},{"start_ms":1280000,"title":"The Challenges of Language Expansion","summary":"Why the creator decided against adding Dart support due to the high cost of maintaining new AST structures."},{"start_ms":1385000,"title":"Future Plans: Cross-Module Optimization","summary":"A glimpse into upcoming features, including a new module designed for smart, automated code optimizations."}],"topics":["SWC","Rust","Web Development","Compiler Design","AST","Performance Optimization","JavaScript Tooling","Open Source Maintenance"],"duration_seconds":1490,"processing_state":"processed","actions":[{"name":"request_transcript","method":"POST","url":"https://stenobird.com/v1/public/podcasts/rustacean-station/episodes/swc-with-dongyoon-kang/transcription-requests","description":"Idempotently request low-priority transcript generation for this episode."},{"name":"read_markdown","method":"GET","url":"https://stenobird.com/podcast/rustacean-station/swc-with-dongyoon-kang.md","description":"Read the agent-friendly Markdown representation of this episode resource."}]}}