Praise Be Windows Subsystem for Linux

It's all about the code!
Post Reply
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Praise Be Windows Subsystem for Linux

Post by AndreyB »

I have a confession to make: at the moment my rusEFI firmware and unit test setup is Windows + Linux via Praise Be https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

Why? Because naked Windows linking time for rusEFI unit tests on a fancy SSD Dell made in 2019 is unacceptable. It's all about NTFS not working well with small files blah blah blah they say. Virtual ext4 mapped into a large NTFS file turns out faster than native NTFS workflow.

Anyway.

Step 1: have Windows 10 not below, enable/install WLS 2, install Ubuntu from Windows Apps - Microsoft Store. Yes, install Ubunty from Windows Apps - Microsoft Store. Windows. Microsoft. Store. Ubuntu. I am not making this up!

Step 2: I am using VcXsrv Windows X Server see see https://sourceforge.net/projects/vcxsrv/

Step 3: install Eclipse into your ubuntu under WSL. Profit! Now I get acceptable linking speed for rusEFI unit tests and I can happily practice https://en.wikipedia.org/wiki/Test-driven_development at a healthy pace
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
mck1117
running engine in first post
running engine in first post
Posts: 1494
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Praise Be Windows Subsystem for Linux

Post by mck1117 »

dbh97
contributor
contributor
Posts: 93
Joined: Sat Jul 19, 2014 10:43 pm
Location: 67867
Github Username: chuckwagoncomputing
Slack: dbh97

Re: Praise Be Windows Subsystem for Linux

Post by dbh97 »

I’d just like to interject for a moment....

Someday we will convert Andrey to Linux. :lol:

- btw i use manjaro
mck1117
running engine in first post
running engine in first post
Posts: 1494
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Praise Be Windows Subsystem for Linux

Post by mck1117 »

Q: How do you know if somebody uses Arch?

A:
dbh97 wrote:
Fri Jul 09, 2021 2:52 pm
- btw i use manjaro
Post Reply