• Switch to English sign up
Phone or email
Password
  1. Music
  2. Videos
  3. Communities
  4. Mini apps
  5. Games
Mobile app
Recommendation technologies used
C programming in UNIX/Linux
C programming in UNIX/Linux
back to page
Community posts Search posts Wall posts
C programming in UNIX/Linux
C programming in UNIX/Linux
5 Jun at 2:05 pm
Report
Linux Kernel Development - Automatic Cleanup

One of the most common criticisms of the C programming language is that dynamically allocated objects are not automatically released. And those who say this are right: memory leaks are a very common issue in C code, including the Linux kernel. Does that mean that C is useless, and the whole kernel should be rewritten in Rust as soon as possible? Definitely not, and even though some code is being rewritten in Rust, the great majority of the new code added with every release is still in C, and that will not change any soon. Instead, we should try to mitigate current pitfalls with new solutions… or simply start using the existing ones, like the Linux kernel recently did.

#linuxkernel_c_hackers
Linux Kernel Development - Automatic Cleanup 1/2
Linux Kernel Development - Automatic Cleanup 1/2
javiercarrascocruz.github.io
javiercarrascocruz.github.io
Linux Kernel Development - Automatic Cleanup 1/2
6
Like
1
Show shared copies
267
Nicolas Corbin
Nicolas Corbin
Memory leaks don't come from the C language itself, but from how it is used
1
Show likes
5 Jun at 7:12 pm
Share
Mikhail Agarkov
Mikhail Agarkov
Nicolas, that's exactly why tools like Valgrind exist.
Show likes
5 minutes ago
Share
VK © 2006-2024
About VK Help Terms For business Developers Careers
EnglishРусскийAll languages
Go up
Read only the most interesting posts
We'll find posts according to your preferences and create a whole feed from them. Just sign in to check it out.
word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word

mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1