Making artificial intelligence practical, productive, and accessible to everyone. Practical AI is a show in which technology professionals, business people, students, enthusiasts, and expert guests engage in lively discussions about Artificial Intelligence and related topics (Machine Learning, Deep Learning, Neural Networks, etc). The focus is on productive implementations and real-world scenarios that are accessible to everyone. If you want to keep up with the latest advances in AI, while keeping one foot in the real world, then this is the show for you!

Automating code optimization with LLMs

August 29, 2023 45:01 43.42 MB Downloads: 0

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.

Leave us a comment

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:

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