-
No need to compile windows binaries anymore!
Posted by
Karel
on 11 Sep, 2022 06:51
-
-
-
Is it time to echo the EEE mantra?
Seriously though, this is good news for those that are stuck on the corporate jobs and can't use Linux.
-
#2 Reply
Posted by
langwadt
on 11 Sep, 2022 10:13
-
you have been able to do it for quite some time one win10, just not as integrated so you needed to install an xserver, I've used x410
-
#3 Reply
Posted by
rsjsouza
on 11 Sep, 2022 10:52
-
TBH, nothing that a Virtual Machine hasn't solved in more than a decade, which I tend to prefer so I can keep various development environments contained with their tool versions and such - I have to keep support for 10+ year old toolchains and SDKs.
And Windows 10 had some level of integration that worked moderately well.
I personally am not looking forward for Windows 11. It will be another hodgepodge of M$ bullet dodging.
-
-
Uh yeah?
Except that if you actually target Windows, users will want native binaries. Usually. Except maybe for very niche products for which they probably won't care.
Oh and binary-compatibility for Linux binaries across different Linux distros can already be a headache, so not talking about WSL... if you think that'll be as painless as that.
-
#5 Reply
Posted by
bd139
on 11 Sep, 2022 19:07
-
WSL is an ass ache generally. It's not a persistent environment so things like cron and services don't make sense. This is a show stopper for me when it comes to doing things. What you expect is not always what turns up when you're using it and as always with Microsoft it can take some time to work around it (try getting WSL VMs to talk over a VPN if you have a corp network and DeviceGuard enabled etc).
I use a Mac for everything now but when I was forced to use a corp windows machine, it did not have WSL on it at all. The dev environment was remote in AWS. Now I'm on macOS it's the same environment in AWS.
-
-
TBH, nothing that a Virtual Machine hasn't solved in more than a decade,
In all fairness, WLS isn't much different than a tightly integrated virtual machine.
-
#7 Reply
Posted by
bd139
on 12 Sep, 2022 06:01
-
TBH, nothing that a Virtual Machine hasn't solved in more than a decade,
In all fairness, WLS isn't much different than a tightly integrated virtual machine.
It’s worse than a VM. Lots of really bad trade offs were made.
-
#8 Reply
Posted by
Ed.Kloonk
on 12 Sep, 2022 06:49
-
TBH, nothing that a Virtual Machine hasn't solved in more than a decade,
In all fairness, WLS isn't much different than a tightly integrated virtual machine.
It’s worse than a VM. Lots of really bad trade offs were made.
I haven't used it and wont, only watched it develop from the sidelines. It's apparent that much of the implementation has been sabotaged on purpose. I seriously wonder what user it is targeting.
-
#9 Reply
Posted by
langwadt
on 12 Sep, 2022 06:54
-
TBH, nothing that a Virtual Machine hasn't solved in more than a decade,
In all fairness, WLS isn't much different than a tightly integrated virtual machine.
It’s worse than a VM. Lots of really bad trade offs were made.
like what?
-
#10 Reply
Posted by
bd139
on 12 Sep, 2022 07:45
-
For clarity:
1. The VM is not persistent. When idle it is suspended. That makes running persistent processes and services difficult. Even fg/bg shell process control is problematic.
2. There is no init / systemd / DBus as such.
3. The network routing on HyperV is a horrible shit crock which means there are numerous problems in certain configurations with accessing stuff over VPNs and with typical corporate DNS configurations (have to futz with resolv.conf and chattr). This gets even worse if you have to suffer docker desktop on the same machine.
4. The filesystem driver isn't that great which means copying in and out of the VM by the system mount is not always good.
5. Have seen some issues with time skew as well which is a pain when you are writing deadline critical systems (I am).
6. As the file access model is not logically consistent between POSIX and NT, you get problems with Windows Defender and Crowdstrike interfering with the host system mount resulting in file corruption.
7. Try getting support for anything running in WSL. Answer is always "try it outside WSL and without a Microsoft kernel and come back later".
The above is a complete show stopper for me. I keep the systems entirely isolated.
Worth pointing out my experience is on a very large development team running that stack, not just one solo user. We had 300 people running it.
-
#11 Reply
Posted by
Karel
on 12 Sep, 2022 08:00
-
My use case has less requirements, so it could possibly work fine, haven't tried it yet though.
I developed a viewer for a certain file format that visualizes the content. So, apart from file access there are no special requirements.
All development and testing is done exclusively on Linux and I detest windows so the less time I have to use a vm (for compiling windows binaries) the better.
I guess that in my case, using WSL2 is less cumbersome than installing Linux in a vm.
-
#12 Reply
Posted by
rsjsouza
on 12 Sep, 2022 09:32
-
Uh yeah?
Except that if you actually target Windows, users will want native binaries. Usually. Except maybe for very niche products for which they probably won't care.
Oh and binary-compatibility for Linux binaries across different Linux distros can already be a headache, so not talking about WSL... if you think that'll be as painless as that.
Well, I don't build Windows binaries as much as I do Linux, so my use case is not 100% on point with yours.
Despite I don't have as many troubles as BD139, I do prefer to keep my systems isolated. The sold panacea that WSL is "Linux on Windows" also suffers from the binary compatibility problems across distros you mentioned, so I prefer to have a collection of permanent running VMs with distros I need to support with automated jobs that perform builds automagically and can pull sources from a remote source controlled server.
All in all, isolated VMs work much better for me.
-
#13 Reply
Posted by
Marco
on 12 Sep, 2022 09:44
-
It’s worse than a VM. Lots of really bad trade offs were made.
WSL2 runs in a VM, a homegrown distro with its own init/etc which runs other castrated distros on top but still.
-
#14 Reply
Posted by
Karel
on 12 Sep, 2022 10:00
-
Except that if you actually target Windows, users will want native binaries.
In my case I'm lucky I guess because I don't target windows users but windows users are targeting my Linux application.
Oh and binary-compatibility for Linux binaries across different Linux distros can already be a headache, so not talking about WSL... if you think that'll be as painless as that.
I guess I'm lucky again here because I never experienced problems using the well known and most used distro's.
For example, have a look at Eagle V7 and Telegram. They run practically on every distro as long as the cpu architecture is correct.
Simply put, link static.
-
#15 Reply
Posted by
Karel
on 26 Sep, 2022 10:13
-
-
#16 Reply
Posted by
Ed.Kloonk
on 26 Sep, 2022 10:18
-
-
#17 Reply
Posted by
Marco
on 26 Sep, 2022 13:03
-
It increases cross distribution compatibility, SystemD is a core system library at this point even though it really shouldn't be.
-
#18 Reply
Posted by
dferyance
on 26 Sep, 2022 14:52
-
Except that if you actually target Windows, users will want native binaries. Usually. Except maybe for very niche products for which they probably won't care.
Oh and binary-compatibility for Linux binaries across different Linux distros can already be a headache, so not talking about WSL... if you think that'll be as painless as that.
Yeah I've worked on a few cross-platform GUI applications and targeting Linux was always much harder than targeting Windows. Distros expect everything is distributed in the package manager. There are also all sorts of dependencies where they may or may not be present, the distro might be using some other alternative, or just version compatibility problems. My understanding is Linux has gotten easier with snap and flatpak (I haven't developed for either) but targeting Windows is still much easier. While Linux is good regarding kernel / user-mode compatibility, lots of the other libraries and systems commonly used with Linux aren't great at backwards compatibility. These problems aren't a big deal in a server environment where you have a pre-determined Linux distro or are using Docker to bundle all dependencies, but for independently installed application, they are a major issue.
Still that is good news. I use WSL and had to install a separate X11 server.
-
-
Software distribution is still a weak point for Linux from a commercial POV. (Now if you prefer distributing software as source code, that's a different story. But it doesn't really work in "commercial" environments.)
That's one of the main reasons Linux hasn't been successful on the desktop IMO, and Linus himself said that too. Far above desktop environments - which admittedly are still not that great on Linux, but these days they aren't worse than Windows. Windows 11 pretty much looks like a themed Gnome.
-
#20 Reply
Posted by
james_s
on 27 Sep, 2022 03:02
-
Software distribution is a pain, I think largely due to the fact that are there so many different distros, a doubled edged sword. Snap is unfortunately absolute garbage, the first thing I do with any distro that has Snap is rip all that junk out.
-
-
I think MS is trying to capture a piece of the linux world and user base ... maybe it will work to lock in a small subset of very casual linux users?
I found the integration of WSL to be similar to IE and EDGE ... buried too deeply into the OS, caused trouble at times, can't easily rip it out, etc. I'm not going to trade VMware workstation for WSL(hyper-v). But, maybe this trade fits others, or it will get better in v3.x or later of WSL. It isn't a replacement for me ...
If windows is host OS, I just run linux in vm's, and everything works as expected, including inter-vm connectivity and beyond. If linux is host OS, I just run windows in vm's, and everything works as expected.
Before vm's, I had fun with various native X11 apps on windows ... I got the mouse-tracking eye app on my Windows desktop, the clock, etc. But even that had effort to install or maintain. VM's and the OS inside them just works ...
Give me an extra monitor or three, and I'd have a hard time knowing what host OS is really running on any given monitor ...
-
-
Of course MS is trying to capture everything it can. It already captured desktop computing for the most part. But struggled to capture much of anything else. Except more recently "cloud" services.
They invested a lot in mobile stuff, and failed.
They are investing a lot in Linux stuff, and they will fail.
But they have just so much cash that they can keep trying almost forever.
-
#23 Reply
Posted by
Ampera
on 01 Nov, 2022 23:21
-
I can concur with WSLg being kinda poop. The only windows machine I own is my Surface Pro 8 (which is due for a good linuxing as soon as I have the time), which runs Windows 11.
Out of curiosity, I grabbed a copy of Debian and got some of my favorite Linux-only utilities running, to find out they completely butchered things like HiDPI, and just window management in general. A lot of software doesn't maximize properly, or has graphical glitches, or just straight up crashes where it wouldn't on a real machine. Maybe some of the utilities I'm using are oddball stuff, but either way it's certainly not any big whoop. Also the hardware acceleration is about as suck as one would expect, and as far as I can tell runs using some form of Hyper-V GL passthrough (since real paragpu is cool kids only on nvidia/amd).
Windows has been dead for me for a good few years, and going back to it, it feels like an alien world.