-
Notifications
You must be signed in to change notification settings - Fork 640
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
Rust #361
Comments
I've spent some time this last holiday learning some rust and it is definitely something that could be done. The hard question is defining exactly how to fully integrate it into the system. ie, which direction can apis call? Is it okay to define a rust module that C code calls into, or is it more of a C -> Rust as some sort of leaf node library. |
Rust would be a poor choice because it doesn't support all the target architectures. |
Which target architectures are not supported in Rust? We can still have conditional build to use rust for supported architectures? |
Thank you for the reply. For example, the memory manager like dlmalloc written in Rust, the malloc-free api users are written in say C/C++, then the benefits offered by rust, will no longer apply in C program. So would it be very effective, is this the question being considered? |
Are there any plans of moving towards rust? |
Rust has lot of features which can help prevent common memory related issues. Recently Linux Kernel is also moving towards Rust.
Is there any plan for LK to also use Rust?
Thank you.
The text was updated successfully, but these errors were encountered: