|
|
Log in / Subscribe / Register

DeVault: Announcing the Hare programming language

DeVault: Announcing the Hare programming language

Posted May 3, 2022 11:00 UTC (Tue) by tialaramex (subscriber, #21167)
In reply to: DeVault: Announcing the Hare programming language by atnot
Parent article: DeVault: Announcing the Hare programming language

In modern C++ you're going to have a lot more cases where ownership is represented via a smart pointer (std::unique_ptr or std::shared_ptr), which is something Rust can get behind easily, but Zig can't really help you with. So it's probably going to shade over, C++ code that's mostly 15-20 years old may be happier to work with from Zig, while C++ code that's all written after say C++ 14 might be much easier to work with from Rust via one of the C++ FFI libraries like cxx which understands the standard library smart pointers.


to post comments


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