Elixir Mentor

Leandro Pereira on MDEx


Listen Later

Leandro Pereira is back on the Elixir Mentor Podcast — this time to dive deep into MDEx, his Rust-powered Markdown library for Elixir. MDEx is built on the Comrak Rust crate, runs 31x faster, and uses 3,500x less memory than existing Elixir alternatives. We also get into Lumis, his standalone syntax highlighting engine powered by tree-sitter and Neovim themes.

Leandro walks through why he chose a Rust NIF over a pure Elixir implementation, what it took to ship Lumis as its own project, and the surprisingly hard technical challenge at the heart of MDEx: streaming Markdown for AI applications. We discuss how MDEx handles incomplete Markdown fragments in real time, what the upcoming Components feature unlocks for Phoenix/LiveView developers, and how the HEEx parser integration works under the hood.

We also cover the human side of maintaining two solo open source projects: how Leandro prioritizes, uses AI to chip away at the backlog, and thinks about monetization. The conversation goes deeper into how the AI era has changed Markdown's role in the ecosystem, the pitfalls of vibe coding, and what it really takes to get an open source project noticed — including the uncomfortable truth that marketing matters more than most developers want to admit.

The episode closes with a wide-ranging conversation on developer growth — the Dunning-Krueger curve, making the mental shift from OOP to functional programming, and why Elixir feels easier once it finally clicks. A great listen for anyone building libraries, wrestling with Rust NIFs, or navigating open source in the Elixir ecosystem.

Resources Mentioned:
- MDEx: https://mdelixir.dev
- MDEx on Hex: https://hex.pm/packages/mdex
- Lumis: https://lumis.sh
- Lumis on Hex: https://hex.pm/packages/lumis

Connect with Leandro:
- X/Twitter: https://x.com/leandrocesquini
- GitHub: https://github.com/leandrocp/mdex

SPONSORS
- Paraxial.io: https://paraxial.io
- Jido (Elixir AI Collective Discord): https://agentjido.xyz/discord

SUPPORT ELIXIR MENTOR
- Elixir Mentor: https://elixirmentor.com

...more
View all episodesView all episodes
Download on the App Store

Elixir MentorBy Jacob Luetzow

  • 5
  • 5
  • 5
  • 5
  • 5

5

4 ratings


More shows like Elixir Mentor

View all
The Knowledge Project by Shane Parrish

The Knowledge Project

2,677 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

288 Listeners

Startups For the Rest of Us by Rob Walling

Startups For the Rest of Us

701 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

629 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

986 Listeners

REWORK by 37signals

REWORK

212 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

190 Listeners

Practical AI by Practical AI LLC

Practical AI

209 Listeners

Elixir Wizards by SmartLogic LLC

Elixir Wizards

22 Listeners

Thinking Elixir Podcast by ThinkingElixir.com

Thinking Elixir Podcast

32 Listeners

Huberman Lab by Scicomm Media

Huberman Lab

29,273 Listeners

Beam Radio by Lars Wikman

Beam Radio

11 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

68 Listeners

The AI Daily Brief: Artificial Intelligence News and Analysis by Nathaniel Whittemore

The AI Daily Brief: Artificial Intelligence News and Analysis

685 Listeners

Limitless: An AI Podcast by Limitless

Limitless: An AI Podcast

78 Listeners