Re:Ladybird browser to start using Swift language this fall
by hatefulmoron on Saturday August 10, 2024 @10:11AM
(#41209662)
> Compared to other langs I've used, rust gives me more confidence in maintaining and refactoring complex projects
In my humble experience, Rust gives me great confidence that my refactoring will likely be correct, but the type system makes refactoring anything moderately complex very difficult. I tend to paint myself into corners, and the compiler, in it's religious oath of correctness, won't allow a mortal like me to get away with it.
I guess you can dismiss that as a skill issue, but Rust feels like a language that is very tough to iterate with. It's probably something I will reach for when I'm sure of what exactly my program will do, and how it will do it.
Re:Ladybird browser to start using Swift language this fall
by commodoreboxer on Saturday August 10, 2024 @10:05AM
(#41209616)
It's definitely more clunky for complex object graphs. Making a useful directed graph with cycles is pretty annoying. Not impossible my any means (I'm currently working on a Rust project for audio graphs that allows cycles), but not nearly as easy as a GC language would make it.
I have plenty of my own beefs with rust that I won't go into here, but... it comes out on top for complex projects.