News for hackers. Stuff that matters.
Re:I Fixed Windows Native Development by Aurornis on Sunday February 15, 2026 @11:27AM (#47024959)
Looking at the script:

> curl -L -o msvcup.zip https://github.com/marler8997/msvcup/releases/download/v2026...

No thanks. I’m not going to install executables downloaded from an unknown GitHub account named marler8997 without even a simple hash check.

As others have explained the Windows situation is not as bad as this blog post suggests, but even if it was this doesn’t look like a solution. It’s just one other installation script that has sketchy sources.

Re:I Fixed Windows Native Development by dotancohen on Sunday February 15, 2026 @11:41AM (#47025102)
You don't have to install executables downloaded from an unknown GitHub account named marler8997. You can download that script and read it just like any other shell script.

Just like those complaining about curl|sh on Linux, you are confusing install instructions with source code availability. Just download the script and read it if you want. The curl|sh workflow is no more dangerous that downloading an executable off the internet, which is very common (if stupid) and attracts no vitriol. In no way does it imply that you can not actually download and read the script - something that actually can't be done with downloaded executables.

Re:I Fixed Windows Native Development by Groxx on Sunday February 15, 2026 @11:57AM (#47025245)
It is somewhat different when your system forces binaries to be signed... but yeah, largely agreed. The abject refusal of curl|sh is strange to me, unless the refusers are also die-hard GPL adherents. Binaries are significantly more opaque and easier to hide malware in, in almost all cases.
Re:I Fixed Windows Native Development by marler8997 on Sunday February 15, 2026 @12:11PM (#47025394)
Wait till they find out what the Visual Studio Installer itself does :) I guess this person just trusts a big company like Microsoft who keeps their source hidden more than a single developer who publishes all their source?
Re:I Fixed Windows Native Development by ameliaquining on Sunday February 15, 2026 @12:22PM (#47025469)
If any of this is relevant to you, you're already running Windows, which means Microsoft already has root on your machine, which means it's futile to try to limit the extent to which you trust their binaries.
Re:I Fixed Windows Native Development by chlorion on Sunday February 15, 2026 @08:18PM (#47029745)
>The curl|sh workflow is no more dangerous that downloading an executable off the internet

It actually is for a lot of subtle reasons, assuming you were going to check the executable checksum or something, or blindly downloading + running a script.

The big thing is that it can serve you up different contents if it detects it's being piped into a shell which is in theory possible, but also because if the download is interrupted you end up with half of the script ran, and a broken install.

If you are going to do this, its much better to do something like:

    sh -c "$(curl https://foo.bar/blah.sh)"
Though ideally yes you just download it and read it like a normal person.
Re:I Fixed Windows Native Development by smileybarry on Monday February 16, 2026 @02:03AM (#47031772)
> You don't have to install executables downloaded from an unknown GitHub account named marler8997. You can download that script and read it just like any other shell script.

You do because the downloaded ZIP contains an EXE, not a readable script, that then downloads the compiler. Even if you skip that thinking "I already have VS set up", the actual build line calls `cl` from a subdirectory.

I'm not going to reconstruct someone's build script. And that's just the basic example of a one file hello world, a real project would call `cl` several times, then `link`, etc.

Just supplying a SLN + VCXPROJ is good enough. The blog post's entire problem is also solved by the .vsconfig[1] file that outlines requirements. Or you can opt for CMake. Both of these alternatives use a build system I can trust over randomgithubproject.exe, along with a text-readable build/project file I can parse myself to verify I can trust it.

1: https://learn.microsoft.com/en-us/visualstudio/install/impor...

Re:I Fixed Windows Native Development by hiccuphippo on Sunday February 15, 2026 @11:37AM (#47025051)
I know Jonathan Marler for some of his Zig talks and his work in the win32 api bindings for Zig[0], they are even linked from Microsoft's own repo[1] (not sure why he has 2 github users/orgs but you can see it's the same person in the commits).

[0] https://github.com/marlersoft/zigwin32 [1] https://github.com/microsoft/win32metadata

Re:I Fixed Windows Native Development by 8n4vidtmkvmk on Sunday February 15, 2026 @12:48PM (#47025732)
I would guess one of his accounts is his corporate employee account and his other is personal.