- 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)
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.
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.
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.