Dennis Ritchie RIP
(Log in to post comments)
Dennis Ritchie RIP
Posted Oct 13, 2011 3:01 UTC (Thu) by anamana (guest, #2787) [Link]
Time (epoch-seconds) starts on 1/1/1970 for a reason.
Salute!
Dennis Ritchie RIP your legacy...
Posted Oct 13, 2011 13:12 UTC (Thu) by shylock_1 (guest, #80769) [Link]
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("\033[2J\033[;H"); /* Clear the screen */
printf("\nHello World -- by DM Richie\n");
printf("Your legacy remain radiant, an emanating lights for those\n");
printf("New and young developer and an old timers those pass through\");
printf("your ERA - Denis M Richie.\n\n");
/* exit */
return (EXIT_SUCCESS);
}
/*********************
Rest in Peace.
**********************/
Dennis Ritchie RIP your legacy...
Posted Oct 13, 2011 15:11 UTC (Thu) by nix (subscriber, #2304) [Link]
Dennis Ritchie RIP your legacy...
Posted Oct 13, 2011 16:58 UTC (Thu) by jengelh (subscriber, #33263) [Link]
Dennis Ritchie RIP your legacy...
Posted Oct 13, 2011 18:37 UTC (Thu) by HelloWorld (guest, #56129) [Link]
Dennis Ritchie RIP your legacy...
Posted Oct 14, 2011 1:55 UTC (Fri) by galanom (guest, #80787) [Link]
Dennis Ritchie RIP your legacy...
Posted Oct 14, 2011 3:28 UTC (Fri) by HelloWorld (guest, #56129) [Link]
No it's not, at least not in the current draft. Section 6.7.6.3, paragraph 14:
"An empty list in a function declarator that is part of a definition of that function specifies that the function has no parameters."
Dennis Ritchie RIP your legacy...
Posted Oct 14, 2011 21:45 UTC (Fri) by jengelh (subscriber, #33263) [Link]
Dennis Ritchie RIP your legacy...
Posted Oct 17, 2011 11:50 UTC (Mon) by jwakely (subscriber, #60262) [Link]
An empty list in a function declarator that is part of a definition of that function specifies that the function has no parameters.i.e. In a function definition (as opposed to a prototype)
int main() is the same as int main(void) and so is correct.
Dennis Ritchie RIP your legacy...
Posted Oct 14, 2011 16:32 UTC (Fri) by tjc (guest, #137) [Link]
On a more pragmatic level,gcc -Wall doesn't complain about main(). If it's good enough for -Wall, then it's good enough for me. ;)
Dennis Ritchie RIP your legacy...
Posted Oct 14, 2011 16:41 UTC (Fri) by HelloWorld (guest, #56129) [Link]
Dennis Ritchie RIP your legacy...
Posted Oct 15, 2011 11:37 UTC (Sat) by da4089 (subscriber, #1195) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 3:33 UTC (Thu) by Baylink (guest, #755) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 4:00 UTC (Thu) by jcm (subscriber, #18262) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 4:36 UTC (Thu) by surajvijayan (guest, #17740) [Link]
RIP Dennis..
Dennis Ritchie RIP
Posted Oct 13, 2011 11:22 UTC (Thu) by jamesmrh2 (guest, #31680) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 12:07 UTC (Thu) by nix (subscriber, #2304) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 15:08 UTC (Thu) by Baylink (guest, #755) [Link]
How many versions of C are there? 2? Maybe 3? In 3 and a half decades?
How many versions of Your Favorite Programming Language are there? :-}
Dennis Ritchie RIP
Posted Oct 13, 2011 15:12 UTC (Thu) by nix (subscriber, #2304) [Link]
Other languages are all very well, and many of them are very nice, but none ever quite manages to knock C off its perch.
Dennis Ritchie RIP
Posted Oct 13, 2011 18:51 UTC (Thu) by HelloWorld (guest, #56129) [Link]
While that is true, it doesn't mean C is a great language. Actually, I think it should have died a gory death 20 years ago. Unfortunately, it is too entrenched among systems programmers today to ever be replaced :(
Dennis Ritchie RIP
Posted Oct 13, 2011 20:53 UTC (Thu) by drag (guest, #31333) [Link]
Tautologic
Posted Oct 14, 2011 1:36 UTC (Fri) by man_ls (guest, #15091) [Link]
The same can be said about every other language, or about anything in fact! Tell you something, I have programmed using about a dozen languages now, and if I were to go back to C I would miss functional programming and (proper) objects a lot. But the heritage (from the syntax to so many ideas) is truly remarkable.
Dennis Ritchie RIP
Posted Oct 14, 2011 1:59 UTC (Fri) by galanom (guest, #80787) [Link]
And yes, C is a great language. The only thing I miss from other languages is nested functions...
Dennis Ritchie RIP
Posted Oct 14, 2011 3:31 UTC (Fri) by HelloWorld (guest, #56129) [Link]
Then you either don't know enough other programming languages or you're just a really poor programmer.
Dennis Ritchie RIP
Posted Oct 14, 2011 6:33 UTC (Fri) by bronson (subscriber, #4806) [Link]
Dennis Ritchie RIP
Posted Oct 14, 2011 6:44 UTC (Fri) by chad.netzer (subscriber, #4257) [Link]
Dennis Ritchie RIP
Posted Oct 14, 2011 7:34 UTC (Fri) by acooks (subscriber, #49539) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 15:21 UTC (Thu) by Wol (subscriber, #4433) [Link]
Fortran 77
Fortran 90
Is there another later one?
But it seems like the old ones are still the best ones. (Oh, and I think there's only been one version of eg Forth, Smalltalk, and so on, but they're extensible (and extended till they're unrecognisable :-))
Cheers,
Wol
Dennis Ritchie RIP
Posted Oct 13, 2011 17:01 UTC (Thu) by daglwn (guest, #65432) [Link]
Fortran 2008
Dennis Ritchie RIP
Posted Oct 16, 2011 3:58 UTC (Sun) by prudra (guest, #80820) [Link]
Dennis Ritchie RIP
Posted Oct 14, 2011 4:13 UTC (Fri) by BenHutchings (subscriber, #37955) [Link]
There are at least:
- Unix versions 3-6 (not sure how large the changes were between these)
- Unix version 7 / K&R 1st edition
- ANSI C89 / ISO C90
- ISO C99
- ISO C11
But I don't think most C programmers have been much affected by changes after 'ANSI C', even though they are important to some.
Dennis Ritchie RIP
Posted Oct 14, 2011 16:44 UTC (Fri) by tjc (guest, #137) [Link]
Dennis Ritchie RIP
Posted Oct 21, 2011 17:19 UTC (Fri) by giraffedata (guest, #1954) [Link]
But I don't think most C programmers have been much affected by changes after 'ANSI C', even though they are important to some.
And they weren't even affected much by ANSI C. How often do you see "const" and bit fields used in C?
Tradition seems to be a big part of the culture of C. In addition to this not embracing new features, I think of tab characters and editor choice. I think that love of tradition accounts for its persistence more than anything.
Dennis Ritchie RIP
Posted Oct 13, 2011 21:57 UTC (Thu) by Julie (guest, #66693) [Link]
The others are learning languages. C is a *real* language.
Quite. When I expressed an interest in learning C, my far more experienced brother told me to learn Pascal first instead. I conceded to his wisdom although I didn't understand why at the time - until I began tackling C...I really liked Pascal. But I _love_ C.
I don't suppose there will ever be any furore over the passing of Ritchie as there is over Jobs. Says it all, really...
Dennis Ritchie RIP
Posted Oct 14, 2011 21:07 UTC (Fri) by dashesy (guest, #74652) [Link]
I believe C is a better learning language because it is honest, and once you learn C the rest become more enjoyable too.
Dennis Ritchie RIP
Posted Oct 15, 2011 0:51 UTC (Sat) by HelloWorld (guest, #56129) [Link]
C syntax is so natural and addictive.Yeah right. Stuff like
void (*signal(int, void (*)(int)))(int);
is totally natural. And this is not some random contrived example, but a declaration from the standard library.
Dennis Ritchie RIP
Posted Oct 15, 2011 11:12 UTC (Sat) by mpr22 (subscriber, #60784) [Link]
The syntax for declaring objects of pointer-to-function type being a bit hairy does not invalidate the general sentiment, and that particular case (declaring a function with a function-pointer argument and a function-pointer return type) is only a problem because the standards committee declined to set up the obvious typedef.
Dennis Ritchie RIP
Posted Oct 15, 2011 16:50 UTC (Sat) by HelloWorld (guest, #56129) [Link]
The syntax for declaring objects of pointer-to-function type being a bit hairy does not invalidate the general sentiment,It's not only that, the syntax for declaring pointers to arrays suffers the same problem. And what bugs me most about it is that it would have been trivial to fix this: make * a postfix operator and use "i int;" instead of "int i;" for simple declarations. signal then becomes
signal(*(int) void) *(int) void;Unfortunately, it's not going to happen :(
Dennis Ritchie RIP
Posted Oct 17, 2011 0:56 UTC (Mon) by ncm (subscriber, #165) [Link]
When familiar element of a new language has stupid syntax, it's unforgivable -- yet they all do, even Go. Old languages get a free pass, because who knew, then? C has bad declaration syntax. LISP has ... well, everything. Yet they are above criticism. They have succeeded where so many others failed. To complain about them only reveals your insecurity.
C and C++ could still be fixed very simply by allowing a postfix dereference operator (in addition to the prefix one). "@" would serve.
Dennis Ritchie RIP
Posted Oct 17, 2011 11:45 UTC (Mon) by jwakely (subscriber, #60262) [Link]
auto signal(int, void(*)(int)) -> void(*)(int);
Dennis Ritchie RIP
Posted Oct 17, 2011 13:21 UTC (Mon) by HelloWorld (guest, #56129) [Link]
auto signal(int, void(*)(int)) -> void(*)(int);
Hey, let's be consequent ;)
auto signal(int, auto (*)(int)->void) -> auto (*)(int) -> void;
Dennis Ritchie RIP
Posted Oct 19, 2011 8:02 UTC (Wed) by ncm (subscriber, #165) [Link]
C and C++ could still be fixed very simply by allowing a postfix dereference operator (in addition to the prefix one). @ would serve.
Dennis Ritchie RIP
Posted Oct 21, 2011 17:51 UTC (Fri) by giraffedata (guest, #1954) [Link]
C syntax is so natural
I think that's the first time I've heard that claim made; the typical view of C is the opposite: in exchange for density (function per source character) and power to control the object code, C was made awkward.
The first time I saw "typedef int foo" I thought it was backwards and had a hard time remembering it; I still do. It isn't natural. It also isn't natural for an imperative like "a=3" to have a value, which is why it's so easy to stare at 'if (a=3) {printf("a is 3")}' and not see the error.
I wonder what a person's background has to be to find C syntax natural.
I believe C is a better learning language because it is honest, ...
I think "honest" here must mean "low level," i.e. the source code correlates plainly with the object code. If you're trying to learn how to write programs that control the contents of memory, etc., I agree C is the better learning language. If you're trying to learn how to write programs to solve a computational problem, a high level language would be better.
When I learned programming, my teachers went out of their way not to mention CPUs, memory, cycles, addresses, etc. and have me concentrate on generic computation. C would have seriously foiled their efforts.
Dennis Ritchie RIP
Posted Oct 13, 2011 13:10 UTC (Thu) by vonbrand (guest, #4458) [Link]
Count me in. His books (starting with "The C Programming Language," first edition) were truly inspiring.
He will be remembered.
Dennis Ritchie RIP
Posted Oct 14, 2011 14:40 UTC (Fri) by ViralMehta (guest, #80756) [Link]
Dennis Ritchie RIP
Posted Oct 17, 2011 15:16 UTC (Mon) by peter_w_morreale (guest, #30066) [Link]
I got mine in 1987. It was my second language after Fortran 77. Even without a CS background, its elegance and efficiency was an epiphany that cemented my career in software development,
Thank you Dennis (and Brian, and Rob). Your work has had more far reaching effects that any of you could have imagined.
Dennis Ritchie RIP
Posted Oct 13, 2011 5:47 UTC (Thu) by ncm (subscriber, #165) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 5:51 UTC (Thu) by rodgerd (guest, #58896) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 7:28 UTC (Thu) by carbonnq (guest, #59866) [Link]
RIP Dennis.
Dennis Ritchie RIP
Posted Oct 13, 2011 8:47 UTC (Thu) by arief (guest, #58729) [Link]
Hmm... C code.
C code run.
Run code run.
Run please run.
Not everyone can be a programmer
Not every programmer can understand C
and even less can create C programming language.
He will be missed and will be eternalized in every for statement we wrote
:)
Dennis Ritchie RIP
Posted Oct 13, 2011 7:06 UTC (Thu) by leemgs (guest, #24528) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 7:10 UTC (Thu) by JoeF (subscriber, #4486) [Link]
Free after Newton: A bunch of people were looking far because they were standing on the shoulders of giants.
Dennis Ritchie was one of those giants.
Dennis Ritchie RIP
Posted Oct 13, 2011 8:17 UTC (Thu) by ledow (guest, #11753) [Link]
Unfortunately that genius is with us no more. I'm going to find a UNIX machine today, and knock up some C code just for the sheer enjoyment of it and to remember him.
Dennis Ritchie RIP
Posted Oct 13, 2011 8:30 UTC (Thu) by lkundrak (subscriber, #43452) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 9:40 UTC (Thu) by dgm (subscriber, #49227) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 11:15 UTC (Thu) by nix (subscriber, #2304) [Link]
Is it possible to write C code in remembrance of someone? 'cos that's what I'll be doing for the next few days.
Dennis Ritchie RIP
Posted Oct 13, 2011 9:41 UTC (Thu) by richmoore (guest, #53133) [Link]
/* Thanks for the most popular programming language ever Dennis. */
int main(int argc, char **argv)
{
exit(EXIT_SUCCESS);
}
Dennis Ritchie RIP
Posted Oct 13, 2011 10:49 UTC (Thu) by sorpigal (subscriber, #36106) [Link]
#include <stdio.h>
int main(void)
{
printf("Goodbye, Dennis\n");
return 0;
}
Dennis Ritchie RIP
Posted Oct 13, 2011 11:35 UTC (Thu) by csamuel (✭ supporter ✭, #2624) [Link]
#include <unistd.h>
#include <stdlib.h>
int main(void)
{
(void) sleep(60); /* A minutes silence for DMR */
exit(EXIT_SUCCESS);
}
Dennis Ritchie RIP
Posted Oct 13, 2011 9:56 UTC (Thu) by themaheshrs (guest, #80766) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 10:54 UTC (Thu) by dan_a (subscriber, #5325) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 10:58 UTC (Thu) by smokeing (guest, #53685) [Link]
I was born in 1973 in what is now Ukraine. Since becoming job-worthy, my wages ever increasingly rest and rely on, ultimately, that book he co-wrote and I chanced to read in early nineties. When defending my PhD, I tried to push one item in my 'stellingen' (that's Dutch for a succinct statement to attest to the laymen taxpayers that my work was worth spending their money), reading: "When admitting new PhD students, only check their proficiency in two languages, English and C; the rest will follow." And I strongly believe it is true.
(In the article, could the editor perhaps replace 'passed on' to 'passed away'?)
Life made easy......Dennis Ritchie RIP
Posted Oct 13, 2011 12:13 UTC (Thu) by shylock_1 (guest, #80769) [Link]
All the C developer gonna miss him, great inventor. RIP Denis, and condolences to his family.
Dennis Ritchie RIP
Posted Oct 13, 2011 13:03 UTC (Thu) by holee (guest, #80770) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 14:14 UTC (Thu) by taq (guest, #62595) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 16:32 UTC (Thu) by jzbiciak (guest, #5246) [Link]
Rest in peace, Dennis.
While I may have moved on to C++ and Perl as my main languages these days, it wasn't before getting 15 or so solid years of C programming under my belt first. I got rescued from Pascal and BASIC in 1992 by K & R's book.
I'll still always wonder if you're the one who wrote this, though.
Dennis Ritchie RIP
Posted Oct 13, 2011 17:27 UTC (Thu) by dashesy (guest, #74652) [Link]
Dennis Ritchie RIP
Posted Oct 13, 2011 18:38 UTC (Thu) by GhePeU (subscriber, #56133) [Link]
It feels like ten years ago, when Shannon died. A man who truly changed the world has died, and most people didn't even realize it.
Dennis Ritchie RIP
Posted Oct 13, 2011 20:05 UTC (Thu) by ccchips (subscriber, #3222) [Link]
Rest in peace, Dennis! I will miss you and all the other great computer scientists who have gone on to bigger things. My sympathy to all his loved-ones.
I wonder if he'd appreciate this -- from someone who's starting to get near the front of the line:
Q. What was the first thing Dennis said after passing on?
A. Oh my - I guess I kicked the bit bucket!
Dennis Ritchie RIP
Posted Oct 13, 2011 21:20 UTC (Thu) by bronson (subscriber, #4806) [Link]
I'm Quine To Miss Him
Posted Oct 14, 2011 4:18 UTC (Fri) by ldo (guest, #40946) [Link]
I'm Quine To Miss Him
Posted Oct 15, 2011 0:52 UTC (Sat) by HelloWorld (guest, #56129) [Link]
I'm Quine To Miss Him
Posted Oct 16, 2011 11:54 UTC (Sun) by jzbiciak (guest, #5246) [Link]
Dennis Ritchie RIP
Posted Oct 14, 2011 15:03 UTC (Fri) by leoc (guest, #39773) [Link]
Learning C made my career so I owe a lot to Dennis Ritchie. RIP Dennis.
Dennis Ritchie RIP
Posted Oct 20, 2011 15:58 UTC (Thu) by juhl (guest, #33245) [Link]
Losing Dennis is a tragedy. He will be missed.
So long Dennis. You did great!
