News for hackers. Stuff that matters.
Re:Git: Introduce Rust and announce that it will become mand... by sunshowers on Saturday September 20, 2025 @01:33PM (#45315378)
?? I build Jujutsu and many other Rust programs from source on Windows.

Rust has a much better Windows story than C and bash do, due to its heritage as a language built by Mozilla for Firefox.

Re:Git: Introduce Rust and announce that it will become mand... by riedel on Saturday September 20, 2025 @03:22PM (#45316471)
As said before I wasn't complaining about windows, but rather of not so common posix layers like cygwin [0]. Most C posix compliant stuff compiles in my experience.

[0] https://github.com/rust-lang/rust/issues/137819

Re:Git: Introduce Rust and announce that it will become mand... by sunshowers on Saturday September 20, 2025 @03:40PM (#45316633)
Right, but Rust makes it so you don't have to use Cygwin. It's one of the great portability advantages of Rust that you can write real Windows programs with it.
Re:Git: Introduce Rust and announce that it will become mand... by riedel on Saturday September 20, 2025 @04:25PM (#45317116)
I am not really sure if I can follow here. How could a rust compiled program like git honor my cygwin emulated mount points in paths, which I need, when working with other posix compliant software.
Re:Git: Introduce Rust and announce that it will become mand... by sunshowers on Saturday September 20, 2025 @06:31PM (#45318192)
I thought that if you invoke a native Windows binary with Cygwin, it translates Unix-looking paths into Windows ones. But it's been a long time since I used Cygwin so I could be wrong.
Re:Git: Introduce Rust and announce that it will become mand... by egorfine on Sunday September 21, 2025 @11:37AM (#45323676)
> Rust has a much better Windows story than C

This is an extremely strong statement. Which is so obviously factually incorrect that I tend to think you might have meant something else.

Re:Git: Introduce Rust and announce that it will become mand... by steveklabnik on Sunday September 21, 2025 @12:40PM (#45324303)
As a Windows user, I find random Rust projects work on Windows far more often than random C ones, even if the authors didn’t make a specific attempt to support Windows.
Re:Git: Introduce Rust and announce that it will become mand... by egorfine on Sunday September 21, 2025 @12:43PM (#45324348)
"work" as in "build"? I would agree with that.
Re:Git: Introduce Rust and announce that it will become mand... by steveklabnik on Sunday September 21, 2025 @01:03PM (#45324555)
And run.

My colleague Bryan Cantrill, famously a huge Unix guy, once said to me “if you had told me that projects I write would just work on Windows at the rate they do, I wouldn’t have believed you.” When I started at Oxide I had to submit like one or two patches to use Path instead of appending strings and that was it, for my (at the time) main work project.

Re:Git: Introduce Rust and announce that it will become mand... by sunshowers on Sunday September 21, 2025 @10:10PM (#45328459)
I meant exactly what I said.