Rust enables Arch Linux on Apple Silicon

preview_player
Показать описание
Why is Rust important? Apple has released their recent news about supporting Linux running on Mac. And Rust plays a huge part. In this video, I give an overview of how Rust has helped the effort to run Linux on Apple.

Chapters:
0:00 Intro
0:29 M1 GPU Overview
1:07 Asahi Linux
3:49 Conclusion
Рекомендации по теме
Комментарии
Автор

On a more serious note, the boot process is not undocumented (Apple has collaborated with the guys at Asahi Linux), but they have to write drivers for pretty much everything.

theondono
Автор

Not just kernel drivers, but *whole kernels* from the ground up are things Rust is also good for.

kennystrawnmusic
Автор

One thing that people rarely talk about is how Rust's safety guarantees can lead to more performant code. You can be way more aggressive applying optimisations in Rust, knowing that the compiler has your back.

Today I just replaced a bunch of owned types with `Cow`s (🐮), and quite literally cut my application's memory usage in half during template rendering. I wouldn't even dare think of doing this in C or Cpp.

scheimong
Автор

I'm currently writing a rust library for the wiimote controller. The library is based on a c library called cwiid. The problem is that the library is targeted to run on an ancient arm Linux platform with glibc below 2.28. The rust library code from the raw c library was quickly written and built with cargo without any issues. The issues came when building the application and linking the c library with all its dependencies for the ancient arm linux. This shows that rust has even more benefits over C when it comes to including libraries and cross compilation.

Ps:
If someone has experience in compiling bluez bluetooth library for arm Linux or has a good idea I would appreciate your help. Thanks.

redcrafterlppa
Автор

I followed this whole process and now, I am using Asahi Linux on my Mac to code in Rust :D

Marlon-ldjx
Автор

This new format with the narration and the visualization just rocks!

linkernick
Автор

Tim Cook in the corner like: "Guards, take her way. We cannot let these Rust drivers fall into the wrong hands."

coolbrotherf
Автор

Apple Silicon MacBooks aren’t overpriced, they’re actually the best value laptops going these days. Which is really saying something. Other manufacturers really need to up their game and properly push ARM64

BearBoiBlake
Автор

GPU Acceleration has been achieved in Asahi Linux at full speed!!

sxifster
Автор

GPU Acceleration is working with Ashahi linux.

carabouzouklis
Автор

How dare you call me pretentious? I use arch btw

theondono
Автор

Nice Videos as usual, but,
Alteast stay transparent regarding the Cheatsheet you're providing!
Do state that you sell the user's data to 3rd party when they signup!
Most of the people don't read Privacy Policy.

rux
Автор

Actually, Apple states that they’re more than happy to allow windows and other programs to run on there and when hardware they could’ve very easily patched the system to not allow Linux to run on it and the only reason Windows doesn’t run on Apple Silicon is because Microsoft has an exclusivity agreement with QUALCOMM

kinda_crazy_art
Автор

With C you can write the perfect tune, with Rust you can write a perfect symphony.

olafbaeyens
Автор

At this point the only reason i haven't switched to rust yet is because i hate the python-like syntax, and i'm weirdly fond of C++'s syntax. I personally would much rather type "void" than "function"

TheLoveMario
Автор

I didn't recived the cheatsheet even after putting the necessary details

tamoghnadey
Автор

Your Cheatsheet link doesn't work. very slow.. !

maverick-
Автор

If you think about it, Apple is essentially just benefiting from the free labor of open source devs since the Apple folks couldn't be bothered to make drivers themselves

Anonymous
Автор

Some links to the source material would be nice

chadsbysea
Автор

Make a gpu driver on a closed af hardware, made by an anti-FOSS company is a tremendous task.

Vindix