|
|
Subscribe / Log in / New account

Defining the Rust 2024 edition

Defining the Rust 2024 edition

Posted Feb 5, 2024 16:44 UTC (Mon) by mb (subscriber, #50428)
In reply to: Defining the Rust 2024 edition by pizza
Parent article: Defining the Rust 2024 edition

>That the entire point; to get a stable ABI in Rust today, you have to essentially demote it to what C provides,
>on both the library provider and library user, even if both are written in Rust.

Which makes it no less stable or usable for stable ABIs than C.
I don't really see the point.

We need stable Rust ABIs, because C has a stable ABI?
Rust *has* a stable C ABI.
What's your point?

> "probably in the future" is not something that someone [considering] using Rust today should ever plan on happening.

What should they do instead? Use C? How does that make any sense? Rust has a C ABI.


to post comments

Defining the Rust 2024 edition

Posted Feb 5, 2024 17:10 UTC (Mon) by pizza (subscriber, #46) [Link]

> What should they do instead? Use C? How does that make any sense? Rust has a C ABI.

If you want/need a stable ABI with Rust, you have to present (and/or consume) a C ABI, because because Rust is unlikely to gain a "Stable Native Rust" ABI in the foreseeable future.


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