T
Tom Gardner
Guest
On 15/08/20 03:51, Les Cargill wrote:
Too many people /think/ they know C.
I first used C in ~81, and learned it from the two
available books, which I still have. The second book
was, of course, a book on traditional mistakes in C
\"The C Puzzle Book\".
It is horrifying that Boehm thought it worth writing this
http://www.hpl.hp.com/techreports/2004/HPL-2004-209.pdf
http://hboehm.info/misc_slides/pldi05_threads.pdf
and that it surprised many C practitioners.
Rust directly addresses some of the pain points.
If you think C and C++ languages and implementations
are fault-free, I\'d like to visit your planet sometime
You can start with the C++ FQA http://yosefk.com/c++fqa/
Watching (from a distance) the deliberations of the C/C++
committees in the early 90s was enlightening, in a bad way.
One simple debate (which lasted years) was whether is ought
to be possible or impossible to \"cast away constness\".
There are good reasons for both, and they cannot be
reconciled.
(Yes: to allow debuggers and similar tools to inspect memory.
No: to enable safe aggressive optimisations)
Worse: 30 years!
I first used it in \'88, and thought it a regression
over other available languages.
Oh, we\'ve all seen too many examples of that, in hardware
and software! The trick is recognising which bring worthwhile
practical and novel capabilities to the party. Most don\'t,
a very few do.
The jury is out w.r.t. Rust and Go, but they are worth watching.
Tom Gardner wrote:
On 14/08/20 04:13, Les Cargill wrote:
Tom Gardner wrote:
Rust and Go are showing significant promise in the
marketplace,
Mozzlla seems to have dumped at least some of the Rust team:
https://www.reddit.com/r/rust/comments/i7stjy/how_do_mozilla_layoffs_affect_rust/
I doubt they will remain unemployed. Rust is gaining traction
in wider settings.
I dunno - I can\'t separate the messaging from the offering. I\'m
fine with a C/C++ compiler so I have less than no incentive to
even become remotely literate about Rust.
The Rustaceans seem obsessed with stuff my cohort ( readld people )
learned six months into their first C project. But there may
well be benefits I don\'t know about.
Too many people /think/ they know C.
I first used C in ~81, and learned it from the two
available books, which I still have. The second book
was, of course, a book on traditional mistakes in C
\"The C Puzzle Book\".
It is horrifying that Boehm thought it worth writing this
http://www.hpl.hp.com/techreports/2004/HPL-2004-209.pdf
http://hboehm.info/misc_slides/pldi05_threads.pdf
and that it surprised many C practitioners.
Rust directly addresses some of the pain points.
It is not-not a thing; the CVE list shows that. I am just appalled
that these defects are released.
If you think C and C++ languages and implementations
are fault-free, I\'d like to visit your planet sometime
You can start with the C++ FQA http://yosefk.com/c++fqa/
Watching (from a distance) the deliberations of the C/C++
committees in the early 90s was enlightening, in a bad way.
One simple debate (which lasted years) was whether is ought
to be possible or impossible to \"cast away constness\".
There are good reasons for both, and they cannot be
reconciled.
(Yes: to allow debuggers and similar tools to inspect memory.
No: to enable safe aggressive optimisations)
Linus Torvalds is vociferously and famously opposed to having
C++ anywhere near the Linux kernel (good taste IMNSHO).
Don\'t take any cues from Linus Torvalds. He\'s why my deliverables
at one gig were patch files. I\'ve no objection to that but geez...
And C++ is Just Fine. Now. It took what, 20 years?
Worse: 30 years!
I first used it in \'88, and thought it a regression
over other available languages.
The reasons for \"no C++ in the kernel\" are quite serious, valid and worthy of
our approval.
He
has given a big hint he wouldn\'t oppose Rust, by stating that
if it is there it should be enabled by default.
https://www.phoronix.com/scan.php?page=news_item&px=Torvalds-Rust-Kernel-K-Build
I\'ve seen this movie before. It\'s yet another This Time It\'s Different
approach.
Oh, we\'ve all seen too many examples of that, in hardware
and software! The trick is recognising which bring worthwhile
practical and novel capabilities to the party. Most don\'t,
a very few do.
The jury is out w.r.t. Rust and Go, but they are worth watching.