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

Once there lived a village of creatures along the bottom of a great
crystal river. Each creature in its own manner clung tightly to the twigs
and rocks of the river bottom, for clinging was their way of life, and
resisting the current what each had learned from birth. But one creature
said at last, "I trust that the current knows where it is going. I shall
let go, and let it take me where it will. Clinging, I shall die of boredom."
The other creatures laughed and said, "Fool! Let go, and that current
you worship will throw you tumbled and smashed across the rocks, and you will
die quicker than boredom!"
But the one heeded them not, and taking a breath did let go, and at
once was tumbled and smashed by the current across the rocks. Yet, in time,
as the creature refused to cling again, the current lifted him free from the
bottom, and he was bruised and hurt no more.
And the creatures downstream, to whom he was a stranger, cried, "See
a miracle! A creature like ourselves, yet he flies! See the Messiah, come
to save us all!" And the one carried in the current said, "I am no more
Messiah than you. The river delight to lift us free, if only we dare let go.
Our true work is this voyage, this adventure.
But they cried the more, "Saviour!" all the while clinging to the
rocks, making legends of a Saviour.
-- Richard Bach