From: Ryan Davis Date: 2006-11-30T03:27:04+09:00 Subject: Re: Ruby vs Java vs c++ On Nov 20, 2006, at 6:37 PM, Joel VanderWerf wrote: > Friedrich Dominicus wrote: >> Reid Thompson writes: > ... >>> Ch is an embeddable C/C++ interpreter for cross-platform scripting, >>> shell programming, 2D/3D plotting, numerical computing, and embedded >>> scripting. Ch is the solution for: >> It's very C-ish but the libraries make the difference. However others >> have written C-Interpreters also: >> Eic (now abondoned) >> Cint http://root.cern.ch/root/Cint.html >> and another one which name I forgot... > > There's tcc[1]. It's a C compiler for linux and (maybe) now windows > that is fast enough to use for scripting. This is not quite OT. It > would be great to use libtcc[2] with inline C code when compile > time is more critical than run time. And you don't have to muck > with tempfiles. > > [1] http://fabrice.bellard.free.fr/tcc/ > [2] http://fabrice.bellard.free.fr/tcc/tcc-doc.html#SEC22 Looks really neat. Zed pointed me at it a few weeks ago. I'd love to play with it to experiment with an Uber::Inline::C, but it doesn't compile on OSX and I only have so much patience for linux's quirks to keep it running in parallels for a short amount of time.