| ▲ | jvillasante 11 hours 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). | ||||||||
| ▲ | michaelcampbell 11 hours ago | parent | next [-] | |||||||
> What problems (besides the obvious) have been found in which "memory-safe languages" can help. Why isn't that enough? | ||||||||
| ▲ | nicoburns 11 hours ago | parent | prev | next [-] | |||||||
Browsers 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. | ||||||||
| ▲ | VoxPelli 6 hours ago | parent | prev | next [-] | |||||||
Rust was pretty much created to help solve security issues in browsers: https://en.wikipedia.org/wiki/Rust_(programming_language)#20... | ||||||||
| ▲ | panstromek 11 hours ago | parent | prev | next [-] | |||||||
> besides the obvious Well, what else is there besides the obvious? It's a browser. | ||||||||
| ▲ | the_duke 9 hours ago | parent | prev | next [-] | |||||||
Even Chrome has started to adopt Rust due to recurring memory vulnerabilities.... that's a big enough reason. | ||||||||
| ▲ | f311a 10 hours ago | parent | prev | next [-] | |||||||
You don't want a browser with a bunch of RCEs that can be triggered by opening a web page... | ||||||||
| ||||||||
| ▲ | norman784 9 hours ago | parent | prev [-] | |||||||
I guess you will need to wait for their Feb 2026 update. | ||||||||