News for hackers. Stuff that matters.
Re:Interview with Ken Thompson (2011) by jstimpfle on Monday August 28, 2017 @05:06AM (#15115330)
Who here thinks they should have made "an object-oriented C" instead? I was under the impression that a big part of C's success (as a lingua france / lowest common denominator) is its minimalism. It forces only a few concepts on its users.
Re:Interview with Ken Thompson (2011) by mpweiher on Monday August 28, 2017 @09:32AM (#15116385)
> "an object-oriented C" ... minimalism

That's Objective-C in a nutshell. Or was, anyway. The most minimal way to have useful OO on C.

Of course, you could make it even simpler if you drop the "must be a superset of C"-requirement.

Re:Interview with Ken Thompson (2011) by euyyn on Monday August 28, 2017 @12:43PM (#15117957)
Maybe the most minimal, but not the most efficient, and C's minimalism is only useful because it lets you be as efficient as the hardware will be. Without that goal, the Lisps are more minimal than both C and Objective-C.
Re:Interview with Ken Thompson (2011) by throwawayfoo on Monday August 28, 2017 @02:27PM (#15118891)
Few people can make sense out of Lisp and fewer actually like it.
Re:Interview with Ken Thompson (2011) by jhbadger on Monday August 28, 2017 @12:49PM (#15118017)
I have a fondness for ObjC because I was a Smalltalk programmer once upon a time (it's also probably why I like Ruby), but you could imagine a simpler object system on par with Object Pascal. I'm actually kind of surprised that nobody tried that but maybe with ObjC and C++ fighting it out people assumed yet another object-oriented dialect would go nowhere.
Re:Interview with Ken Thompson (2011) by penpapersw on Monday August 28, 2017 @10:44AM (#15116831)
Thus Swift.
Re:Interview with Ken Thompson (2011) by mpweiher on Monday August 28, 2017 @12:27PM (#15117781)
Cough. Well, except the the "simple" part...
Re:Interview with Ken Thompson (2011) by penpapersw on Monday August 28, 2017 @12:55PM (#15118085)
Yeah not saying Swift is simple. But its goal was originally (and may still be) to be Objective-C without the C.
Re:Interview with Ken Thompson (2011) by mpweiher on Monday August 28, 2017 @02:43PM (#15118989)
Nope. That was always an empty marketing slogan.

Objective-C is Smalltalk added to C. Objective-C without the C is Smalltalk. Which is, coincidentally, a very simple language.

Re:Interview with Ken Thompson (2011) by pjmlp on Monday August 28, 2017 @07:09AM (#15115759)
A big part of C's success was being a requirement for UNIX systems programming, with 80's startups (Sun, SGI,...) adopting an almost free of charge OS, with source code available, for their workstations.
Re:Interview with Ken Thompson (2011) by FractalNerve on Monday August 28, 2017 @06:48AM (#15115675)
Not sure if it was used in Stuxnet, but an OOC compiler already exists [1] :)

[1] https://ooc-lang.org/