I don't understand why the git history has been pruned in this fork. According to the first commit in this fork: > Squashed as a single orphan commit — the original oven-sh/bun history isn't relevant to this stripped fork and its shallow clone doesn't push cleanly to a fresh remote. IMHO it's always a bad decision to do that. Here, all commit authors are lost. The original history is always relevant.
How is the history relevant? Honest question. 5 years in the field I never had a reason to check out the git history of any project I ever worked on.
Cruller: Bun's Zig Runtime, Continued on Zig 0.16
51–60 of 127 posts
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#52Earlier quoted context omitted.
Bug is uncovered. Where was it first introduced? Why was the code changed? What did it do before the bug was introduced?
Why would that matter if a bug is uncovered? If you know there's a bug just fix it? Like what use does the bugs history have?
A git commit gives you the reason for the change and the context of what other files were changed at the same time. I’ve found that invaluable.
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#53Earlier quoted context omitted.
Bug is uncovered. Where was it first introduced? Why was the code changed? What did it do before the bug was introduced?
Why would that matter if a bug is uncovered? If you know there's a bug just fix it? Like what use does the bugs history have?
The most obvious use case for history is "roll back this entire CL, it's broken".
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#54Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#55Earlier quoted context omitted.
Anthropic tried hard to port using their LLMs but their models were not trained on enough zig corpus hence failed and they blamed it on Zig's principles
Claude Code uses Bun written in Rust now https://news.ycombinator.com/item?id=48966569 What failed?
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#56As usual, most forks created out of community rupture eventually die.
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#57I don't understand why the git history has been pruned in this fork. According to the first commit in this fork: > Squashed as a single orphan commit — the original oven-sh/bun history isn't relevant to this stripped fork and its shallow clone doesn't push cleanly to a fresh remote. IMHO it's always a bad decision to do that. Here, all commit authors are lost. The original history is always relevant.
How is the history relevant? Honest question. 5 years in the field I never had a reason to check out the git history of any project I ever worked on.
Often "weird design" is there for historic reasons around stuff like backwards compatibility. If your project has a well managed commit log, you can find the notes of whoever implemented it, possibly even with their motivation for doing so.
At the very least, you can find out who wrote that code and ask them about it.
There's a tonne of data in git histories - this article was shared a few months back and is an awesome example of some things you can do with git history: https://piechowski.io/post/git-commands-before-reading-code/
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#58Earlier quoted context omitted.
Anthropic tried hard to port using their LLMs but their models were not trained on enough zig corpus hence failed and they blamed it on Zig's principles
Claude Code uses Bun written in Rust now https://news.ycombinator.com/item?id=48966569 What failed?
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#59Earlier quoted context omitted.
Why would that matter if a bug is uncovered? If you know there's a bug just fix it? Like what use does the bugs history have?
Because there will be a reason why the code was changed that introduced the bug. If you fix the bug you might inadvertently break a different piece of functionality. A git commit gives you the reason for the change and the context of what other files were changed at the same time. I’ve found that invaluable.
Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16
#60I don't understand why the git history has been pruned in this fork. According to the first commit in this fork: > Squashed as a single orphan commit — the original oven-sh/bun history isn't relevant to this stripped fork and its shallow clone doesn't push cleanly to a fresh remote. IMHO it's always a bad decision to do that. Here, all commit authors are lost. The original history is always relevant.
How is the history relevant? Honest question. 5 years in the field I never had a reason to check out the git history of any project I ever worked on.