Posts
4417
Following
315
Followers
469
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1
@glent Well, that's one way to look at it, I personally don't feel that way :-)
0
0
0
I'm working as a contractor through my own company so I guess I put that to my social media profiles instead of who I have a contract with :-) I pay my own salary for myself starting from October.

Right now I'm learning basics of #Inkscape because I don't have money to pay for a logo :-) It won't be great but it will be my own.

I'm using #IBM Plex font in this. I got the understanding that it is open source but have to check if the licensing terms allow to use it in a company logo.
0
0
4
Where the love for programming language, tool or technology begins, engineering ends ;-)

Engineering is art an of identifying things that suck, and finding ways to make them suck less.

#engineering #programming
1
2
3
Also for anything totally new in core architecture of any large platform: tooling tends to always lag at minimum couple of years behind ;-) Narrative of this story is always excitement, disappointment and finally growing up. Thus, I have zero doubts that Rust would not grow up as essential part of Linux core architecture over time.

It would be ultimate stupidity to make any other prediction. Even if I hated Rust I would make the same analysis because I'm a pragmatic realist.
0
0
0
Edited 10 months ago
I wish XCOM 3 will arrive some day. Every time I start playing Phoenix Point I get far but at some point I have too many stations and ships, get frustrated and give up.

Something in-between Phoenix Point and XCOM 2 in terms strategy/arcade factor would be nice.

BTW, speaking of games, why do NPC's suck so much if AI is so great? I cannot play story oriented games at all these days, not even the most visually pleasing like Cyberpunk, because despite all the nice graphics, I'm surrounded by FSMs. They just trigger stupid scripts causing pre-sequenced behavior. Why this is not fixed now that AI takes over everything? :-)
0
0
0
@vbabka LOL, I was going to sleep and remembered this. I thought that if I wake up early you won't have a window put that comment 🤣 I knew this was coming on me...
1
0
2
In any project, not just open source, more robust you can get the builds, more useful developments will foster from that. It is factors more important than any specific feature.
1
0
0
Edited 10 months ago
Two years of being in the mainline is a short durationin kernel. Some feature patch sets take longer. For most part I'm wondering why people go crazy of not much happening on Rust side.

More patch sets like this are best possible effort for Rust enablement (and BTW, it is in C ;-) ):

https://lore.kernel.org/lkml/20240815173903.4172139-21-samitolvanen@google.com/

Once GCC-Rust catches up I'd expect more to happen as that will unlock for instance embedded toolchains and give at least theoretical chance to have something with Rust in a defconfig.

I'd contribute and/or wait another 3-5 years before making any fast conclusions. Linux is no worse in this than any other operating system, which decades of legacy to worry about. There is no unfortunately fast path here anywhere.
2
1
2
Edited 10 months ago
In addition to the NCC Groups awesome article series RTIC demonstrates how a low-level architecture can be documented without requiring enormous stretch in understanding all the nitty gritty details of Rust:

https://rtic.rs/2/book/en/

RTIC is a hard real-time OS framework. The documentation has exactly the domain information that helps to match the core concepts to the Rust artifacts and quickly also grasp those.

#rust #linux #kernel #rtic
0
1
2
Edited 10 months ago

I (accidentally) removed two symbols from a curl header that have been deprecated and without functionality for over 17 years.

Result: of course there is still code out there using those that now reports build failures...

Keeping absolute backwards compatibility is real work.

2
1
1
@corbet Despite maybe a different viewpoint I say my views with the hopes that Rust integration, spread and reach will all improve 🙂 Personally Ive found existing kernel documentation, yes, messy but also full of details that I actually need. Ive used Rust in userland professionally since early 2022 so not exactly a ”denialist”. I do get its benefits especially in the uapi layer.
0
0
0
@corbet it is also a money question. We must enforce big companies like Microsoft to use a portion of their Rust budget to make it happen if they are unwilling otherwise. It is also in the long run best for Linux Rust governance. Ie great and well documented features.
1
0
0
@corbet It could be improved by being more integral part of the review process. NCC Groups article series ”Rustproofing” provides a good example of how to explain Rust kernel internals. I see it just as a process improvement, not something that I would expect to be fixed in fast phase. Starting from simple example there is rustdoc/kdoc and rst/md. I could not find any guidance which convention should be used for documenting an exported symbol.
1
0
0
Edited 10 months ago
At the gates of hell - The Lake of Hell national park
0
1
3

i got so angry after reading this paper on LLMs and African American English that i literally had to stand up and go walk around the block to cool off https://www.nature.com/articles/s41586-024-07856-5 it's a very compelling paper, with a super clever methodology, and (i'm paraphrasing/extrapolating) shows that "alignment" strategies like RLHF only work to ensure that it never seems like a white person is saying something overtly racist, rather than addressing the actual prejudice baked into the model

1
5
1
@lina gcc rust compatibility is a non-opianated constraint against taking Rust code to anything in any arch defconfig.
0
0
0

Asahi Lina (朝日リナ) // nullptr::live

Edited 10 months ago

From Jason Gunthorpe, maintainer of 5 Linux kernel subsystems:

IMHO the current situation of Rust does not look like success. It is basically unusable except for unmerged toy projects and it is still not obvious when that will change.

Today I learned that my Apple AGX GPU driver, which is the kernel side to the world's first and only OpenGL and Vulkan certified conformant driver for Apple Silicon GPUs, and also the FOSS community's first fully reverse engineered driver to achieve OpenGL 4.6 conformance, and which is used by thousands of Asahi Linux users in production, and that literally has never had an oops bug in production systems not caused by shared C code (unlike basically every other Linux GPU driver), is "an unmerged toy project".

(He works for Nvidia, I guarantee he's heard of it, considering we beat nouveau and NVK to GL 4.6 conformance.)

I guess this is what Linux kernel maintainers think of us Rust developers, that we only write "toy projects"...

15
12
3
@drewdevault Rust landed 2 years ago to mainline. It is not uncommon timeline for a large feature patch set. Can take longer too. And we are talking like a completely new programming language. When the announcement came (was it 6.1), I was like "very cool, this will probably realize into something within 10 year timeline".

One persons rejection is other persons governance.
0
0
0
Show older