Загрузка видео...

Не удалось загрузить видео

На главную

Linus Torvalds says that C is king for OS development due to its efficient hardware interaction and the ability to predict the assembly language output of C code.

3,010,229 просмотров • 1 год назад •via X (Twitter)

Комментарии: 14

Фото профиля Chris Hockenbrocht
Chris Hockenbrocht1 год назад

Maybe... like 25 years ago. Optimizations make this nearly impossible. However definitely still possible on ARM thumb. Have extensive decomp experience. The most complicated thing there is some unrolling.

Фото профиля Rainmaker
Rainmaker2 лет назад

Here I share an XGBoost model that delivers a 25% CAGR with minimal drawdown on Visa stock. In this free Substack post I share code and commentary for a powerful Machine Learning strategy that delivers powerful returns.

Фото профиля Kai Wulf
Kai Wulf1 год назад

I agree C is much closer to the hardware than even Rust. I find attempts at “replacing” C can’t resist adding at least a small layer of abstraction more than what C has. Which kind of defeats the point of a C “replacement”,

Фото профиля logic anarchy
logic anarchy1 год назад

Exactly, that's also the reason why I can't move away from C. I love Assembler!

Фото профиля Stefan
Stefan1 год назад

Maybe with optimizations turned off. But generally no

Фото профиля neptune-v
neptune-v1 год назад

No he is pretty much saying “I am a computer and I am also a compiler” 😂

Фото профиля Daniel
Daniel1 год назад

From what I recall, Linus built Linux because back in the day, UNIX was the Windows of today, only people couldn't afford it, and I'm pretty sure Linus hated that and therefore built his own OS from scratch. Absolute BOSS!

Фото профиля Nordgaren
Nordgaren1 год назад

And that's why Rust is great for malware. Because of how unpredictable the Rust compiler is!

Фото профиля kurb
kurb1 год назад

Every time someone tells me "Oh just use Bun (?)" or "Just use Python" I unsheath this video like fucking Excalibur

Фото профиля Ryan
Ryan1 год назад

Then he shouldn't be switching Linux over to Rust.

Фото профиля Sahar Hamza
Sahar Hamza1 год назад

...

Фото профиля Nichol Dance
Nichol Dance1 год назад

Big feedback loop. CPUs have been optimized for decades to run C. C and Unixish OSs have co-evolved. I'm not sure what a clean sheet would look like. What we have now is not a given.

Фото профиля GizmoKhan 🇨🇦 ❌
GizmoKhan 🇨🇦 ❌1 год назад

I love how he starts by saying "When I started getting into linux -" but then he has to stop and correct himself

Фото профиля deulamco
deulamco1 год назад

Since LLVM, more languages are coming to bite C pie, beside Rust, Zig, Go.

Похожие видео