? mod_newlisp
-
- Posts: 429
- Joined: Tue Nov 11, 2003 2:11 am
- Location: Brisbane, Australia
? mod_newlisp
I see scheme has a flavour:
[032] - mod_scheme 0.3.3
by rahul (http://freshmeat.net/users/bluFox/)
Fri, Jul 16th 2004 14:03
Internet :: WWW/HTTP :: HTTP Servers
About: mod_scheme is a Scheme module for Apache. It embeds the Tinyscheme interpreter, and makes the functions exported by the Apache Web server available to Scheme programs.
Changes: The Scheme interpreter used by mod_scheme has been updated to the 1.35 release of tinyscheme. Issues with Unix compilation have been resolved. There are other minor bugfixes and cleanups.
License: The Apache License
URL: http://freshmeat.net/projects/mod_scheme/
Would it be worth NewLisp being able to do that?
Regards
Nigel
[032] - mod_scheme 0.3.3
by rahul (http://freshmeat.net/users/bluFox/)
Fri, Jul 16th 2004 14:03
Internet :: WWW/HTTP :: HTTP Servers
About: mod_scheme is a Scheme module for Apache. It embeds the Tinyscheme interpreter, and makes the functions exported by the Apache Web server available to Scheme programs.
Changes: The Scheme interpreter used by mod_scheme has been updated to the 1.35 release of tinyscheme. Issues with Unix compilation have been resolved. There are other minor bugfixes and cleanups.
License: The Apache License
URL: http://freshmeat.net/projects/mod_scheme/
Would it be worth NewLisp being able to do that?
Regards
Nigel
-
- Posts: 429
- Joined: Tue Nov 11, 2003 2:11 am
- Location: Brisbane, Australia
I see a mod_lisp for common lisp exists
http://www.fractalconcept.com/asp/EZr2/ ... vY9x3g$ecX
perhaps it will interact with a newlisp server just as well as cl?
(I've not looked at the protocol yet - someone may like to)
Nigel
http://www.fractalconcept.com/asp/EZr2/ ... vY9x3g$ecX
perhaps it will interact with a newlisp server just as well as cl?
(I've not looked at the protocol yet - someone may like to)
Nigel
-
- Posts: 429
- Joined: Tue Nov 11, 2003 2:11 am
- Location: Brisbane, Australia
-
- Posts: 429
- Joined: Tue Nov 11, 2003 2:11 am
- Location: Brisbane, Australia
I'll have a further look. My initial impression of mod_lisp was that the example code on the site was too strongly full Common Lisp (CL) with protect-unwind's etc but perhaps a lot of that could go.
I'm also considering a "Common Lisp Compatibility Layer" maybe as a CLCL context that would be syntactic sugar mainly to let newlisp's slightly differently named functions to provide CL named functions (eg map vs mapcar). Not the whole of CL, of course, but maybe enough to let most of one of the major introductory CL textbook's examples run - this could help towards reusing mod_lisp example code.
Regards
Nigel
PS If anyone has a wish list of newlisp to CL name mappings feel welcome to put them in a reply in this thread
I'm also considering a "Common Lisp Compatibility Layer" maybe as a CLCL context that would be syntactic sugar mainly to let newlisp's slightly differently named functions to provide CL named functions (eg map vs mapcar). Not the whole of CL, of course, but maybe enough to let most of one of the major introductory CL textbook's examples run - this could help towards reusing mod_lisp example code.
Regards
Nigel
PS If anyone has a wish list of newlisp to CL name mappings feel welcome to put them in a reply in this thread
-
- Posts: 429
- Joined: Tue Nov 11, 2003 2:11 am
- Location: Brisbane, Australia
I think a mod version of newlisp for apache sounds good but perhpas we could start with a more protected newlisp cgi version (running in a chroot environment).. That way its also able to run with other webservers in a more
secure way...
Bringing newlisp to the world is a great adventure and i think newlisp will
be discovered because it has great potention as a scripting/programming
language... more advertisement this year is my motto ;-)
Just a tought... Norman.
secure way...
Bringing newlisp to the world is a great adventure and i think newlisp will
be discovered because it has great potention as a scripting/programming
language... more advertisement this year is my motto ;-)
Just a tought... Norman.
-- (define? (Cornflakes))
You have to think of it in terms of what it does to the overall system environment. Just because you have a fast startup time doesn't mean its virtually free for each invocation. Starting a simple C application is fast but having a CGI written in C being called hundreds of times a second on a web server starts to make the OS cranky. That's why things like FastCGI were invented. Then when Perl showed up we got mod_perl. Sorry I'm showing my age here.Lutz wrote:It may not bring much speed improvement for newLISP because of its fast load time.
Lutz