Earlier quoted context omitted.
There's at least one proprietary platform that supports Git built by via a vendor-provided C compiler, but for which no public documentation exists and therefore no LLVM support is possible. Ctrl+F for "NonStop" in https://lwn.net/Articles/998115/
Sucks to be that platform? Seriously, I guess they just have to live without git if they're not willing to take on support for its tool chain. Nobody cares about NonStop but the very small number of people who use it... who are, by the way, very well capable of paying for it.
Git: Introduce Rust and announce it will become mandatory in the build system
51–60 of 433 posts
Re: Git: Introduce Rust and announce it will become mandatory in the build system
#52> Introducing Rust is impossible for some platforms and hard for others. Please could someone elaborate on this.
because the rust compiler just doesn't support some platforms (os / architecture combination)? RESF members tend to say it the other way around as in the platform doesn't support rust, but the reality is that it's the compiler that needs to support a platform, not the other way around.
Re: Git: Introduce Rust and announce it will become mandatory in the build system
#53> Introducing Rust is impossible for some platforms and hard for others. Please could someone elaborate on this.
My understanding: As Rust is built on LLVM and not GCC, it is also limited to operating systems supporting LLVM. GCC simply supports more platforms.
Re: Git: Introduce Rust and announce it will become mandatory in the build system
#54But.
Now rather than needing to understand just C to work on Git/kernel, you now need to also know Rust. The toolchain complexity is increasing, and the mix of these languages increases the barrier to entry.
I'm highly invested into Git, having learned the tooling and having a significant number of projects constructed within it. I've written my own Git clients and have built a web server around Git repositories. I don't want to lose the hack-ability of Git.
Re: Git: Introduce Rust and announce it will become mandatory in the build system
#55Re: Git: Introduce Rust and announce it will become mandatory in the build system
#56Maybe I'm just old and moany, and I need to step aside for bigger and better things such as Rust. But. Now rather than needing to understand just C to work on Git/kernel, you now need to also know Rust. The toolchain complexity is increasing, and the mix of these languages increases the barrier to entry. I'm highly invested into Git, having learned the tooling and having a significant number of projects constructed w…
And they will keep working because the repository format isn't affected by the language git is written in.
Re: Git: Introduce Rust and announce it will become mandatory in the build system
#57Maybe I'm just old and moany, and I need to step aside for bigger and better things such as Rust. But. Now rather than needing to understand just C to work on Git/kernel, you now need to also know Rust. The toolchain complexity is increasing, and the mix of these languages increases the barrier to entry. I'm highly invested into Git, having learned the tooling and having a significant number of projects constructed w…
You are. This is firm "I don't want to have to learn new things" territory, which isn't a viable attitude in this industry.
In any case Rust is usually easier than C (excluding buggy C which is very easy to write), and certainly easier than actually learning the Git or Linux codebases.
Re: Git: Introduce Rust and announce it will become mandatory in the build system
#58How does this help me as a user of git?
But we probably won't see any effect for 10 years or so.
Re: Git: Introduce Rust and announce it will become mandatory in the build system
#59mandatorty: best new word of 2025
I need you to fill out this TPS report. Unfortunately it's mandatorty to fudge section 15A.
Re: Git: Introduce Rust and announce it will become mandatory in the build system
#60How does this help me as a user of git?
My guess is that we (I am also a user of git) won't even notice.
$ ldd /usr/bin/git
linux-vdso.so.1 (0x00007f69c2d64000)
libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f69c2c81000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f69c2c67000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f69c2616000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f69c2d66000)
$ ls -alh /usr/bin/git
-rwxr-xr-x 1 root root 4.0M Aug 25 11:40 /usr/bin/git
I did not measure but it does not take long on my old hardware to compile git from scratch either, for now.