Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not memory-safe, please rewrite it in Rust #705

Open
Akmal4163 opened this issue Sep 27, 2024 · 1 comment
Open

It's not memory-safe, please rewrite it in Rust #705

Akmal4163 opened this issue Sep 27, 2024 · 1 comment

Comments

@Akmal4163
Copy link

No description provided.

@GEOEGII555
Copy link

GEOEGII555 commented Oct 29, 2024

C++ is a lot faster, and if you use it correctly it can be a lot more memory safe than Rust. All the memes around C++ not being memory safe are related to the dangerous and improper usage of the C++ language (such as using malloc instead of the recommended std::shared_ptr, which can automatically release the resources, and then not calling free on the malloced object). See #694 for my PR to rewrite to C++.

@GEOEGII555 closed this issue as not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants