Originally posted by perpetually high
View Post
Announcement
Collapse
No announcement yet.
Linux 5.15 Working Towards Comprehensive Compile-Time & Run-Time Detection Of Buffer Overflows
Collapse
X
-
- Likes 2
-
Originally posted by Ipkh View PostC is just old and clunky and not designed around being memory safe.
Sure, it's not perfect. Neither is the Constitiution. You don't just "bail" on it because it's old. C is tried, and proven. Just needs a good developer to code it.
Sorry, I just feel like yours is an old (yet trendy) opinion, don't think it holds too much weight. Sure, rust improves on it. Doesn't mean you bail on C.
- Likes 1
Leave a comment:
-
I remeber that LWN had a more in depth look at this for those that are interested but maybe not quite up to reading the patch series. This was a couple of months ago, so some details might have changed though: https://lwn.net/Articles/864521/
- Likes 1
Leave a comment:
-
The real mystery is why there is no update in the language’s standard. It’s not like that compile time checks can’t be added to C.
- Likes 3
Leave a comment:
-
That's ridiculous, the whole point of a higher level Language is to abstract away the architectural details. The Compilers job is to translate the code into whatever memory setup the target machine uses.
C is just old and clunky and not designed around being memory safe. It just wasnt a concern at the time. Most early architectures didn't even have protected memory in the first place.
- Likes 3
Leave a comment:
-
Originally posted by tildearrow View PostThis is where C doesn't shine. It is a very simple language and allows compilation to nearly every computer architecture out there, but memory management is a total mess and there are absolutely no checks, which makes the language hard to master.
- Likes 3
Leave a comment:
-
This is where C doesn't shine. It is a very simple language and allows compilation to nearly every computer architecture out there, but memory management is a total mess and there are absolutely no checks, which makes the language hard to master.
Prepare for the Rust comments...
- Likes 6
Leave a comment:
-
Linux 5.15 Working Towards Comprehensive Compile-Time & Run-Time Detection Of Buffer Overflows
Phoronix: Linux 5.15 Working Towards Comprehensive Compile-Time & Run-Time Detection Of Buffer Overflows
The latest security effort being pursued by Google's Kees Cook is to provide full compile-time and run-time coverage of all detectable buffer overflows...
Tags: None
- Likes 2
Leave a comment: