3 ms·
The title kinda set the tone for this post.
by Hikikomori 6mo ago
The title kinda set the tone for this post.
- magicmicah85 6mo agoThe title is "Bun is being ported from Zig to Rust". The docs/PORTING.MD starts with "Zig → Rust porting guide" I don't think the tone was the problem.
- mi_lk 6mo agoImaging title it "Bun is being ported from Zig to Rust in an experimental branch" though. Not enough drama with that
- SergeAx 6mo agoI couldn't use that title because I didn't know if it an experiment at the moment. Even now the correct title would be "Bun author says that he is entertaining the idea of porting it from Zig to Rust, creates an experimental branch".
- Hikikomori 6mo agoBut you also didn't know a port was happening, which the title implies.
- magicmicah85 6mo agoThe branch name is "claude/phase-a-port", there was zero indication this was an experiment until Jarred commented. The more accurate title might have simply been "there is a branch in the official repo of bun describing a port to rust from zig". No amount of soft titles would have prevented the discussion. People have their opinions about Bun, about Zig, about Rust and it's all going to come out in a discussion board.
- zozbot234 6mo ago> there was zero indication this was an experiment The goal of Phase A is a **draft** `.rs` next to the `.zig` that captures the logic faithfully — it does **not** need to compile. Phase B makes it compile crate-by-crate. I mean, it would be hard to spell it out any clearer than that! Code that fails to compile is just not very useful for real work.
- dspillett 6mo agoYes, but that would require people to read past the title. You can't get a proper knee-jerk first post in if you do that! Completely unfair to expect people to make that sacrifice/effort. [there was some sarcasm there, BTW, if anyone has a faulty detector that didn't pick up on it]
- magicmicah85 6mo agoPhase B clearly says compilation is the next goal. The first goal is to get a like for like logic, the second goal is to get it to compile. Can you guess what the third goal will be? Throw out the code?
- zozbot234 6mo agoThe branch is named phase-a-port and the document explains what "phase-a" means. It's quite clear.
- eigilsagafos 6mo agoCan’t every branch be considered an experiment? I have a ton of experimental branches that I don’t label «experimental». One of the reasons you use git…
- magicmicah85 6mo agoSure, but then how does it change anything around the discussion? You are still running an experiment to port to Rust, it still gets posted, the Rust-heads and Zig-heads still make their comments.
- skywhopper 6mo agoHow would an outside observer know it’s an experiment?