Live data from Hacker News

Gitoxide: Pure Rust Implementation of Git

github.com

1–10 of 200 posts

Re: Gitoxide: Pure Rust Implementation of Git

#3
post #2

Why do people feel the need to reimplement everything in Rust ? If it's not broken, don't fix it...

Because it is a interesting excercise to reimplement something great in a new interesting language you wanna test drive?

Why are people writing new programming languages? After all we already have some. Sometimes you do it for fun and frivolity, sometimes because you think you can do better, sometimes because you are addressing real tangible issues with the old way of doing things and often a combination of the three.

Re: Gitoxide: Pure Rust Implementation of Git

#4
post #2

Why do people feel the need to reimplement everything in Rust ? If it's not broken, don't fix it...

From the security perspective, if it is written in C, then it is broken by default and by design - no exceptions.

See https://news.ycombinator.com/item?id=24133128 for a recent, very relevant discussion on that topic with multiple examples and a good rationale.

Re: Gitoxide: Pure Rust Implementation of Git

#5
post #2

Why do people feel the need to reimplement everything in Rust ? If it's not broken, don't fix it...

Perhaps because it brings them pleasure. That hardly seems a sin. And then they share it with others, for whom seeing the work is a pleasure and perhaps an inspiration. That seems just as little of a crime.

Re: Gitoxide: Pure Rust Implementation of Git

#8
post #2

Why do people feel the need to reimplement everything in Rust ? If it's not broken, don't fix it...

I tried to interact with Git from rust code once. The only option for any language is libgit2 or its bindings, and let me tell you, it's terrible.

I was this close to just calling git from the shell when i eventually just gave up.

Re: Gitoxide: Pure Rust Implementation of Git

#9
post #2

Why do people feel the need to reimplement everything in Rust ? If it's not broken, don't fix it...

I don't think the author thinks git is broken, most likely the opposite. I often reimplement things I admire or want to learn how they work. I would guess that is one of the motivations of this project.

Re: Gitoxide: Pure Rust Implementation of Git

#10
post #2

Why do people feel the need to reimplement everything in Rust ? If it's not broken, don't fix it...

One reason is to avoid the nasty include C libs, that don't work everywhere.

Second reason, for fun.

Third reason, didn't you note all the parallelization gains?

Post reply on HN