|
|
Log in / Subscribe / Register

Rust

Rust

Posted Jan 21, 2022 19:25 UTC (Fri) by ballombe (subscriber, #9523)
In reply to: Rust by tialaramex
Parent article: The kernel radar: folios, multi-generational LRU, and Rust

Is there an usable subset of rust without object metadata ?


to post comments

Rust

Posted Jan 26, 2022 18:37 UTC (Wed) by iq-0 (subscriber, #36655) [Link]

What do you mean with object metadata? Rust doesn't have RTTI if that's what you mean. Aside from DWARF information it only has vtables for trait objects that are used in the code (bare minimum, those things are basically structs with function pointers like one would use in C for this same problem). If you're referring to the name mangling (the loooong type signatures) those have more to do with the way Rust solves diamond dependency conflicts and the liberal usage of templated types.


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