theclapp

Search theclapp.blog-city.com

 

More on Lispworks as a shell script

posted Monday, 18-Jun-2007
I tried the process I mentioned earlier where you save LW as an image and use it as a script processor (e.g. at the top of a "shell" script with #!/usr/bin/lw-console). It works really well so far ... for the one "hello world!" script I tried *laugh*. I didn't bother with any extra DELIVER levels, so the whole thing is 20 mb, but it still runs that two line "hello world" script in approximately 0.02 seconds.

Just for kicks, I rewrote the script loader to allow use of compiled FASLs; the invocation speed of the compiled "hello world" script did not drop appreciably. But then the hello world script is only 63 bytes. :)

tags:    

links: digg this    del.icio.us    technorati    reddit