Get the top HN stories in your inbox every day.
zadjii
zamadatix
Thanks for the work on WT, it was really a massive step up I did not expect after all of these years.
zadjii
You're most welcome! Working on it to help serve the whole developer ecosystem has been the delight of my career :)
typpilol
Just want to say built in glyphs makes terminal ANSI art awesome.
I forked a colorscripts project and added some true ANSI art after conversion and the built in glyphs look so much better than any other font.
It's great but is there any special rendering for the built in glyphs that's not possible with fonts? Just curious
bluedino
Any similar benchmarks for MacOS?
I daily drive a couple Macs and enjoy them but I can't help but notice they seem slower in the terminal than the alternatives. Can't get any kind of discussion on /r/mac as it's just 'Apple silicon is fast!'
thewebguyd
You can run the tests yourself, he describes them in the blog. Used the Is It Snappy! app to measure frames.
I tried the throughput test myself just now between the native macOS terminal and ghostty.
Ghostty: cat /tmp/lines.txt 0.00s user 0.02s system 36% cpu 0.069 total
Native mac terminal: cat /tmp/lines.txt 0.00s user 0.02s system 18% cpu 0.115 total
Seems much faster than any of the OP's windows terminals tested except for MinTTY.
Likewise in one unscientific test with Is It Snappy, ghostty took 8 frames to render the output from pressing the key, but I didn't repeat multiple times.
So, seems faster, but I know what you are talking about, I experience it too. Something about using the terminal on macOS feels sluggish compared to alternatives. It's especially noticeable for me over SSH
matternous
This has been posted on HN a few times and seems to show that terminal.app is your best bet for most cases if you care about latency: https://danluu.com/term-latency/
worthless-trash
Terminal app has no truecolor support, no highres mouse support, no kitty graphics protocol, no double height character support, i'm sure there is more but I now discard it from my tests.
Aurornis
This was a great article when it came out, but it’s very outdated. The laptop used is over 10 years old now.
beanjuiceII
seems like outdated info
thermalmotion
Any chance of getting native support for Serial (DB9/RS232) communication in Windows Terminal? Would love to use it but I'm still using PuTTY and HyperTerminal.
jcgl
Is there not a suitable CLI or TUI client for Windows that can simply be called from within Windows Terminal? Honest question. I just know that on Linux, it'd be really weird to ask for my terminal emulator to embed a serial client rather than call e.g. screen or minicom from my shell.
zamadatix
I think it has been discussed but not implemented yet. In the meantime, tools like https://github.com/fasteddy516/SimplySerial give what you are looking for instead of those alternative GUI tools.
digitalDM
I recommend Tera term. https://github.com/TeraTermProject/teraterm/releases
opello
As much as I like PuTTY the ergonomics for "monitor this port as I plug/unplug the USB-to-Serial adapter" are so much better in TeraTerm.
snvzz
Indeed. Plus some serial file transfer protocols. At least xmodem, ymodem and kermit.
GeorgeTirebiter
Is there something lacking in PuTTY ?
zamadatix
The PuTTY terminal has a few more features in certain areas but a lot fewer features overall. Also, of course, PuTTY does not share profiles/settings/window tabs+panes with WT, which is a bit of a pain.
randomtoast
In case you want to compare the latency on Linux: https://beuke.org/terminal-latency/
CamperBob2
Does it still pause scrolling and stop whatever's running if you click on the window or press a key? That's one big reason why I still live in a plain old DOS box. It didn't appear that the Windows terminal developers had ever heard of ctrl-s.
alexchantavy
Dang, I've never heard of anyone who actually _wanted_ that behavior haha, I've had so much wasted time in school projects where I thought something was running but it wasn't because I had selected text in cmd.exe haha.
1718627440
It stops running? I thought it just stops the output.
shigawire
If you are waiting for the output as an indication that a task completed and you never see that output you may think the task is still running but it is actually done.
Has happened to me quite a few times.
larkost
I am not sure that if it actually stops the program, but it does at least stop programs from printing, so for anything that gives feedback on stderr/stdout you are at least pausing the main thread. I have a mostly-non-threaded program that this happens to, and it does not continue to send messages to other systems until I un-pause it.
hobs
That's called QuickEdit Mode and you have been able to turn that off for decades (and installing the new terminal fixes that too.)
Otherwise click the top left icon, go to settings, uncheck QuickEdit.
undefined
jwatte
All my shell RCs turn off xon/xoff -- that's a relic from the PDP-11 days we can all do without. Windows has the Scroll Lock button that's supposed to do this if you need it, but typically, just selecting a character in a terminal emulator will stop the scroll while still buffering the output.
Cold_Miserable
Is there a simple way to get the "Legacy Console" back without having to format and reinstall windows? Installing packages / the windows modules installer is broken.
PKop
(2024)
zonovar
Not really on 'latency' per se as discussed in the articole but an interesting take on slow terminals is Casey Muratori's famous rant on the topic [0] that led him to write his own terminal [1], a reference renderer for monospace terminal displays that is several orders of magnitude faster than Windows Terminal despite being largely unoptimized.
undefined
0x1ch
Another aspect of this is which pipeline is in use for the GPU accelerated terminals. *WezTerm on Windows for example, specific rendering issues occur with default NVIDIA settings related to DXGI.
You will never interact with this pipeline if using the Web GPU vulkan renderer, which has its own issues. I personally experience some form of memory leak / latency when working in terminals that have been open for a 'good' amount of time.
undefined
semiinfinitely
[flagged]
princevegeta89
Windows is not really just a gaming OS, at least after WSL was launched. Development experience using Windows Terminal + WSL has been pretty great when I did it 3 years ago - I can only imagine it being better today.
Also note that the cost of Windows machines is half the price of their Mac counterparts, even with the specs doubled.
For many folks Windows is an all-round multipurpose platform (gaming included) and they wouldn't want to invest in other machines just for doing development work, so they stick to it as their main OS. Yes we know of the horrible bloat, tracking and privacy invasion that the OS does to us, but many people tend to just ignore it and move on.
thewebguyd
> Yes we know of the horrible bloat, tracking and privacy invasion that the OS does to us, but many people tend to just ignore it and move on.
Or in the case of enterprises, Windows gets controlled and managed by a (hopefully) competent IT team or enterprise desktop group, and with LTSC versions Microsofts give them the tools to strip the bloat, tracking, and most of the privacy invasions (to then be replaced with corporate privacy invasions in a lot of cases).
Point being, Windows as an enterprise user desktop is a whole different beast from Windows on the laptop mom and dad just bought from Best Buy.
HN lives in a macOS/Linux bubble, but outside of SV it's a Windows world still. So much of the world runs on Windows in places that you wouldn't even expect to see Windows. And with enterprise purchasing agreements, you can get some good deals on bulk laptop purchases that you aren't getting from Apple. $1,000 or less per 32GB of RAM laptop, depending on how many you are buying. I've seen bulk purchases as low as $700/laptop for enterprises that buy thousands at a time for scheduled refreshes. You're not going to be able to buy everyone a MacBook Pro for that pricing.
Windows remains one of the best general purpose OSes for generic office worker productivity, and I don't see that changing anytime soon unless Microsoft really fucks it up with whatever Copilot garbage they are doing.
harvey9
My work laptop is Windows and IT have removed the bloatware but the desktop is still a shitshow. Clicking on a window in the taskbar doesn't even reliably bring it to the front.
jiggawatts
> LTSC versions
Microsoft consultants very actively discourage the use of LTSC for... "reasons".
Translation: "It hurts our KPIs if our telemetry starts falling off and we can't push Minecraft and AI updates to as many desktops at will!"
yoyohello13
Yeah My company requires Windows. windows Terminal + WSL at least makes development bearable.
eptcyka
Why not run Windows in a VM?
skrebbel
You’re right but you’re responding to a troll.
Night_Thastus
We use WSL for development where I work.
Sadly, the one problem with WSL(g) is graphical rendering. It can't handle DPI scaling properly at all (yes, even with experimental settings) and the result is blurriness, gigantic mouse cursor, clicks not registered where the cursor appears to be, or itty-bitty icons and UI that you can barely see.
I can't stand that they haven't fixed it in all this time.
flatline
It has gotten better. The `vmmem` hyper-v process would regularly freeze up and require a reboot on my Windows 10 work laptop. I’ve successfully run WSL for days/weeks without issue on Windows 11. As a tradeoff, I’ve had the Weston container freeze up and be unrecoverable without restarting WSL.
pinkgolem
>Also note that the cost of Windows machines is half the price of their Mac counterparts, even with the specs doubled.
Bullshit, MacBooks are one of the cheaper options for usable devices today. Esp in there entry segment.
undefined
chrisweekly
Yeah. An M4 macbook air is about a grand.
epolanski
I program on Windows every day.
It's my go to machine, I also own a MBP m1 and an m3 max with 48 GBs, but my Windows desktop is by far the most capable machine of the three (a notebook cpu and ram, even the m3 max are still notebook hardware) and the OS I like the most for programming.
I program mostly in WSL2, so essentially in Ubuntu, but the terminal lives as a Windows executable.
MacOS is really a subpar development experience to me and it's plagued with issues, from very subpar docker support and performance to it's far from flawless experience on many languages I use regularly (e.g. Haskell) that are far from the Linux standard.
I love it as a notebook though, great hardware and battery life, but I'm at home most of the days.
thewebguyd
> MacOS is really a subpar development experience to me and it's plagued with issues, from very subpar docker support and performance to it's far from flawless experience on many languages I use regularly (e.g. Haskell) that are far from the Linux standard.
Aside from that, the window management in macOS leaves a lot to be desired still without third party tools, and even with them it's not fantastic.
Don't get me wrong, I love my macbook pro, but bugs & privacy issues aside with Windows, I'd prefer to just use it on my macbook's hardware. I've been full time on macOS since the M1 air and I still can't grok the app v. window model macOS uses. I'm sure it made sense when workflows were centered around documents, but they aren't anymore, and over half the apps are just browsers. I prefer each instance to be standalone like Windows and Linux do it.
Then again, I'm not a dev, I'm an IT manager. My day to day involves multiple browser windows each with many tabs, spreadsheets, meetings, & notetaking on my iPad, etc. macOS's workflow of "focus on one or two "apps" at a time" doesn't work for me. I'll stand by my statement that Windows is still the king of "general business productivity."
yndoendo
I program on Windows for work daily.
You have to pay me to use Windows and Microsoft products.
There are so many alternatives that have higher standards. I keep having regressive issues with Visual Studio. The OS quality has been continually degrading. Microsoft is even pushing to have a @microsoft.com account on their Windows embedded IoT variants. There should be no reason an embedded OS requires an online account nor that XBox and other useless features baked in.
I wont event touch how bad the User Experience has become in their Office products and how much of their products have inconsistent key combinations. Ctrl+F ...
epolanski
I can imagine your pain points, albeit luckily they do not overlap with my use case.
I'm not sure about the alternatives with higher standards though, and I say it as someone who operates two MacOS machines, a windows and an Omarchy one
They all have pros and cons, it's perfectly fine if we have different experiences.
bionsystem
As an SRE I did most of my work from windows as almost all of my jobs required it (only one provided a working Ubuntu laptop). Mostly used it only for firefox and PuTTY. At home it was W10 + WSL or virtualbox but mostly used it for games initially and then browsing.
BUT as from W11 which I tried for 11 minutes, I switched to Fedora and didn't look back. Everything felt buggy, start menu taking forever, buttons switching places, apps wouldn't start but then randomly would, and of course ads. I know there are debloat scripts around but didn't have the patience, I felt if I'm going to try a new OS I might as well try Linux before buying a Windows license.
Now Linux has its issues, the occasional icon disappears, sometimes shutdown doesn't entirely shut down the machine and I have to power the machine down (electrically from my outlet), sometimes updates don't go through, and of course I miss excel and a couple other things (although I was far from a power user and OnlyOffice fits my needs). But it's still better and with KDE there is almost no config to get a similar "feel" as W10. Amusingly I actually use MORE apps now that I trust installing new stuff more.
That said I would probably pay a premium to dual boot occasionally on a supported Windows OS without bloat, probably it would be my default boot even.
chrisweekly
Docker Desktop app for macOS might be a shitshow, but Colima -- or, apparently, Orbstack which I'm excited to try -- should make that moot.
theoldgreybeard
You couldn’t quadruple my salary to get me to program on Windows.
It’s either Mac, Linux native, or I walk.
ganelonhb
What’s the point of doing anything ever? Because we can, that’s it. Some people happen to use Windows for things other than gaming (remarkably).
theoldgreybeard
Well, for one, if you develop games for said gaming OS you’re probably doing it on the gaming OS in question and would like the tools to be nice to use.
Also it’s not just a “gaming OS”.
Brian_K_White
It's worse than a gaming OS. It's the free or cheap version of a Fire tablet.
MisterTea
A better question: why are we optimizing typewriter emulation?
nighwatch
Developing on Windows can be troublesome at times, but I still prefer how it feels to use. For development alone, macOS is probably the best choice since it provides a native Unix environment. I just happen to enjoy the Windows interface more, even if it means dealing with extra setup.
thewebguyd
> macOS is probably the best choice since it provides a native Unix environment
And the first thing I do is install the gnu coreutils because it still ships really old BSD utils, and everything expects linux-isms now.
In that regard, macOS is worse than Windows+WSL which at least is real Linux with a real package manager. macOS being better OOTB was true Pre-WSL/Windows 7 era where your choices were macOS for a UNIX with a really nice desktop environment and working sound, or taking a gamble with Linux on your hardware and praying everything worked. Windows was a non-starter for any development that wasn't win32, lest you were a masochist that wanted to deal with Cygwin and the like.
I say this as someone still all-in on the "Apple Ecosystem" across all devices, Apple fans that are also developers all seem to be blind to the ways Apple has been slowly boiling the frog and making macOS hostile to developers in all other aspects of the OS outside of it having a unix terminal. Apple is outright hostile to developers at times.
WD-42
Why you throwing shade at my two best friends, Linux and Proton, like that?
cadamsdotcom
With the amount of work Windows seems to need just to use it - decrapification, bypassing account creation, constant vigilance that your changes aren’t undone by Windows Update.. - it’s also a gamified OS ;)
Get the top HN stories in your inbox every day.
Notably this article was written based on Windows Terminal 1.18. That was before WT 1.22, which included this PR: [^1] which roughly doubled the terminal's throughput. That combined with a couple of other PRs in 1.22 made some scenarios up to _16x_ faster[^2]
[^1]: https://github.com/microsoft/terminal/pull/17510
[^2]: https://devblogs.microsoft.com/commandline/windows-terminal-...