-
How does Golang deal with this? It doesn't. And to be fair, Rust doesn't either.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
How does Golang deal with this? It doesn't. And to be fair, Rust doesn't either.
-
But then why does bindgen attempt to have bitfields at all. Yes, I see the unsafe but wouldn't it be "safer" to recommend exporting C helper getter/setter functions to deal with this? I actually don't understand how any crate can say they have "C-compatible" bitfields.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.