News: 0001579061

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Git Developers Debate Making Rust Mandatory

([Programming] 3 Hours Ago Mandatory Rust?)


Developers behind the Git distributed revision control system are debating whether to make Rust programming language support mandatory.

Earlier this year with Git 2.49 was [1]a Rust foreign function interface introduced while a patch series floated earlier this month is debating the merits of requiring Rust support as part of building Git. So far the Rust support for Git is optional but could change in the future. Notable though is that this would restrict the architectures and platforms where Git could be deployed compared to the current C code.

Patrick Steinhardt started the request for comments (RFC) on the Git mailing list:

"This small patch series introduces Rust into the core of Git. This patch series is designed as a test balloon, similar to how we introduced test balloons for C99 features in the past. The goal is threefold:

- Give us some time to experiment with Rust and introduce proper build infrastructure.

- Give distributors time to ease into the new toolchain requirements. Introducing Rust is impossible for some platforms and hard for others.

- Announce that Git 3.0 will make Rust a mandatory part of our build infrastructure."

Git 3.0 is also the milestone where [2]SHA-256 will be used by default .

The discussion over Rust in the Git codebase remains ongoing and will be interesting to see what they ultimately decide. Those wanting to track the discussion can do so via the [3]Git mailing list .



[1] https://www.phoronix.com/news/Git-2.49-Released

[2] https://www.phoronix.com/news/Git-2.51-rc0

[3] https://lore.kernel.org/git/20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/



spyke

markg85

spyke

Danny3

markg85

bumblebritches57

kpedersen

roviq

all3f0r1

Our [softball] team usually puts the other woman at second base, where the
maximum possible number of males can get there on short notice to help out
in case of emergency. As far as I can tell, our second basewoman is a pretty
good baseball player, better than I am, anyway, but there's no way to know
for sure because if the ball gets anywhere near her, a male comes barging
over from, say, right field, to deal with it. She's been on the team for
three seasons now, but the males still don't trust her. They know, deep in
their souls, that if she had to choose between catching a fly ball and saving
an infant's life, she probably would elect to save the infant's life, without
ever considering whether there were men on base.
-- Dave Barry, "Sports is a Drag"