This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Tcl misconceptions



ian@bickiia.earlhall.earlham.edu writes:
> 
> It does seem like a virtual machine could be a better way to support
> language-neutral scripting, though.  Not to imply JVM or something,
> but a simple (non-optimized) virtual machine designed for untyped
> dynamically-bound languages (which describes scripting languages
> fairly well).  Is anyone still trying to allow RScheme to be
> interchanged with Guile (as it has underlying bytecodes)?
> 

I've heard that SCM, the interpreter Guile is derived from, beats all
bytecode-based implementations on speed. I find this a bit surprising
since a byte-compiler could optimize the code in various ways, but
tests seem to show it's true.

Making an adequately performing translator isn't the issue really; the
hard part is making different languages play nice together. It's
getting to the point where I am starting to doubt this is truly
possible for the full set of today's popular scripting languages.

> lindex done with strings will be linear time, though.  This is
> probably much worse than having a linear time lappend.
> 

Tcl people lived with it for years...

 - Maciej