31
submitted 2 years ago by Sunshine@lemmy.ca to c/linux@programming.dev
top 2 comments
sorted by: hot top new old
[-] Ephera@lemmy.ml 2 points 2 years ago

Hmm, I wonder what the idea with the Rust interface is. There is already a Rust wrapper for the C library libgit2 (libgit2-sys) and a well-maintained library with a nicer/Rustier API on top of that (git2).

I'd expect libgit2 to be pretty much just an API around the code that's within Git anyways. So, is the Rust interface that again, just in Rust?
I guess, you don't need to take the route through libgit2, so potentially less things that can break there? Maybe they can somehow offer a nicer Rust API when they have internal access? Or maybe they're just thinking, we want to official support Rust anyways, so might as well move the maintenance work into our code base?

[-] FizzyOrange@programming.dev 2 points 2 years ago

And there's a reimplementation of Git in Rust. Not sure how complete it is though.

this post was submitted on 14 Mar 2025
31 points (100.0% liked)

Linux

15451 readers
371 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS