|
|
Log in / Subscribe / Register

Losing the magic

Losing the magic

Posted Dec 5, 2022 17:01 UTC (Mon) by marcH (subscriber, #57642)
Parent article: Losing the magic

> The kernel community has, for many years now, tried to use type-safe interfaces rather than passing void pointers around, making it less likely that the wrong structure type will be passed into a function.

Some "void *" statistics would be great. They can be really hard to avoid in generic code and so-called "private data"


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds