Live data from Hacker News

Cruller: Bun's Zig Runtime, Continued on Zig 0.16

ziggit.dev

101–110 of 127 posts

Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16

#101

What makes Bun Bun is all the things that got removed from this project. Node is already powerful enough and well maintained. Why would anyone use this?

The developer is quite clear about not wanting to make Bun. They want to make a reusable JavaScript runtime for Zig. How would you execute a Node runtime in Zig?

Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16

#102
post #83

This got me thinking, What if you feed Bun's code into AI, and instead of Rewriting it in Rust, tell it to follow TigerStyle as much as possible?

This is one of the main points of TigerStyle:

> Allocate all memory at startup. Don't allocate after initialization.

It's not compatible with bun. It's not compatible with most programs.

Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16

#103

Earlier quoted context omitted.

Valkey is going strong still. So is Jellyfin, and Gitea/Forgejo.

Valkey made me forget redis existed in about a day. If I say redis now I actually mean valkey.

Why is valkey better?

Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16

#104
post #99

Earlier quoted context omitted.

A new project based primarily on existing code is still a fork. Also Ship of Theseus.

Wasn't the point of the Ship of Theseus precisely that establishing wether something is or isn't something else is at least complicated? Using it right after saying "X is still Y" kind of seems to make the opposite point.

The point here is that even though the water is murky about it's intrinsic identity, we know that it's still a particular ship with a particular back story, making at least it's extrinsic identity an immutable known. Fairly similar to how - most, if not all - complex living organisms continually gain and lose composing cells throughout their lives, yet their individual identities remain fixed: "I am X and this is my dog Y".

Similarly, a "fork" as we understand it in the context of software is this thing that, even though it's a modified copy, retains its extrinsic identity: "This software X was worked on in Y context, and is now being worked on in Z+ contexts". Same software, even if it gets a name change.

Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16

#107
post #103

Earlier quoted context omitted.

Valkey made me forget redis existed in about a day. If I say redis now I actually mean valkey.

Why is valkey better?

They aren’t trying to sell me anything. Better multi-threading, better memory usage, open source, open governance. Redis went corporate.

Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16

#108
post #52

Earlier quoted context omitted.

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.

Guess I must be doing something wrong to never have encountered this issue in my 5 years.

Probably, because in my 20 year career I have encountered it plenty except back the first couple of years as a junior developer when I did not know my tools and did not know that I should do this.

Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16

#109

Earlier quoted context omitted.

Guess I must be doing something wrong to never have encountered this issue in my 5 years.

I'm tempted to suggest you have encountered the issue but your team mates are shielding you from the consequences (with or without their knowledge).

What teammates?

Re: Cruller: Bun's Zig Runtime, Continued on Zig 0.16

#110
post #80

Earlier quoted context omitted.

That actually is helpful, but it would require a git history that actually makes sense. I rarely encounter well thought out git histories. For me its often just dev ramblings or 10 word commit messages

If I can choose "badly maintained history" and "no history" I'll choose the former every time. That's even less of a problem when Claude can do a first pass for you.

Claude can smd
Post reply on HN