|
|
Subscribe / Log in / New account

Rust in the Linux kernel (Google security blog)

Rust in the Linux kernel (Google security blog)

Posted Apr 15, 2021 21:10 UTC (Thu) by mathstuf (subscriber, #69389)
In reply to: Rust in the Linux kernel (Google security blog) by mss
Parent article: Rust in the Linux kernel (Google security blog)

> Also, sometimes you also want to act differently on a NULL pointer, using it for example for making some of the parameters optional.

As I said elsewhere in this thread, you *really* want `std::optional<T&>`, but that has an awful functional spelling or T*.


to post comments


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