User loginNavigation |
archivesDennis Ritchie passed awayI have just learned that Dennis Ritchie (1941-2011) has passed away. His contributions changed the computing world. As everyone here knows, dmr developed C, and with Brian Kernighan co-authored K&R, a book that served many of us in school and in our professional lives and remains a classic text in the field, if only for its style and elegance. He was also one of the central figures behind UNIX. Major programming languages, notably C++ and Java, are descendants of Ritchie's work; many other programming languages in use today show traces of his influences. Update Bjarne Stroustrup puts the C revolution in perspective: They said it couldn’t be done, and he did it. machine-ported reference algorithmsThe following sentence, at http://danny.sadinoff.com/hebcal/, got me thinking.
How can we avoid such situations? In my opinion they are all too common. Before I go further, let me assure you that I am not trying to open up a discussion lamenting the Tower of Babel problem or naively proposing that language X (possibly invented by me) is the one everyone should use everywhere. But what I would like to get some input from LtU members about is, how can a reference implementation of an algorithm be machine-ported to a variety of languages? My premise is that this would be desirable for the Hebrew calendar algorithms and many other algorithms like it. Such an algorithm would have the following properties. By "valuable to have natively" I mean valuable to have inside a language instead of outside it, e.g. cases where the following are true. So, if an algorithm has these properties, it would be nice to have a reference implementation in some language that could be what I call "machine-ported," which could mean machine-translated or interpreted, i.e. Has anyone done this, e.g. Note that in the interpreted strategy, the interpreter is provided along with the code instead of being expected to be present in the host language. So this is different from the a proposal of a universal extension language (e.g. Lua embedded everywhere). Such proposals are interesting, but suffer somewhat from the same problems as proposals of a universal host language (e.g. Java everywhere). Thoughts? |
Browse archivesActive forum topics |
Recent comments
36 weeks 3 days ago
36 weeks 3 days ago
36 weeks 3 days ago
1 year 6 weeks ago
1 year 10 weeks ago
1 year 12 weeks ago
1 year 12 weeks ago
1 year 15 weeks ago
1 year 19 weeks ago
1 year 19 weeks ago