Earlier quoted context omitted.
Nearly 26 years ago! https://www.joelonsoftware.com/2000/04/06/things-you-should-... What's different today really is the LLMs and coding agents. The reason to never rewrite in another language is that it requires you to stop everything else for months or even years. Stopping for two weeks is a lot less likely to kill your project.
He's still right if you don't have good automated testing and you lost most of the original developers (or you don't have other seniors ceva familiar with the domain).
Ladybird adopts Rust, with help from AI
301–310 of 731 posts
Re: Ladybird adopts Rust, with help from AI
#302From their post on Twitter in 2024 when they adopted Swift, with a comment on Rust. My general thoughts on Rust: - Excellent for short-lived programs that transform input A to output B - Clunky for long-lived programs that maintain large complex object graphs - Really impressive ecosystem - Toxic community https://xcancel.com/awesomekling/status/1822241531501162806
Re: Ladybird adopts Rust, with help from AI
#303Earlier quoted context omitted.
To be honest, I'm not quite sure what the ideal UX looks like yet. The AI assisted autocomplete is too little, but the idea of saying "Build X for purpose Y" is too high-level. Maintaining Markdown documents that the AI implements, also feels too high-level, but letting the human fully drive the implementation probably again too low-level. I'm guessing the direction I'd prefer, would be tooling built to accept and be…
The Markdown documents can be at any level. Just keep asking the AI to break each individual step in the plan down into substeps, then ask it to implement after you review. It's great for the opposite flow too - reverse engineering from working legacy code into mid-level and high-level designs, then proposing good refactors.
Re: Ladybird adopts Rust, with help from AI
#304Re: Ladybird adopts Rust, with help from AI
#305I am very interested to know if this time and energy spent actually improved memory safety.
Other engineers facing the same challenges want to know!
Re: Ladybird adopts Rust, with help from AI
#306Earlier quoted context omitted.
Same here. I had Claude write me a web based RSS feed reader in Rust. It has some minor glitches I still need to iron out, but it works great, is fast as can be, and is easy on the eyes. https://github.com/AdrianVollmer/FluxFeed
Rust is the final language. Defect free. Immaculate types. Safe. Ergonomic. Beautiful to read. AI is going to be writing a lot of Rust. The final arguments of "rust is hard to write" are going to quiet down. This makes it even more accessible.
Re: Ladybird adopts Rust, with help from AI
#307Earlier quoted context omitted.
Part of browser experience is safety and migrating their JS library to Rust is probably one of the best ways to gain advantage over any other existing engine out there in this aspect. Strategically this may and likely will attract 3rd party users of the JS library itself, thus helping its adoption and further improving it. They're not porting the browser itself to Rust, for the record.
Yet, they are open to further rewrites.
Re: Ladybird adopts Rust, with help from AI
#308Any word on how much more memory safe the implementation is? If passing a previous test suite is the criteria for success, what has changed, really? Are there previous memory safety tests that went from failing to passing? I am very interested to know if this time and energy spent actually improved memory safety. Other engineers facing the same challenges want to know!
On the rust side, the question is how much `unsafe` they used (I would hope none at all, although they don't specify).
Re: Ladybird adopts Rust, with help from AI
#309From their post on Twitter in 2024 when they adopted Swift, with a comment on Rust. My general thoughts on Rust: - Excellent for short-lived programs that transform input A to output B - Clunky for long-lived programs that maintain large complex object graphs - Really impressive ecosystem - Toxic community https://xcancel.com/awesomekling/status/1822241531501162806
Re: Ladybird adopts Rust, with help from AI
#310Earlier quoted context omitted.
> Ralph Wiggum loop Can you explain more? (I know the reference that he is the idiot son of Chief Wiggum from The Simpsons.)
https://ghuntley.com/loop/ and https://github.com/anthropics/claude-code/blob/main/plugins/...
https://github.com/anthropics/claude-plugins-official/pull/1...