News for hackers. Stuff that matters.
[dead]
Re:Legal win by pjaoko on Saturday September 13, 2025 @05:07AM (#45230575)
> Rust's rich type system and ownership model will guarantee me memory-safety and thread-safety, which eliminate many classes of bugs at compile-time.

With PHP, you don't have to worry about compile-time bugs, because there is no compile time.

Re:Legal win by josh-sematic on Saturday September 13, 2025 @08:43AM (#45231615)
…and instead you get runtime bugs which is somehow better?
Re:Legal win by pjaoko on Sunday September 14, 2025 @05:26AM (#45238634)
you also get runtime bugs with rust and everything else, so i just don't get the "somehow better" line of comparison
Re:Legal win by josh-sematic on Monday September 15, 2025 @03:28PM (#45253918)
The idea is that if something would have been a compile-time error (ex: using a method that doesn’t exist), but you don’t see that compile error because you don’t have a compiler, the error is still there. It’s just that you won’t see it until the associated code happens to run. Essentially the compiler can catch whole classes of bugs early on. Just because it’s annoying to be told your code has bugs doesn’t make that better than having bugs and just not being told.
Re:Legal win by photomatt on Saturday September 13, 2025 @05:08AM (#45230589)
It depends on your goals, your customer needs. All technology is just a means to an end. Languages and frameworks are easy to switch between once you understand programming fundamentals. We run production Erlang code at Automattic. Use the right tool for the job. Don't start with a language; start with a problem to be solved.
Re:Legal win by _rm on Sunday September 14, 2025 @08:14AM (#45239245)
Computer nerds should probably use Rust and Tokio. Then they can spend hundreds of evenings tinkering with their oh-so-superior contraption of a website, muttering how silly everyone else's websites are.

But everyone else who just want to put their small business website up that their marketing assistant can easily edit, will just pay someone on Upwork to pop up a WordPress site for them in a day or so, with everything they need included, so they can spend their time on value-added activities.