From: | "Joshua Tolley" <eggyknap(at)gmail(dot)com> |
---|---|
To: | "John DeSoi" <desoi(at)pgedit(dot)com> |
Cc: | "Douglas McNaught" <doug(at)mcnaught(dot)org>, znmeb(at)cesmail(dot)net, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Lisp as a procedural language? |
Date: | 2008-10-20 19:00:50 |
Message-ID: | e7e0a2570810201200g75457403r3ca0332f12049db4@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Oct 20, 2008 at 12:56 PM, John DeSoi <desoi(at)pgedit(dot)com> wrote:
>
> On Oct 19, 2008, at 1:27 PM, Douglas McNaught wrote:
>
>> SBCL is a big and very sophisticated program. It's designed to be a
>> self-contained Lisp system and has (AFAIK) no concessions to
>> "embeddability". It uses threads internally, and plays games with the
>> memory map to make GC more efficient. Only a small part of it is
>> written in C, and the rest is Lisp compiled directly to binary. It
>> would almost certainly be a heroic project to make it coexist with a
>> PostgreSQL backend process--like Java, but much worse.
>>
>> It's not likely that any of the "serious" Common Lisp systems would be
>> easily embedded in Postgres.
>
>
> Probably the ideal implementation would be ECL:
>
> http://ecls.sourceforge.net/
>
> It is designed to be a full Common Lisp implementation that can be easily
> embedded in other environments.
>
> It generates C source code so you could have the option of developing with
> Lisp and then generating C language functions for additional speed or source
> code security.
>
> Not open source, but I've played around a bit with integrating LispWorks to
> get Lisp a procedural language.
>
> I'd like to see Lisp as a procedural language, but I'm not very proficient
> with C. If anyone is interested in leading the way, I would be happy to
> help.
>
>
> John DeSoi, Ph.D.
>
One of the Java-as-a-procedural-language options uses RMI to get the
server talking to a separate JVM, where the actual function processing
gets done. Could a PL/Lisp work similarly (and would it be anything
approaching a good idea...)?
- Josh / eggyknap
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2008-10-20 19:04:40 | Re: Block-level CRC checks |
Previous Message | John DeSoi | 2008-10-20 18:56:21 | Re: Lisp as a procedural language? |