5 ms·
I don’t use Windows anymore so I don’t really have any investment in WSL, but I’m happy to keep seeing things in the WSL camp get even better. I’d argue WSL is
by jonpalmisc 5y ago
I don’t use Windows anymore so I don’t really have any investment in WSL, but I’m happy to keep seeing things in the WSL camp get even better. I’d argue WSL is the single best Windows innovation in years.
- alerighi 5y agoStill WSL2 lacks of two fundamental things: the lack of bridge networking (being able to connect to a server running in the WSL from another host in the LAN) and the lack of sharing serial ports with the host (better would be USB devices, but at least WSL1 did share serial ports and since most microcontroller programs and debug with serial port it was sufficient).
- _xerces_ 5y agoYou can work around the serial port issue using something like Comm Tunnel: https://www.serialporttool.com/GK/comm-tunnel/ https://www.serialporttool.com/GK/comm-tunnel/ Open Comm Tunnel and setup for your com port (from device manager) and port 2101 Then in WSL2 use socat to connect: socat -d -d tcp-connect:172.18.96.1:2101 pty,raw,echo=0 It will output something like: >socat[18786] N PTY is /dev/pts/2 Then from within WSL2 you know to use '/dev/pts/2' as the COM port for serial and it will connect to the COM port. It works most of the time for me, but Comm Port seems lag if the throughput gets too much for it to handle.
- dTal 5y agoI, on the other hand, wish it to be as painful and frustrating to use as possible, so that developers are pushed into using (and therefore by extension maintaining and improving) the real thing. I do not wish Microsoft or their "embrace and extend" strategy well. If Microsoft really "loved Linux" they'd release their own version of Wine. Let us use their programs on our OS, instead of vice versa! Never forget that this relationship is fundamentally adversarial.
- dgellow 5y ago- WSL2 - modern Windows Terminal - winget Things have become really cool for devs in the Windows world, I almost don’t have complaints these days :) (other than GUI related stuff and that Windows Insider is really unstable, but I guess that’s on me for using the dev channel)
- fartcannon 5y agoAnd all they had to do is hamfist an actual worthwhile operating system into their machines.
- dgellow 5y agoPeople hate on Windows but I personally find Win32 and the NT kernel really cool. It’s a really interesting OS once you start digging into it.
- fartcannon 5y agoThe hate is for the business of Microsoft and the people who perpetrate it.
- dgellow 5y agoI mean… you literally wrote “hamfist an actual worthwhile operating system into their machines” when talking about Linux running via WSL. If that’s not a vague critique towards Windows, the operating system, I don’t know what that is.
- idatum 5y ago+1 on combination of WSL2 + Windows Terminal. Use VSCode as Windows process (if you prefer) as your WSL2 editor; extensions can be installed on WSL2. I also use Python + OpenCV4.5 + cudnn (CUDA) for computer vision work leveraging GPU compute. Just an outstanding addition to Win10. WSLg on Win11 adds graphics and pulse audio.
- sharken 5y agoI mistook WSL with CUDA support for WSLg. For WSLg you still need Windows 11 which is disappointing.