"No way to prevent this" say users of only language where this regularly happens
11–15 of 15 posts
Re: "No way to prevent this" say users of only language where this regularly happens
#12Earlier quoted context omitted.
Good point, since of course we’re all using the version of glibc written in the late eighties. (???)
Where in the intervening time would you have recommended a rewrite? Into which language? The other successful libc projects for linux -- bionic and musl -- are also written in C. Which language should they have been written in? Why do you suppose they weren't?
Re: "No way to prevent this" say users of only language where this regularly happens
#13Earlier quoted context omitted.
Where in the intervening time would you have recommended a rewrite? Into which language? The other successful libc projects for linux -- bionic and musl -- are also written in C. Which language should they have been written in? Why do you suppose they weren't?
There may be other reasons it’s the way it is, I’m just saying the language choice made 40 years ago is not one of the valid reasons. People do rewrite things, even complicated things, in different languages all the time when there’s sufficient benefit. There have been plenty of other major changes to glibc in that time.
Re: "No way to prevent this" say users of only language where this regularly happens
#14Earlier quoted context omitted.
There may be other reasons it’s the way it is, I’m just saying the language choice made 40 years ago is not one of the valid reasons. People do rewrite things, even complicated things, in different languages all the time when there’s sufficient benefit. There have been plenty of other major changes to glibc in that time.
So they should rewrite an implementation of the C standard library in not-C?
Re: "No way to prevent this" say users of only language where this regularly happens
#15I'm almost positive the project being dunked on here is older than the author. There are plenty of reasons to hate glibc, but nothing productive comes of this kind of noise. It's not like heap overflows are impossible in other languages. Consult https://github.com/rust-lang/rust/issues/80894 or consult your preferred CVE database. Would love to know what language the author thinks glibc should have been written in in…