Top
Best
New

Posted by deevus 20 hours ago

I fixed Windows native development(marler8997.github.io)
712 points | 339 commentspage 6
mschuster91 15 hours ago|
> On Linux, the toolchain is usually just a package manager command away.

If you are compiling for your native system, yes.

But as soon as you try cross-compiling, you are in for a lot of pain.

kI3RO 11 hours ago||
c3 does this automatically, I implemented the same thing :)

https://github.com/c3lang/c3c/pull/2854

mmargerum 16 hours ago||
If you are looking to rapidly build windows native apps just use Delphi. Superlative tool for this. Been using since ‘95
NSUserDefaults 18 hours ago||
So this fixes the problem when msvc is the required compiler. Does the zig C++ compiler bring anything to the table when clang is an option?
feverzsj 18 hours ago|
You still need headers and libraries that ship with MSVC.
droelf 17 hours ago||
Thank you, this might be a great way to improve the developer experience in the conda/conda-forge ecosystem.
__alexander 18 hours ago||
Another option is explore winget and chocolaty. Most build tools and compilers can be installed via the command line on windows. Ask your favorite LLM to create a powershell script to install them all.
GeoAtreides 16 hours ago||
>The key insight

are we doomed to only read AI slop from now on? to get a couple paragraphs in and suddenly be hit with the realization that is AI?

it's all so tiresome

Graziano_M 12 hours ago|
I literally came to post the exact same line as my indicator that this was AI-generated. I ctrl-f'd first and sure enough I'm not alone in using 'key insight' as the canary.
juujian 14 hours ago||
> Hours-long waits: You spend an afternoon watching a progress bar download 15GB just to get a 50MB compiler.

What year is it?! Also, haven't heard any complaints regarding VS on MacOS, how ironic...

beanjuiceII 16 hours ago||
these seems overly dramatic...i just setup a windows 11 box and installed the needed tools quite quickly via winget and I was up and running
ewuhic 18 hours ago|
Nix on Windows when...
itishappy 17 hours ago|
Since roughly September 2022 with the release of WSL 0.67.6!
dataflow 16 hours ago|||
Have you actually attempted to use it recently? Are you familiar with the WSL1 bugs that surface when running random Linux distros?

(To be clear, I haven't tried this with Nix, but I have with other distros.)

itishappy 14 hours ago||
Fair question! Nope. I'm not endorsing it, and certainly don't know (or even suspect) it would solve this issue. I just recently installed NixOS and was surprised to see Windows mentioned on the downloads page, so looked into it a bit. Maybe soon.
dataflow 11 hours ago||
Okay well, if you do, good luck with glibc (and likely other) issues. WSL1 feels kind of dead unfortunately, neither Windows wants to support newer Linux syscalls nor do Linux projects seem to care for including fallbacks.
ewuhic 16 hours ago|||
Let me paraphrase: nix FOR windows
More comments...