Posts
4564
Following
317
Followers
476
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

🔮CatSalad🐈🥗〰️ƒɭ ⃘🅍.␎

Tabs vs Spaces

1
15
3
Edited 11 months ago
I have good news!

The best available documentation on Rust-Linux still exists (when compared to anything else available, including Linux own documentation):

https://www.nccgroup.com/us/research-blog/rustproofing-linux-part-14-leaking-addresses/

I emailed to NCC Group and they've had just changed the URL. It is four part series, and the first part contains the URLs for rest of this series.

Documentation can be written from either "how"-angle or "why"-angle. For me the "how"-angle is irrelevant because I always read the source code from end to end :-) So I don't get whole a lot from existing kernel documentation.

#rust #linux #kernel
2
3
8
Edited 11 months ago
Why NPC's suck in games if the AI is great?

When Fallout 4 came out I stopped playing story oriented games because I started to feel like that I'm in a universe consisting of FSM's, which based on quiz trigger animation sequences ;-) No joke. Have not played story oriented games after 2015.

I guess you could improve a lot of taking some ideas of caching, tessellation algorithms and occlusion culling and apply them to AI. Like make "Quake solution" for AI. The best version would be used for the nearest entities, as it doesn't matter if the dudes far away are drunk/high ;-)
0
0
1
Second verse should be about unmuting the mic.
1
0
0
@Danijel_Majic They used to call doom scrolling "screen fun" back in the day
0
0
0
Everybody knows Phil Collins, i.e. the guy made gated reverb popular :-)

https://www.youtube.com/watch?v=m2siy25EWto
0
0
0
@Aissen I still claim that it does it because you have the vision and talent that the tool further enhances ;-) Not that different if I order renovation for my kitchen most likely the contractor is either passionate either of Makita or Bosch instead of using e.g. Ikea tools. Still they can identify limitations and benefits of e.g. impact drill of either brand.

Makita and Bosch are literally like that in the construction business (I've noticed) :-)
0
0
1
I have a company logo. It is "acid-ready" #inkscape
1
0
0
@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 11 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 11 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 11 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
Show older