TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Is WSL actually ready for developers?

36 点作者 carlosbaraza大约 6 年前

21 条评论

strictnein大约 6 年前
The question isn&#x27;t &quot;Is Windows ...&quot;, what he&#x27;s actually addressing is the question &quot;Is WSL actually ready for developers?&quot;<p>Windows is. All of his issues either seem to be from WSL, complaints about keyboard shortcuts, or not setting up his monitors properly (his claim that Windows doesn&#x27;t properly support 4k monitors is a strange one).<p>To be honest, I don&#x27;t get why he&#x27;s installing VS Code on top of WSL, when you have native windows VS Code. This seems completely unnecessary, but maybe I&#x27;m missing some benefit?
评论 #19443415 未加载
评论 #19443471 未加载
评论 #19443584 未加载
评论 #19443410 未加载
评论 #19445724 未加载
m_mueller大约 6 年前
Agree with all of these. But compared to Macs you get a couple of things:<p>* native and fully supported MS Office<p>* ecosystem of professional windows apps (atm. I need MS SQL Management Studio as an example)<p>* much much better connectivity on laptops. bye bye dongle land.<p>* a wide variety of hardware options to choose from, including ones with great keyboards. even the latest Thinkpads have vastly superior keyboards compared to 2016+ MBP.<p>* gaming<p>At the end for me personally, the tradeoff was worth it. I switched last summer and by now I&#x27;m not missing much. Same with iPhone - switched to an S10e last week and I&#x27;m already used to it. There&#x27;s a couple of things still stuck in Apple land, such as our photo share - not yet sure what I&#x27;ll do about that.<p>I was an Apple customer for 13 years before - at some point I had to cut it off, it made me too angry.
评论 #19443499 未加载
评论 #19443786 未加载
评论 #19443420 未加载
ChrisRR大约 6 年前
I stopped reading at the second line: &quot;As you may all know, developers are a social tribe that is well known for using MacBooks with stickers on them&quot;<p>I don&#x27;t know if this is an American thing or the industry I&#x27;m in, but I&#x27;ve never seen a single developer use a Macbook or have stickers on their laptops. Is this is a silicon valley, web developer kind of thing?<p>Edit: Just to clarify, I&#x27;m a low-level C developer in the UK. Most everyone I know uses Windows&#x2F;Linux and laptops are mostly Dell&#x2F;HP
评论 #19443530 未加载
评论 #19443443 未加载
评论 #19443396 未加载
评论 #19443450 未加载
评论 #19443321 未加载
评论 #19443734 未加载
评论 #19444170 未加载
评论 #19443813 未加载
评论 #19445629 未加载
评论 #19443650 未加载
评论 #19443344 未加载
评论 #19443708 未加载
评论 #19443759 未加载
评论 #19443414 未加载
Crinus大约 6 年前
I do not think Windows ever stopped being an option for <i>developers</i>. Perhaps web developers prefer to use a Unix-like OS since a lot of the work they do is running on Unix, but not all developers are web developers and not all web developers are using a Unix-like OS (FWIW none of the web developers i personally know are using Linux or macOS).<p>I think this sort of perspective is a bit of a bubble, considering that Windows has something around 85-90% desktop&#x2F;laptop market share and developers aren&#x27;t really any sort of special snowflakes to expect anything different (even if Unix-like OSes are more likely among developers, it will only be a bias towards them, not something that inverts a 9 out of 10 statistic).
pixelpush大约 6 年前
<i>&quot;Windows high DPI screens support sucks. I have a 4k screen and everything looks very small. There is an Accessibility option to increase the size of the windows. However, when you do that, most of the applications look very blurry and it is even more annoying.&quot;</i><p>In my opinion, Windows 10 has the best High-DPI support of all systems. It allows you to change scaling in fine increments on per-display basis. Moving windows from one display to another scales them pixel-perfect, if supported. Pretty much all applications I use regularly work fine.<p>On Linux, the only thing I found to work out reasonably well is 2x scaling. I can&#x27;t speak for Mac OS, but in my recollection the non-2x scaling isn&#x27;t pixel-perfect.<p><i>&quot;The text is rendered very poorly in Windows, creating a kind of chromatic aberration around it.&quot;</i><p>This is ClearType sub-pixel rendering and again in my opinion it&#x27;s the best font rendering of all platforms, though FreeType on Linux works about as well. Font Rendering on Mac OS is just blurry by comparison. With Retina displays it doesn&#x27;t matter so much anymore, but it was really annoying on the lower res displays.<p>Perhaps the author has it misconfigured for his displays and needs to run the builtin &quot;ClearType Text Tuner&quot; tool.<p><i>&quot;Microsoft has made great efforts to support the needs of developers and creators, but as of 2019, I think OSX is still a stronger option for developers.&quot;</i><p>If you implicitly rely on a lot of UNIX-specific stuff, Windows will suck. That probably won&#x27;t ever change.
robmaister大约 6 年前
As someone who develops primarily on Windows and occasionally uses a Mac Mini to build iOS binaries, I feel vastly less productive when I&#x27;m using macOS. I&#x27;ve also come to realize I use my Home&#x2F;End keys a lot since my Magic Keyboard doesn&#x27;t have them.<p>It&#x27;s not that macOS isn&#x27;t &quot;developer ready&quot;, it&#x27;s that I&#x27;m used to the Windows way of doing things and have those keyboard shortcuts in muscle memory.<p>The main reason I like Windows as a development environment is Visual Studio. I wouldn&#x27;t trade my data breakpoints, variable watch list, memory views, and Intellisense for anything. Then again I&#x27;m working on games, i.e. multi-million line C++ projects that run on 4+ platforms. Most of that stuff is unnecessary in other situations.<p>Also good luck getting any of the console devkits&#x2F;SDKs to run on anything but Windows.
评论 #19444086 未加载
评论 #19444036 未加载
orev大约 6 年前
It has always bothered me that developers insist on using Macs for development. Sure, it’s Unix, but how many servers are running macOS? Zero.<p>You need to develop on a platform that matches what’s running in production. Production almost always uses some form of Linux, so you at least need a local VM running Linux. Then it doesn’t matter if you have Windows or Mac as your main OS, and you can use the tools you need in those platforms, but otherwise actual builds and testing should be happening on the VM.
评论 #19443795 未加载
评论 #19443768 未加载
评论 #19443655 未加载
评论 #19444020 未加载
评论 #19443518 未加载
评论 #19443614 未加载
Areading314大约 6 年前
I develop on windows using wsl and jet brains suite, and I&#x27;ve never been more productive. In general I find windows to have much better keyboard shortcuts than mac, because of universal alt key menu navigation. I&#x27;ve also learned over time that the more you can script away your cli workflows, the less RSI you&#x27;ll develop. Plus the hardware is much cheaper.
davidhyde大约 6 年前
I find Windows to be more and more hostile towards development these days. Windows 10 may have a very impressive kernel but the UI (aka Explorer) is a nightmare of &quot;simplified&quot; screens. Something like UI spaghetti.<p>Windows search and windows defender constantly spin your laptop cpu fan to max speeds because, you know, nobody minds a noisy laptop that they are not actively using.<p>Windows updates are constant, slow, often fail altogether and completely out of your control. Your machine may reboot at any time so good luck with that long running task. It&#x27;s like they shipped a swimming pool that was actually a sieve and they are madly patching it every day.<p>Windows doesn’t respect the users desire to put the laptop to &quot;Sleep&quot;. It will wake up at any time and often just stay awake and drain the battery.<p>Windows has also become some sort of hybrid advertising and tracking device which you can, admittedly, disable although some things like the search listening service Cortana really does not like being disabled.<p>Not everything is doom and gloom however. The virtual machine engine HyperV is extremely fast and easy to manage making things like Android development is a pleasure. Visual studio keeps getting better too.
shawnz大约 6 年前
&gt; The text is rendered very poorly in Windows, creating a kind of chromatic aberration around it. Coming from an Apple MacBook, this turned out to be quite annoying, because I didn’t know if my design looked bad or if it was just Windows messing up with it.<p>I think the OP is describing an intentional feature (subpixel antialiasing). Mac OS Mojave disabled this feature by default because you don&#x27;t need antialiasing if your screen resolution is very high. The chromatic aberration is ugly, granted, but the technique allows you to get a higher effective horizontal resolution which ultimately improves readability on low-resolution displays. And if you don&#x27;t need it, well, it can be disabled on Windows too: <a href="https:&#x2F;&#x2F;www.isunshare.com&#x2F;windows-10&#x2F;turn-off-or-on-clear-type-text-in-windows-10.html" rel="nofollow">https:&#x2F;&#x2F;www.isunshare.com&#x2F;windows-10&#x2F;turn-off-or-on-clear-ty...</a>
gfiorav大约 6 年前
I use WSL for NodeJS professionally, and I can&#x27;t find any troubles. It was hard to get to the point were my terminal was easy to look at, but that&#x27;s it.<p>There&#x27;s also a great community of Windows employees bettering Windows Console, with honesty and humbly (they even created a themer that reads iTerm2 style files).<p>With a bit of patience, you can get it to the point where you never look back.<p>Also, very important: my employer disables real-time protection, which otherwise would make WSL unbearably slow. Make sure you test on an old PC before committing fully to it.
hunta2097大约 6 年前
IMO there is a slight history of people wanting to &quot;look the part&quot; by having a Mac. This seems to be changing though, my company has shifted to XPS-15s running Ubuntu and people seem to be loving it.<p>If your company relies on MS Office (we use G-Suite and Confluence) you might not have such an enjoyable time.
GnarfGnarf大约 6 年前
The article refers specifically to Web development.<p>I manage &amp; develop a Win32 desktop app (because that&#x27;s what my customers use). I am converting to Qt so I can also run on macOS.<p>I cannot imagine why I would ever consider an option that does not run on the Mac, such as WPF or WinRT.<p>(My customers hate Parallels, VMWare Fusion and Wine).
评论 #19443897 未加载
dariusj18大约 6 年前
I used to use a mac, but moved to Windows when it became obvious that Apple isn&#x27;t making top of the line laptops anymore. My old MBP was one of the best computers out and stayed at the top, spec wise, for a while. Eventually I needed more, but when I looked at what I could get for the money, Macbook Pros were ridiculous.<p>Moving to Windows had its hurdles, when an program doesn&#x27;t support font scaling it&#x27;s a pain in the ass, I bought a non-4k monitor just to make sure I would always have the ability to use apps that broke on my 4k.<p>WSL is amazing and easy to use. Mostly I found I missed the Windows ecosystem. OSX has a few nice programs, but does not compare to the options available for Windows.
avryhof大约 6 年前
Just moved from Linux to Windows at work.<p>It&#x27;s not WSL I find myself using to have a good shell experience. It&#x27;s MinGW&#x2F;mintty. I even got a plugin to wrap it around WSL, since the Windows console experience is pretty painful. I miss my middle-click pasting and nice color schemes.<p>I just wish I could setup the path translations in PyCharm to use the same mapping. Things work, (and not too bad) but I just hate having to rewrite all of the paths in my environmental variables.<p>My other gripe is with the Cisco VPN client running all internet traffic through it, rather than having OpenConnect sort it out ahead of time.... but that&#x27;s not really a Windows issue.
scarpino大约 6 年前
My company doesn&#x27;t allow Linux machines, and I prefer a Unix-like environment for the work we do, so it&#x27;s Mac for me. I could do most of what I need on Windows, but I feel like doing my work on Windows takes ten more steps than it does on the Mac.<p>I prefer using Windows at home, and I <i>can</i> write software on it just fine.
dwags大约 6 年前
I&#x27;ve got a pc and mac and I web develop on both -- Normalized hotkeys in vscode and I use git bash. Have to hop in to cmd for some very specific things but I could really care less which machine i&#x27;m on if i&#x27;m just developing
modzu大约 6 年前
yes, we&#x27;re in a more cross-platform world now than ever before!! you have WSL and git bash, intellij tools are class-leading, etc. that said, if you&#x27;re not a gamer, why not linux?<p>EDIT: oops, thought this was an ask-hn.
smrtinsert大约 6 年前
I don&#x27;t understand the Mac dominance. The last few updates on MacOS have bricked so many coworkers machines. Unbelievable.<p>Font rendering, yeah ok, still seems to be nicer, literally that&#x27;s the only advantage I see.
austincheney大约 6 年前
I typically write Node apps. My build step, test cycles, and application commands all execute identically on Windows and OSX.
nnq大约 6 年前
As someone who kept switching Window -&gt; Linux -&gt; Windows -&gt; Linux -&gt; finally Mac, I can say that <i>a MacBook is a breath of fresh productive air for anyone developing software intended to run on a Linux server somewhere but still wishing to have photo&#x2F;video-editing and ms office software at hand:</i><p>- all Linux stuff you&#x27;d want is available and &quot;just works&quot;<p>- default Terminal is amazing and enough for me and most (iTerm 2 is there for whoever wants more) you&#x27;ll get a sane Linux-like experience where copy paste just works in the terminal etc. (not the hellish terminal experiences you&#x27;d have on Windows even with smth like WSL) - also, even things like the touchbar play well with Terminal, you can open a man page from touchbar, change terminal bg color shade from TB to mark a production server ssh terminal tab as &quot;dangerous&quot; with a shade of red etc. ...lots of &quot;small touches&quot; that matter a lot<p>- mac keyboard is amazing for developers (you&#x27;d get the wrong impression that it&#x27;s bad for developers from people complaining about the touchbar upgrade, but disregard that):<p>-- having Cmd and Ctrl keys be different means that you can have all you unixy&#x2F;emacsy ctrl-p&#x2F;n&#x2F;b&#x2F;f&#x2F;a&#x2F;e just work in all your desktop GUI apps too (the feel of having ctrl-a&#x2F;e work in Chrome, VSCode, and other &quot;regular apps&quot; is <i>amazing!</i>), and the same time you can Cmd+C&#x2F;V copy&#x2F;paste in the terminal same as in other app - <i>it&#x27;s hard to put in word the nice warm fuzzy feel this good mixing of unixy-world with GUI-world gives you!</i> (it&#x27;s the opposite of Windows where the &quot;two paradigms&quot; feel like locked in a cold war with each other and you always have to switch your brain when switching tools)<p>-- Fn key is in the right correct place you&#x27;d expect it, bottom left, <i>just like on the Thinkpads you know and love!</i><p>-- OS settings allow easily remapping things like CapsLock -&gt; Ctrl that lots of people will do (if you&#x27;re more into Vim than Emacs you&#x27;ll do CapsLock -&gt; Esc, that&#x27;s in standard settings too)<p>- multiple virtual desktops + external monitors etc. works productive and intuitively: if you love Gnome, you&#x27;ll likely love MacOS too! (Also, tools like Divvy give you some features of tiling window managers if you&#x27;re into this, and they also enable windows-like split-left&#x2F;right shortcuts. Btw, there&#x27;s an equivalent tool for Gnome&#x2F;Gnome-based-Unity on Linux side too).<p>I&#x27;d urge <i>all</i> developers coding for Linux or Android to leave Windows for a while and try either (1) Linux on a Thinkpad (preferably a Gnome-based desktop if you&#x27;re a developer new to Linux: Ubuntu, Pop!_OS, Fedora etc.) or (2) a MacBook: both experiences are slightly annoying to get used to at first, but dramatically increase your &quot;feel good&quot; factor and productivity! Windows may seem enticing hardware-wise (SurfaceBooks are amazing with their nvidia gpus etc.), but unless you write software targeting the Ms ecosystem, they are horrible machines for both developers and creative people imho... Window should be <i>your last option in 2019 if you&#x27;re a developer!</i>