User loginNavigation |
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? By bdenckla at 2011-10-13 18:30 | LtU Forum | previous forum topic | next forum topic | other blogs | 3887 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 6 days ago
22 weeks 6 days ago
22 weeks 6 days ago
45 weeks 19 hours ago
49 weeks 2 days ago
50 weeks 6 days ago
50 weeks 6 days ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago