News for hackers. Stuff that matters.
Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by josephg on Tuesday June 09, 2020 @08:28AM (#23466016)
Has performance improved in wsl?

I was playing around with it a few months ago and filesystem-intensive operations (like running npm install) were horrendously slow. Has that changed with wsl2?

I’ve been considering picking up a ryzen laptop and running Linux on it, and trying that out as a daily driver. But I don’t have any patience these days for the hacky wifi driver installation dance. And I’m nervous after having a Linux laptop cook it’s own battery when it failed to sleep properly in my backpack. It’s been a couple decades - do Linux laptops just work yet?

Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by eknkc on Tuesday June 09, 2020 @08:35AM (#23466057)
I tried WSL a year ago. Filesystem was slow and it was slow everywhere.

WSL2 improves that by offering fast fs on linux side. The boundary is still slow. For example, if you go into /mnt/c and use git status on a large repo it will need to go through the boundary. It is slow (not painful but not pleasant)

My current setup has all my source code on the linux fs (/home/user) and I access them using VSCode remote extensions. The performance is fine. I can't really tell if native macos experience or this is faster. I also tried JB iDEA. It works across the filesystem boundary and even if the access is slow, it does not reflect to real world usage much. But you'll feel it if you look for it.

Another option is to run GUI apps on Linux side and use an X11 server on Windows. This just works fine and they recently announced that the WSL will have built in support for Linux GUI apps.

Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by qalmakka on Tuesday June 09, 2020 @12:24PM (#23467995)
> do Linux laptops just work yet?

Linux on laptops is fine nowadays. Recent versions of the kernel vastly improved battery life on Intel. It's much better than it was 10 years ago.

Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by abrowne on Tuesday June 09, 2020 @12:47PM (#23468237)
Agreed. I only have experience with Intel graphics, but all the recent machines I've installed Ubuntu on have just been install and it works. If you pick a distro that doesn't include non-free drivers/firmware, you might have to do some more work to get wi-fi working.
Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by 2OEH8eoCRo0 on Tuesday June 09, 2020 @03:03PM (#23469651)
What about Nvidia drivers with Wayland? If I remember correctly Nvidia drivers don't work with Wayland and for touch gestures I need Wayland so because of the Nvidia and Wayland mess I can't have touch gestures which seems totally strange that they would be intertwined with touchpad.
Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by qalmakka on Wednesday June 10, 2020 @03:07AM (#23474714)
Sadly, Nvidia has shown multiple times to be extremely user hostile and only concerned in keeping its hold on the computing space. There are I think almost no other reasons to refuse to write an open driver except to avoid to expose exactly how CUDA works, I think. AMD's new open source driver is plug and play, and a true joy to use. In general I avoid Nvidia as much as I can, especially on laptops where I honestly don't see the appeal of having a dedicated monster that wrecks your battery every time you power it on. New iGPUs are excellent, especially those from AMD, and for bigger tasks assembling a desktop computer gives you much more processing power for a way lower price.
Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by 2OEH8eoCRo0 on Friday June 12, 2020 @04:06PM (#23503270)
I understand where you are coming from but at the end of the day it works flawlessly on Windows and not on Linux and to the user that's all that matters. I really don't care whose fault it is.
Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by Maakuth on Tuesday June 09, 2020 @08:36AM (#23466065)
Yes indeed. WSL 2 launched a few weeks ago with the latest Windows 10 version, and it has different sort of filesystem setup. WSL 1 had a Linux-like view of some subdirectory of the host NTFS filesystem, so all the fs IO went through Windows kernel. In WSL 2, there's an ext4 image instead, so filesystem access is essentially as fast as with any Linux system in a virtual machine.
Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by RealStickman_ on Tuesday June 09, 2020 @09:23AM (#23466433)
Make sure to check how well supported your wifi card is. If you try something like Ubuntu drivers generally should be less of a problem. Though you may have to upgrade to the 5.7 kernel for better support of the cpu. I rarely sleep my laptop so I can't tell you anything about that, but general usage on my hp laptop (i5 7200u, intel igpu and intel wifi) has been working fine for me the last six months with Arcolinux on it.
Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by qalmakka on Tuesday June 09, 2020 @12:27PM (#23468030)
You really have to have a super crappy card to have Wi-Fi issues on Linux. Nowadays laptops have mostly Intel, Qualcomm/Atheros or Broadcom chipsets which work flawlessly out of the box. The only problems I had in the last years were due to Killer WiFi cards or crappy Realtek-based USB dongles, both of which kinda sucked on Windows too in the first place.
Re:Apple Plans to Announce Move to Its Own Mac Chips at WWDC by wayneftw on Tuesday June 09, 2020 @10:30AM (#23466969)
Try Manjaro Linux on your laptop. Last laptop I installed it on, everything just worked.

And it's based on Arch, so you'll be able to take advantage of the excellent Arch software repo and wiki (if necessary).