<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ladybird-adopts-rust-with-help-from-ai-yuflevp3x" -->

---
title: Ladybird adopts Rust, with help from AI | daily.dev
description: Ladybird browser is adopting Rust as its C++ successor language for memory safety. After previously evaluating and rejecting Swift due to limited C++ interop...
canonical: https://daily.dev/posts/ladybird-adopts-rust-with-help-from-ai-yuflevp3x
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Ladybird adopts Rust, with help from AI | daily.dev
og:description: Ladybird browser is adopting Rust as its C++ successor language for memory safety. After previously evaluating and rejecting Swift due to limited C++ interop...
og:url: https://daily.dev/posts/ladybird-adopts-rust-with-help-from-ai-yuflevp3x
og:image: https://api.daily.dev/og/posts/yUFlevp3x.png
og:image:alt: Ladybird adopts Rust, with help from AI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ladybird adopts Rust, with help from AI

**[Hacker News](https://daily.dev/sources/hn)** · 4 min read · 0 upvotes · 0 comments

## Summary

Ladybird browser is adopting Rust as its C++ successor language for memory safety. After previously evaluating and rejecting Swift due to limited C++ interop and platform support, the team chose Rust for its mature ecosystem and safety guarantees. The first target was LibJS, Ladybird's JavaScript engine — specifically the lexer, parser, AST, and bytecode generator. Andreas Kling used Claude Code and Codex AI agents in a human-directed workflow to translate ~25,000 lines of C++ to Rust in about two weeks, a task estimated to take months manually. The result achieved byte-for-byte identical output between C++ and Rust pipelines with zero test regressions. The ported code is intentionally non-idiomatic Rust for now, prioritizing compatibility. Going forward, C++ development continues while Rust porting proceeds as a long-running sidetrack managed by the core team.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://ladybird.org/posts/adopting-rust/>

## Similar posts on daily.dev

- [Agents don’t mind the brackets: can AI bring back demanding languages?](https://daily.dev/posts/agents-don-t-mind-the-brackets-can-ai-bring-back-demanding-languages--ydaokybxp) · Medium · 0 upvotes · 0 comments

---

Tags: [#browsers](https://daily.dev/tags/browsers), [#c++](https://daily.dev/tags/c++), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/ladybird-adopts-rust-with-help-from-ai-yuflevp3x)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Ladybird adopts Rust, with help from AI","url":"https://daily.dev/posts/ladybird-adopts-rust-with-help-from-ai-yuflevp3x","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ladybird-adopts-rust-with-help-from-ai-yuflevp3x"},"datePublished":"2026-02-23T12:18:34.694Z","dateModified":"2026-10-14T02:27:30.171Z","description":"Ladybird browser is adopting Rust as its C++ successor language for memory safety. After previously evaluating and rejecting Swift due to limited C++ interop...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ffdbb7eae8e8f91a2a5b7ec03e617097?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ffdbb7eae8e8f91a2a5b7ec03e617097?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ladybird-adopts-rust-with-help-from-ai-yuflevp3x","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"browsers,c++,rust","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Ladybird adopts Rust, with help from AI"}]}
```

