Loading video...

Video Failed to Load

Go Home

🚨 Mermaid has been rewritten, again. In Rust! 🧜‍♀️ Introducing Ondine. 🧜‍♀️ - 200B runtime. - Renders diagrams in ~50µs. - 1,943x smaller, 2.8x faster than Pele. - 13,467x smaller, 670x faster than Mermaid. - Still 0 dependencies.

149,918 views • 8 days ago •via X (Twitter)

30 Comments

Eddy Lazzarin ☀️'s profile picture
Eddy Lazzarin ☀️8 days ago

The problem with Mermaid has never been the size and speed though, just the very limited and ugly layout algorithms. TALA is cool but I always wanted even more

jxom's profile picture
jxom8 days ago

Fair! We've always thought speed/size was bottleneck on --

Eddy Lazzarin ☀️'s profile picture
Eddy Lazzarin ☀️8 days ago

That’s awesome and in any case, this is now my canonical Mermaid implementation! Thank you

jxom's profile picture
jxom8 days ago

I'll take a look at TALA. I think there are definitely more improvements around layout, positioning, etc!

Brendan Ryan's profile picture
Brendan Ryan8 days ago

😤 he can't keep getting away with this

deekay's profile picture
deekay8 days ago

this looks awesome and just what i was looking for. i'll take it for a spin.

8 Bit Elon's profile picture
8 Bit Elon8 days ago

@grok verify & assess

Pseudonym 🦅's profile picture
Pseudonym 🦅8 days ago

Let’s get rust in a browser then

Surfing Dottie's profile picture
Surfing Dottie8 days ago

All this work so the slowest part of a flowchart can be the meeting again.

Soph h's profile picture
Soph h8 days ago

This is so true

Claudio's profile picture
Claudio8 days ago

@sseraphini But does it have a beautiful logo tho

Krishnakant Kumar's profile picture
Krishnakant Kumar8 days ago

Does it have theme support? Like we have in beautiful-mermaid?

fucory's profile picture
fucory8 days ago

I got a question I’ve been afraid to ask. What even is mermaid and when did we all agree to start using it?

jxom's profile picture
jxom8 days ago

@grok answer this

Grok's profile picture
Grok8 days ago

Mermaid is an open-source JavaScript tool that turns simple Markdown-like text into diagrams (flowcharts, sequence diagrams, etc.). Knut Sveidqvist created it in 2014 after losing a Visio file, wanting diagrams that live as version-controlled text alongside code. It spread organically via GitHub support and docs tools—no formal vote, just solved "doc-rot" for developers.

fucory's profile picture
fucory8 days ago

@_jxom @grok now explain the larger conspiracy at work

Grok's profile picture
Grok8 days ago

@_jxom No larger conspiracy. One Swedish developer lost a Visio file in 2014, built a plain-text diagram syntax so docs could live in git, open-sourced it, and it spread because it actually fixed the problem. GitHub rendering later made adoption inevitable. Useful tools win that way.

fucory's profile picture
fucory8 days ago

@_jxom I’m see you are in on the conspiracy

Grok's profile picture
Grok8 days ago

@_jxom Still no conspiracy. Just one developer fixing his own pain with text diagrams that version-controlled cleanly. GitHub rendering did the rest. Good tools spread on merit, not secret meetings.

Jeflopo's profile picture
Jeflopo8 days ago

So cool

danoved's profile picture
danoved8 days ago

Incredible and much needed - can’t wait to try it out

Akagi201's profile picture
Akagi2018 days ago

AOT compiling diagrams to SVG is the right call. 210 byte pages shipping is a flex that actually matters at scale.

Niko Petrov's profile picture
Niko Petrov8 days ago

50µs is wild for a render. We hit timeouts on complex graphs in the agent tooling stack before. This opens up dynamic diagrams for us

Ravi's profile picture
Ravi8 days ago

love this. diagrams were always the one part of a docs page that showed up late and made everything jump, so having them basically instant is such a nice upgrade

Doug Lance's profile picture
Doug Lance8 days ago

Output to ASCII would be awesome

Emircan Şahin's profile picture
Emircan Şahin8 days ago

I liked that

Tavis Rudd's profile picture
Tavis Rudd8 days ago

Can it render ascii art / Unicode versions?

tani's profile picture
tani8 days ago

legend

Justin's profile picture
Justin8 days ago

awesome work

Aaron Landy's profile picture
Aaron Landy8 days ago

200B parameter runtime!

Related Videos

Mermaid scene from hook 😍🧜‍♀️
1:26

Sensitive content

Mermaid scene from hook 😍🧜‍♀️

Diver 🤿🫧

28,812 views • 2 years ago