"Hello,World execution time"—may not be the most meaningful of benchmarks, but it's pretty important when you are writing shell scripts / cron jobs / random commandline utilities. It also serves to compare the startup overhead of different execution environments.So I ran this benchmark for my own
Dear Chickeneers,
with the workshop having been yesterday I thought I'd report back on how
it went. First of all I'd like to thank the CCC Cologne for providing
the space and equipment for the workshop, it's always nice to be a guest
in your rooms. Also thanks to all participants for attending
Moritz Heidkamp scripsit:
One thing almost
every participant wondered about was that csi didn't provide readline
support out of the box.
The answer is that supplying readline by default would require csi to
be released under the GPL. There are two ways around this problem that
I can think
Tobia Conforto scripsit:
Hello, World execution time—may not be the most meaningful of
benchmarks, but it's pretty important when you are writing shell scripts
/ cron jobs / random commandline utilities. It also serves to compare
the startup overhead of different execution environments. So I
* John Cowan co...@mercury.ccil.org [110313 21:33]:
Moritz Heidkamp scripsit:
One thing almost
every participant wondered about was that csi didn't provide readline
support out of the box.
The answer is that supplying readline by default would require csi to
be released under the
Tobia Conforto tobia.confo...@gmail.com writes:
Hello,
World execution time—may not be the most meaningful of benchmarks, but it's
pretty important when you are writing shell scripts / cron jobs / random
commandline utilities. It also serves to compare the startup overhead of
different
In Solaris 10, you can use enhance which was built using the tecla library(
http://www.astro.caltech.edu/~mcs/tecla/index.html)
On Sun, Mar 13, 2011 at 5:19 PM, Christian Kellermann
ck...@pestilenz.orgwrote:
* John Cowan co...@mercury.ccil.org [110313 21:33]:
Moritz Heidkamp scripsit:
We should not limit ourselves to libraries written in C! Ocaml has the
same issue with readline, since it uses a funky French license, and one
of their solutions is ledit, an rlwrap-like program implemented entirely
in Ocaml. Chicken already has all the bindings to the core C I/O
functions, so
Apparently, there is also a Common Lisp implementation of readline
(MIT-licensed):
http://common-lisp.net/project/linedit/
It looks baroque, but perhaps bits and pieces can be scavenged for a
minimal Chicken readline.
-Ivan
John Cowan co...@mercury.ccil.org writes:
1) We could use
Hi,
I confirmed this on my machine and filed a ticket here:
https://bugs.call-cc.org/ticket/527.
Tim
On Sat, Mar 12, 2011 at 8:52 AM, David N Murray dmur...@jsbsystems.com wrote:
Hi,
I couldn't chicken-install ezxdisp on my Mac. It failed with the
complaint
/usr/local/bin/csc -feature
Chicken already has all the bindings to the core C I/O
functions, so it might not be too much work to implement some minimal
command-line history.
-Ivan
Keep in mind, though, that readline provides a lot more than just history
(like completion, or my beloved vi mode...). Seems like a lot
Of course, you will always be able to install the readline egg. This
is about providing minimal readline functionality to new users who don't
know yet about chicken-install, and who run csi expecting to have
command history and perhaps completion available to them. I don't think
we have to
Haskell should be just as fast as c especially for something that
basic. There is a whole set of common unix utilities implemented in
very short one liners.
On 3/13/11, John J Foerch jjfoe...@earthlink.net wrote:
Tobia Conforto tobia.confo...@gmail.com writes:
Hello,
World execution time—may
Here's one of the links: http://www.haskell.org/haskellwiki/Simple_unix_tools
On 3/13/11, Daniel Aquino mr.danielaqu...@gmail.com wrote:
Haskell should be just as fast as c especially for something that
basic. There is a whole set of common unix utilities implemented in
very short one
I got similar, but slightly different results (Fedora 14, 64-bit, core i7):
(time per run in wall seconds)
c: 0.001086
bash: 0.002742
py: 0.000336
scm: 0.005199
pl: 0.000344
so bash slightly beat out perl, and chicken came in last of the 5. Didn't
bother with mono or java.
Source available:
I've been waiting for some free time to clean it up before making some
of my projects public but obviously that day will never come. So, for
better or for worse I've put a few of my little projects at
http://www.kiatoa.com/fossils/opensrc just in case they are of use to
someone.
Cheers,
Matt
16 matches
Mail list logo