Your one-stop shop for all Changelog podcasts. Weekly shows about software development, developer culture, open source, building startups, artificial intelligence, shipping code to production, and the people involved. Yes, we focus on the people. Everything else is an implementation detail.
Automating code optimization with LLMs (Practical AI #237)
You might have heard a lot about code generation tools using AI, but could LLMs and generative AI make our existing code better? In this episode, we sit down with Mike from TurinTech to hear about practical code optimizations using AI “translation” of slow to fast code. We learn about their process for accomplishing this task along with impressive results when automated code optimization is run on existing open source projects.
Changelog++ members save 2 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
- Fastly – Our bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com
- Fly.io – The home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.
- Typesense – Lightning fast, globally distributed Search-as-a-Service that runs in memory. You iterlly can’t get any faster!
- Changelog News – A podcast+newsletter combo that’s brief, entertaining & always on-point. Subscribe today.
Featuring:
- Mike Basios – Twitter, LinkedIn
- Chris Benson – Twitter, GitHub, LinkedIn, Website
- Daniel Whitenack – Twitter, GitHub, Website
Show Notes:
Something missing or broken? PRs welcome!
Timestamps:
(00:07) - Welcome to Practical AI
(00:43) - Code optimizing with Mike Basios
(03:19) - Solving code
(07:24) - The AI code ecosystem
(10:41) - Other targets
(12:58) - AI rephrasing?
(15:28) - Sponsor: Changelog News
(16:40) - State of current models
(20:31) - Improvements to devs
(22:31) - Managing your AI intern
(25:09) - Custom LLM models
(29:49) - Biggest challenges
(33:19) - Hallucination & optimization
(35:42) - Test chaining?
(39:09) - LLM workflow
(41:25) - Most exciting developments
(43:40) - Looking forward to faster code
(44:14) - Outro