|
|
Subscribe / Log in / New account

The perils of pinning

The perils of pinning

Posted Sep 16, 2022 22:34 UTC (Fri) by ssokolow (guest, #94568)
In reply to: The perils of pinning by mathstuf
Parent article: The perils of pinning

I'm not sure about the details in C++, so I don't know how they differ, but there's been interest and discussion around designing something placement new-like for Rust for a long time.

(The earliest RFC I could find in a quick search was #1228 from two months after Rust 1.0 in 2015, and it's clearly a continuation of plans for placement new already in progress.

My impression is that it just keeps getting bumped down the priority queue in favour of higher-demand/ROI things like support for C-style untagged unions in the FFI side of things (yes, they weren't present in stable-channel Rust until version 1.19), async/await, GATs, and so on.

(caniuse.rs is a good way to quickly get an overview of what got stabilized when and The Unstable Book is a good overview of the compiler features that are currently implemented for some definition of "implemented" but haven't been committed to stable channel and the language stability promise.)


to post comments


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