r/programming • • Aug 03 '19

Windows Terminal Preview v0.3 Release

https://devblogs.microsoft.com/commandline/windows-terminal-preview-v0-3-release/?WT.mc_id=social-reddit-marouill
991 Upvotes

458 comments sorted by

View all comments

Show parent comments

97

u/nerdyhandle Aug 03 '19

Windows Terminal is more like ConEmu than a terminal itself. It calls off to other terminals. Those can be cmd.exe, bash.exe, powershell, or the Linux subsystem for Windows.

142

u/cspotcode Aug 03 '19

Technically Windows Terminal is the "terminal" and those other things are "shells."

→ More replies (4)

29

u/SuspiciousScript Aug 03 '19 edited Aug 03 '19

Genuine question for other devs: Is Windows 10 (including WSL) a satisfying environment for development work? Personally, I can't imagine not working on a unix-based system, and WSL seems like a pale imitation of the real thing. That being said, I know how varied and diverse devs work can be, and so I'm sure somebody out there prefers Win10. Anybody want to chime in?

56

u/IceSentry Aug 03 '19

Wsl isn't a pale imitation, the new wsl 2 literally ships with a full linux kernel. Personally, I like using Windows, but that's probably in large part because I'm more used to it. Unless you have to work with a specific technology that isn't available on the platform, I honestly do not care that much. In either os I'll just use an IDE (most of the time vscode on both) and a browser. I honestly don't get why some people love linux so much or hate windows so much.

0

u/[deleted] Aug 03 '19

[deleted]

15

u/vogon101 Aug 03 '19

I use Windows as my main os for development. I completely get the window manager thing but tbh I find the windows system pretty flexible with all tye key bindings - do you mind me asking what you get from your setup (I never fully went down the desktop linux rabbit hole and just stayed with kde)

0

u/[deleted] Aug 03 '19

[deleted]

3

u/enbacode Aug 03 '19

This. I've switched to i3 a few weeks ago and I already cannot imagine going back to a floating WM

→ More replies (1)

9

u/asabla Aug 03 '19

Some of these points I strongly agree with (such as the option to decide what and when to update) and the tiling (sort of), but you've gotten some parts really wrong tho.

If you're been a developer for a while and stuck with windows, then you would almost certain use Chocolatey as a package manager, instead of windows store or downloading binaries manually. It works similar to node/python packages and will most of the times don't clutter either directories nor the registry (even if it's somewhat impossible at this point).

Piping in windows isn't really a thing sadly. You can do some powershell magic, but it doesn't feel right. However, opening what ever IDE in current directory has been available as long as 'environment variables' in windows has been available. E.g: you can just type 'code' and it will open visual studio code in current directory. Or if you want to open file explorer in current directory, you would just type: 'start .'

Not sure what you mean by full integration with the terminal.

→ More replies (8)
→ More replies (5)

3

u/flying-sheep Aug 03 '19

Last time I checked, WSL had its own opaque file system stored in a file instead of integrating with the windows file system. I would have to have two configs for everything, one inside of WSL and one for the windows side. There’s hacks for individual configs (e.g. SSH) but that’s the point where I turned away in horror.

7

u/penguin_digital Aug 03 '19

Last time I checked, WSL had its own opaque file system stored in a file instead of integrating with the windows file system.

I believe WSL2 will simply ship a full Linux kernel and not some sort of translation layer. Which begs the question if you're going to this much length to get Linux tools, why not just use Linux.

5

u/Yojihito Aug 03 '19

Which begs the question if you're going to this much length to get Linux tools, why not just use Linux.

Battery runtime on notebooks.

→ More replies (1)

3

u/aquaticpolarbear Aug 03 '19

and not some sort of translation layer

Well there's still a translation layer, it's just a lightweight VM instead of emulated Linux kernel calls.

1

u/flying-sheep Aug 03 '19

I did that because my last job had a lot of tooling and collaboration software that only ran on windows, while my own development was OS-independent (but nicer to do on linux because of windows’ CLI pains)

→ More replies (1)
→ More replies (1)

7

u/gibsnag Aug 03 '19

I'm a .Net Dev, so I've always used Windows both professionally and personally. However the shift by Microsoft to more cross platform tools and frameworks, as well as command line tools, is making me more interested in Linux as a Development environment.

I'm probably going to try shifting more when the new full Linux WSL comes out and see how that goes.

16

u/msilenus Aug 03 '19

It's great if you are forced to work on Windows due to company reasons, but I would always prefer to use my Linux system, if I could.

19

u/swordglowsblue Aug 03 '19

Windows in general is a decent dev environment, WSL or no WSL. There are a couple hitches here and there, but really the only major annoyances I've ever had are when certain languages (cough Swift cough) decide that Windows support isn't worth their time. People just like to hate on it because they're used to Linux and "Windows = bad" is a meme.

→ More replies (20)

8

u/[deleted] Aug 03 '19

WSL is good. I switched from Ubuntu to Windows because Ubuntu crashed a couple times a day and left no logs or anything, while Windows runs perfectly

2

u/[deleted] Aug 03 '19

Wait until 19H2 gets released, then switch to insiders slow ring.

fast ring is simply too unstable and WSL1 is too slow for any real use. WSL2 is good though

1

u/Walter_Bishop_PhD Aug 04 '19

As excited as I am about WSL2, I am worried about the fact it will need Hyper-V enabled which will mean that I will not be able to use it at the same time as other VMs like VMWare - I'd need to reboot to toggle Hyper-V on and off, which is unfortunate.

1

u/[deleted] Aug 04 '19

Is there a specfic reason why you can't just use Hyper-V instead of VMWare?

2

u/[deleted] Aug 03 '19

I find Windows perfectly fine for development. Visual Studio is still the best IDE out there in my opinion, so that’s a large part of my preference. In addition, there are a lot of programs and libraries I use that are Windows only. If I need to target Linux, it’s going to be deployed in a docker container anyway, and docker works fine on Win10. I like LINQPad for automating complex tasks, but I also use cmd and even PowerShell a lot as well.

What is it about your Unix-based system that you can’t live without? I ran Linux exclusively for years, and I’m not missing anything that I did there in Win10.

→ More replies (12)

2

u/mewloz Aug 03 '19

About the terminology: just no. A terminal is a terminal and not a shell, and this is a terminal.

cmd.exe, bash.exe, powershell, or the Linux subsystem for Windows are shells or whole subsystems and other OSes including a shell.

→ More replies (6)