D mentioned on Rust discussions site
Dibyendu Majumdar
d.majumdar at gmail.com
Sat May 23 13:18:38 UTC 2020
On Saturday, 23 May 2020 at 02:37:23 UTC, Walter Bright wrote:
>
> Restrict working requires great care on the part of the
> programmer to not make a mistake with it, as it is unchecked by
> the compiler. Which means the vast majority of users will just
> introduce subtle bugs when they try it. Which means no sane
> programmer will use it.
>
Dennis Ritchie wrote a paper on why 'noalias' precursor to
'restrict' was an 'abomination'.
http://www.lysator.liu.se/c/dmr-on-noalias.html
> VLA relies far too much on the vagaries of the stack
> implementation. Hence it's unportable and unreliable.
>
> C missed some obviously great ideas. One is nested functions,
> which fit right in with C's semantics. The other is the fix for:
>
> https://www.digitalmars.com/articles/C-biggest-mistake.html
I do not think it was a mistake at all. Treating pointers and
arrays uniformly is one of the great innovations in C.
https://www.lysator.liu.se/c/bwk-on-pascal.html
I for one am glad that C is stable and not being constantly
tweaked. In part this is why it is so successful.
More information about the Digitalmars-d
mailing list