4 ms·
> We’ve been searching for a memory-safe programming language to replace C++ in Ladybird for a while now. The article fails to explain why. What problems (be
by jvillasante 7mo ago
> We’ve been searching for a memory-safe programming language to replace C++ in
Ladybird for a while now.
The article fails to explain why. What problems (besides the obvious) have been found in which "memory-safe languages" can help. Do these problems actually explain the need of adding complexity to a project like this by adding another language?
I guess AI will be involved which, at this early point in the project would make ladybird a lot less interested (at least to me).
- panstromek 7mo ago> besides the obvious Well, what else is there besides the obvious? It's a browser.
- michaelcampbell 7mo ago> What problems (besides the obvious) have been found in which "memory-safe languages" can help. Why isn't that enough?
- nicoburns 7mo agoBrowsers are incredibly security-sensitive projects. Downloading untrusted code from the internet and executing is part of their intended functionality! If memory safety is needed anywhere it's in browsers.
- f311a 7mo agoYou don't want a browser with a bunch of RCEs that can be triggered by opening a web page...
- Perz1val 7mo agoYou do want a browser with RCE, but you want it to keep the it sandboxed. The hard part is executing the code safely
- norman784 7mo agoI guess you will need to wait for their Feb 2026 update.
- the_duke 7mo agoEven Chrome has started to adopt Rust due to recurring memory vulnerabilities.... that's a big enough reason.
- VoxPelli 7mo agoRust was pretty much created to help solve security issues in browsers: https://en.wikipedia.org/wiki/Rust_(programming_language)#2009%E2%80%932012:_Mozilla_sponsorship https://en.wikipedia.org/wiki/Rust_(programming_language)#20...