3 ms·
Autotranslation: https://translate.google.com/translate?sl=auto&tl=en&u=http%3A%2F%2Fwww.oki-osk.jp%2Fesc%2Fgolang%2Flisp3.html https://translate.google.com/tra
by gus_massa 11y ago
Autotranslation: https://translate.google.com/translate?sl=auto&tl=en&u=http%3A%2F%2Fwww.oki-osk.jp%2Fesc%2Fgolang%2Flisp3.html https://translate.google.com/translate?sl=auto&tl=en&u=http%...
The comparison is interesting, but I'm not sure if all the implementations have the same set of features. IIRC tail-call optimization and continuations are difficult to implement efficiently.
- suzuki 11y agoThe implementations in Dart and Go in the comparison, [1] http://www.oki-osk.jp/esc/dart/lisp/lisp-27-03-31.tar.bz2 [2] http://www.oki-osk.jp/esc/golang/lisp2/lisp-light.zip [3] http://www.oki-osk.jp/esc/golang/lisp3/lisp-1.3.zip have exactly the same set of features except that * [2] in Go does not have big numbers nor floating-point numbers, and * [3] in Go has two concurrency primitives, future and force. As for the performance, [2] should have an advantage. But all in all, [2] and [3] have almost the same performance, which is inferior to [1] in Dart. All [1][2][3] use the same way to implement tail-call optimization efficiently. It is described at http://www.oki-osk.jp/esc/dart/lisp.html#4 As for Python/Ruby/Java, the implementations in the comparison, [4] http://www.oki-osk.jp/esc/llsp/v72.html [5] http://www.oki-osk.jp/esc/llsp/v73.html [6] http://www.oki-osk.jp/esc/llsp/v9.html have roughly the same architecture to [1][2][3].
- suzuki 11y agoI'm sorry. I have mistaken the URL of the implementation in Dart which was compared to those in Go: < [1] http://www.oki-osk.jp/esc/dart/lisp/lisp-27-03-31.tar.bz2 --- > [1] http://www.oki-osk.jp/esc/dart/lisp/lisp-27-05-08.tar.bz2 The page http://www.oki-osk.jp/esc/dart/lisp.html http://www.oki-osk.jp/esc/dart/lisp.html refers to both of them.