Linux kernel is switching to a modern C! Why? Lets study the source code and see why

Linux kernel is switching to a modern C! Why? Lets study the source code and see why

Jadi

2 года назад

166,464 Просмотров

Ссылки и html тэги не поддерживаются


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

HWstar
HWstar - 30.09.2023 08:36

Linux has been on C11 for a while now

Ответить
fixfaxerify
fixfaxerify - 26.09.2023 23:07

Can hardly think of anything more modern than a 1999 programming standard.

Ответить
__Hannibaal__
__Hannibaal__ - 06.09.2023 03:54

The alphabet has more than 3000 years; ans so C

Ответить
Thomas Merz
Thomas Merz - 22.04.2022 18:28

ᑭᖇOᗰOᔕᗰ

Ответить
kablouser
kablouser - 01.04.2022 05:21

If goto wasn't used, the problem wouldn't exist. I don't understand why people use goto statements.
edit: after watching the rest of the video, I think you would need {} to scope _req around the list_for_each_entry function. But switching to intermingled declarations and code is still the better solution, I think.

Ответить
charlinhow
charlinhow - 01.04.2022 03:44

That's such a great video. Will forward to all my family members.

Ответить
Þó Games
Þó Games - 22.03.2022 05:20

How do key people involved with kernel manage to keep their inboxes open for anyone to email to, while still keeping them organized and respond to bug reports and have conversations with other key people? Aren't they getting flooded by internet trolls and 4ch\n or cancel culture mobs? Do they have a really awesome firewall/filter?
Really curious.

Ответить
Rob
Rob - 21.03.2022 09:13

When is this coming out?

Ответить
Head Librarian
Head Librarian - 21.03.2022 06:11

C99 isn’t remotely “modern”, it’s barely different from C89, which is basically ANSI C. Do C17 and then we’ll talk. Or better yet write in C++.

Ответить
gast128
gast128 - 20.03.2022 13:18

As a software architect indeed one strives to solve things globally instead of locally. A bit surprising to me that Linux is still using an old version of C since C99 has some very wanted features (i.e. inline functions; flexible variable declaration and restrict keyword). Linus rant on the end is totally uncalled for.

Ответить
nya~
nya~ - 20.03.2022 11:56

the irony is that this still wouldn't fix the bug, just force people to fix this pattern of bug

Ответить
MGTOW Rubicon
MGTOW Rubicon - 20.03.2022 04:31

This is why I prefer C source code compilers that generate assembler code, which is then assembled.
I can read the generated assembler code and verify that the generated code is what I expected from the C source code.

Ответить
pcuser80
pcuser80 - 19.03.2022 12:38

Linux is kernel. Commodore 64 / Vic20 = kernal.

Ответить
Tony Ng
Tony Ng - 19.03.2022 08:03

This is fine as long as it isn't c++

Ответить
Nob1e J0n
Nob1e J0n - 18.03.2022 09:25

This was really fun to explore. Never thought I'd be interested in diving into the Linux kernel code, but this walkthrough was very informative. I like your style. It's very easy to follow. I subscribed. The algorithm worked today!

Ответить
Pekka Päivää
Pekka Päivää - 18.03.2022 07:00

Linux is moving to garbage. And you should learn English

Ответить
g g
g g - 17.03.2022 08:05

What software are you drawing red lines with?

Ответить
Joon Park
Joon Park - 17.03.2022 05:58

Jadi is so good at explaining difficult concepts fun and entertaining.

Ответить
Pendulum theComplicatedOne
Pendulum theComplicatedOne - 17.03.2022 02:04

love from Pakistan 🇵🇰

Ответить