HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Zakis1

35 karmajoined vor 6 Monaten

comments

Zakis1
·vorgestern·discuss
Yikes, the majority of this blog post is saying basically "skill issue" and "Jarred bad engineer", but I think that hurts Zig far more than Andrew realises.

If Bun, a disaster of engineering apparently, simply just switches to Rust and all of their issues magically disappear... then the Rust Vs Zig war is over before it started right?
Zakis1
·vorgestern·discuss
But how would you verify that the agents have written memory safe code? Rust's borrowchecker is a lot faster and actually verifiably safe compared to asking an LLM to fix the safety issues that the Zig version had.
Zakis1
·vorgestern·discuss
The stability gains are a direct language concern as mentioned throughout the article.
Zakis1
·letzten Monat·discuss
Agree, the claim "secure because Rust" is wrong. But "more secure than if it were written in an unsafe language" is probably going to be true most of the time.
Zakis1
·letzten Monat·discuss
Agreed unfortunately, if Zigs whole selling point is meant to be a "nicer C" (and a much nicer DX than Rust because no fighting the borrow checker etc) - does that really matter in a world where an LLM is writing the code? I am not going to be fighting the borrow checker, the LLM is.

And as always, the response you'll hear is: but AI sucks/hallucinates/could never replace me etc... Just look at the progress LLM'S have made in the past few years, and extrapolate that to the next 10 or 20 years. I don't see how Zig makes sense if this is the trajectory the industry is going.
Zakis1
·letzten Monat·discuss
I completely agree. Zig has a nicer DX no doubt - no fighting the borrow checker etc. But if you are are writing software for other people they don't care about how nice your developer experience is, they only want the software to work correctly - and how can you guarantee that the software you wrote does what you expect it to do if it's not memory safe?
Zakis1
·vor 2 Monaten·discuss
It's alarming how people instantly jump to conclusions that Bun is now "AI slop".

Bun has been almost entirely worked on by LLM's for ~6 months now, long before the Rust re-write (source: https://x.com/jarredsumner/status/2054525268296118363). It already has been proven that LLM's can maintain such codebases.
Zakis1
·vor 2 Monaten·discuss
> When you rewrite a project in another language, it's for engineers to be able to maintain and further develop the project better

I don't think that is the case here. Bun is pretty much using AI to write all of it's code, with a human reviewing it. Zig exists as a language to provide a nice DX over C and Rust, not to be memory safe. If you are using an LLM to generate code, the DX benefits are removed and so then why would you ever choose Zig over Rust?
Zakis1
·vor 6 Monaten·discuss
[dead]