Live data from Hacker News

Git: Introduce Rust and announce it will become mandatory in the build system

lore.kernel.org

1–10 of 433 posts

Re: Git: Introduce Rust and announce it will become mandatory in the build system

#3

> Introducing Rust is impossible for some platforms and hard for others. Please could someone elaborate on this.

Rust doesn't support as many CPU architectures as C does (SH4 for example, though there's likely many more better examples.)

This might make a much more interesting case for GOT than before https://www.gameoftrees.org/

Re: Git: Introduce Rust and announce it will become mandatory in the build system

#4

> 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

#5

> 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

#6

> Introducing Rust is impossible for some platforms and hard for others. Please could someone elaborate on this.

See this page [1], particularly the 'Tier 3' platforms.

[1] https://doc.rust-lang.org/beta/rustc/platform-support.html

Re: Git: Introduce Rust and announce it will become mandatory in the build system

#8
post #6

> Introducing Rust is impossible for some platforms and hard for others. Please could someone elaborate on this.

See this page [1], particularly the 'Tier 3' platforms. [1] https://doc.rust-lang.org/beta/rustc/platform-support.html

More precise link

https://doc.rust-lang.org/beta/rustc/platform-support.html#t...

Re: Git: Introduce Rust and announce it will become mandatory in the build system

#9

> Introducing Rust is impossible for some platforms and hard for others. Please could someone elaborate on this.

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/

Re: Git: Introduce Rust and announce it will become mandatory in the build system

#10

> Introducing Rust is impossible for some platforms and hard for others. Please could someone elaborate on this.

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/

How is this git's concern?
Post reply on HN