On 1 Sep 2017, at 07:46, Larry McVoy
<lm(a)mcvoy.com> wrote:
On Thu, Aug 31, 2017 at 04:37:17PM -0400, William Cheswick wrote:
I look to the likes of go and rust to get us back
on track. C is a pretty good assembly language.
So what chaps my grumpy old hide is why the heck do a whole new language
when you have one that is pretty good? Suppose we took C and added a
dialect via options:
--no-ptrs // use arrays and indices, you get bounds checking
--strings // system managed memory for strings, like tcl
--perlisms // if (buf =~ /re/) and unless (it_worked())
etc. Why create an entirely new language, new syntax, new linkage, etc,
instead of fixing C's shortcomings?