News for hackers. Stuff that matters.
Re:Bun is being ported from Zig to Rust by lowbloodsugar on Tuesday May 05, 2026 @12:18AM (#48017988)
Yeah, I remember when the lazy bastards started writing programs using compilers instead of learning assembly language. Now I don’t have a single colleague who can write assembly. There’s whole generations now who can’t code assembly. Most don’t even know what a register is. Hope Zig holds against this latest attempt to make everyone stupid.
Re:Bun is being ported from Zig to Rust by uncircle on Tuesday May 05, 2026 @01:41AM (#48018504)
To add to the other commenters, loads of people don’t know assembly, which speaks to the quality of the average developer. The ones that still understand assembly to this day tend to be better developers, writing faster and more efficient code.
Re:Bun is being ported from Zig to Rust by crysin on Tuesday May 05, 2026 @02:45AM (#48018919)
I'd be very surprised if the "average" developer across the board was in fact not just a JavaScript / TypeScript only developer. I have no expectations or really even hope that the average developer I work with has ever written a line of assembly.
Re:Bun is being ported from Zig to Rust by DeathArrow on Tuesday May 05, 2026 @02:35AM (#48018840)
>The ones that still understand assembly to this day tend to be better developers, writing faster and more efficient code.

That is if you use something like C, C+=, Java, .NET, Go. With Javascript and Python I don't think knowing assembly would make any difference because it's hard to optimize the code in these languages for how the CPU and memory works.

Re:Bun is being ported from Zig to Rust by uncircle on Tuesday May 05, 2026 @03:17AM (#48019111)
Knowing assembly in this day and age is the result of being curious and wanting to understand how computers work, which means knowledge of algorithms, data structures, etc.

The same applies to vibe coding: the best "vibe coder" will paradoxically be the person with enough knowledge and curiosity to understand programming, how computer works and the subject at hand; one that could write the whole thing from scratch so they have enough judgement to review generated code.

Of course the vast majority will be mediocre vibe coders, and even worse programmers; at least that's the direction we're going.

Re:Bun is being ported from Zig to Rust by Chris2048 on Tuesday May 05, 2026 @12:29PM (#48024775)
> wanting to understand how computers work, which means knowledge of algorithms, data structures, etc.

It's possible to know in general terms, how computers work, and what assembly is without "knowing assembly" in the sense of being familiar with using/debugging it as a programming language.

Re:Bun is being ported from Zig to Rust by skydhash on Tuesday May 05, 2026 @07:05AM (#48020786)
Knowing assembly doesn’t mean you would spend your time writing assembly (aka being familiar with opcodes and architecture optimizations). But in the process, you get familiar with the working of the computer hardware and the OS that sits on top of it. That is always useful knowledge especially when needing to deal with binary format and protocols or FFI.
Re:Bun is being ported from Zig to Rust by Chris2048 on Tuesday May 05, 2026 @12:32PM (#48024812)
> But in the process..

Then it's sufficient to know assembly, but not necessary.

This is compatible with "[developers] that still understand assembly to this day tend to be better developers", but not with "[on developers who] don’t know assembly, which speaks to [their] quality".

Re:Bun is being ported from Zig to Rust by wiseowise on Tuesday May 05, 2026 @04:09AM (#48019408)
There’s a big difference between (mostly) deterministic compiler and non-deterministic LLMs.
Re:Bun is being ported from Zig to Rust by gls2ro on Tuesday May 05, 2026 @12:35AM (#48018074)
Generating AI code/PR is not the same as using compilers because of at least two things:

- the scale of how much and how fast you can generate code with AI vs how fast can you write code for compiler

- the mental model of what is being generated and how much the contributor understands and owns the generated code

Re:Bun is being ported from Zig to Rust by wtetzner on Tuesday May 05, 2026 @12:33AM (#48018065)
Using an LLM isn't analogous to using a higher level language.
Re:Bun is being ported from Zig to Rust by brabel on Tuesday May 05, 2026 @02:39AM (#48018874)
That’s funny because it’s exactly, literally the same. The difference is it’s not deterministic. That may be a problem but it’s still a higher level language, just a much higher level language than anything before.
Re:Bun is being ported from Zig to Rust by wiseowise on Tuesday May 05, 2026 @04:13AM (#48019438)
So by your logic all the PMs, managers and customers are programmers, right? After all, there’s a human compiler that takes their input and produces a program?
Re:Bun is being ported from Zig to Rust by brabel on Tuesday May 05, 2026 @05:46AM (#48020172)
They are programmers when they write a prompt and get runnable code as a result, yes… but no if asking a human to write the code because if you have an intermediate, manual step between the text and the running code, you don’t have an automated process and hence it’s no longer even an application, let alone a “compiler”.
Re:Bun is being ported from Zig to Rust by matt_kantor on Tuesday May 05, 2026 @12:09PM (#48024456)
Why does it matter if a human or a machine is responsible for turning the prompt into code?

If there's a black box which I can send C code into one side of and get faithful machine code out the other, I'd call that box a "compiler". I wouldn't rename it if I later find out that there are little elves inside doing the translation.

Re:Bun is being ported from Zig to Rust by brabel on Tuesday May 05, 2026 @02:34PM (#48026619)
Sorry but that’s a childish take.
Re:Bun is being ported from Zig to Rust by matt_kantor on Tuesday May 05, 2026 @08:22PM (#48030585)
Would you mind explaining why?
Re:Bun is being ported from Zig to Rust by xigoi on Tuesday May 05, 2026 @02:45AM (#48018920)
The main difference is that the input to an LLM is in an ambiguous language.
Re:Bun is being ported from Zig to Rust by brabel on Tuesday May 05, 2026 @05:50AM (#48020193)
A programming language is allowed to be ambiguous, I don’t know of a definition that excludes that!
Re:Bun is being ported from Zig to Rust by xigoi on Tuesday May 05, 2026 @06:34AM (#48020565)
All programming languages I know of provide at least some guarantees about the program’s behavior.
Re:Bun is being ported from Zig to Rust by skydhash on Tuesday May 05, 2026 @07:09AM (#48020819)
The language specs may be, but an implementation is never ambiguous. When you encounter and undefined behavior in the specs, that’s when you look at your compiler/interpreter docs.
Re:Bun is being ported from Zig to Rust by a_shiine on Monday May 11, 2026 @03:11PM (#48099342)
The kinda thoughts you form when you ever only vibe-coded
Re:Bun is being ported from Zig to Rust by newswasboring on Tuesday May 05, 2026 @07:41AM (#48021107)
So is JavaScript haha.
Re:Bun is being ported from Zig to Rust by bigstrat2003 on Tuesday May 05, 2026 @02:54AM (#48018966)
> That’s funny because it’s exactly, literally the same. The difference is it’s not deterministic.

So it is not, by your own admission, "exactly, literally the same".

Re:Bun is being ported from Zig to Rust by amoss on Tuesday May 05, 2026 @04:08AM (#48019402)
Take it gently, the poor thing doesn't understand the difference between code and talking about code.
Re:Bun is being ported from Zig to Rust by sandrello on Tuesday May 05, 2026 @06:47AM (#48020667)
I assume you're some sort of programmer and I genuinely wonder how in the world can someone in good faith downplay non-determinism and ambiguity when talking about a programming language.

High-level languages can certainly yield inefficient code when compiled, or maybe different code among different compilers, but they're always meant to allow their users to know exactly what to expect from what they put together in their programs. I've always considered this a hard fact, I simply cannot wrap my head around working in a way that forces me to abandon this basic assumption.

Re:Bun is being ported from Zig to Rust by gertop on Tuesday May 05, 2026 @12:49AM (#48018169)
Your analogy falls apart because the "lazy bastards" still knew how to program and understood the code they were working on.

Vide-coders often don't read, let alone understand, the code they send for PRs.

Re:Bun is being ported from Zig to Rust by merlindru on Tuesday May 05, 2026 @04:57AM (#48019818)
I don't think most JavaScript devs know how to read C code, let alone assembly, so I think the comparison is apt. Is it not?
Re:Bun is being ported from Zig to Rust by wtetzner on Tuesday May 05, 2026 @06:33AM (#48020553)
The JavaScript developers are checking in JavaScript code that they ostensibly understand. That is not the same as prompting an LLM to generate Zig that they don't understand, and expecting someone to merge it.
Re:Bun is being ported from Zig to Rust by merlindru on Tuesday May 05, 2026 @01:57PM (#48026103)
ah, i see what you're saying. fair point! though the argument was that LLMs essentially are a yet higher level programming language (or, rather, let you write in a higher level language).
Re:Bun is being ported from Zig to Rust by wtetzner on Wednesday May 06, 2026 @05:49AM (#48034315)
They do let you write in a higher-level language, but it's not really analogous to a higher-level programming language. The ambiguity and lack of determinism makes prompting fundamentally different from using a high level programming language.