Praise Be Windows Subsystem for Linux
Posted: Fri Jul 09, 2021 3:04 am
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
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