User loginNavigation |
archivesexpressivity of lisp/scheme but speed of assembly/C/C++I have recently found scheme to be very expressive language that allows me to not only quickly implement my project, but also to extend it easily. I also need my application to be as fast as possible (its basically a database application, as mentioned in an earlier thread). From what I gather, scheme/lisp implementation are far slower than C or C++ (even OCaml seems very fast). I've seen benchmarks where even scheme-to-c ends up being several times slower than c++. Now my question is this: is it at all possible to bring the performance of scheme closer to c++? I would think that lisp/scheme would actually be easy to optimize. Could they be optimized further if haskell like typing was introduced (I think Qi does that)...more information available to the compiler, better it can work! If there are some things intrinsic to lisp/scheme (perhaps eval?) which keeps performance low, then I'll have to live with some performnace upper limit. Otherwise, why don't we see faster implementations? Is it because those who use lisp/scheme just don't have a need for performance? I don't even mind if current performance limits exist simply because no one has written an aggressive enough compiler. I can prototype my application...then start work on a compiler. Call to and for editors
As you can see being quite busy I have to reduce my contributions to LtU. I guess I am not alone in this regard as the frequency of new items mentioned on the home page shows.
I urge editors to post more often. Several items posted to the LtU forum were quite relevant for the home page, especially due to the low volume of new messages. Remember that if you feel an item in the forum is worthy of wider attention, you can post a link to it on the home page. That concludes the message intended for current contributing editors. If, howver, you are not an editor, yet visit LtU regularly and wish to become one, get in touch with me, and get added to our illustrious team. Two papers on combinatorsHello! I have a couple of papers on using combinators in Combinatory Logic (CL). I've just updated a paper I wrote some time ago that examines the derivation of a combinator that consumes its argument. "Meditations on the Void" is available at http://www.cotilliongroup.com/code/void-meditations.html. I have developed a new combinator, P (for Propositional combinator) that curries two arguments at linear cost (currying arguments using combinators usually have an exponential size cost); it is also useful for expressing propositions in CL. "Penguin" is available at http://www.cotilliongroup.com/code/penguin.html. More generally, my research is in programming languages using the predicate and lambda calculus. The main page for my explorations is at http://www.cotilliongroup.com/code/research.htm. Sincerely, |
Browse archivesActive forum topics |