Re: Implementing a new Scripting Language

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: "Igal (at) Lucee(dot)org" <igal(at)lucee(dot)org>
Cc: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Implementing a new Scripting Language
Date: 2016-01-27 18:41:40
Message-ID: CAFj8pRC48Q70Lbekm+va4aeYajA8FFzoCJqpcm82KvwS8V8nNw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2016-01-27 19:37 GMT+01:00 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:

>
>
> 2016-01-27 19:21 GMT+01:00 Igal @ Lucee.org <igal(at)lucee(dot)org>:
>
>> On 1/27/2016 9:57 AM, Vladimir Sitnikov wrote:
>>
>>> That is a good question. ChakraCore has been open sourced recently. It
>>> might be easier to build under Windows.
>>>
>> interesting. but now we will need to write an extension for that, e.g.
>> PL/Chakra, which brings back my original question:
>> are there any docs as to how to implement a new scripting language? ;)
>>
>
> David Fetter wrote some presentation - some years ago was popular to write
> own PL
>
> me too
>
> https://wiki.postgresql.org/images/a/a2/Plpgsql_internals.pdf
>
> source code of plpgsql is good example - it pretty simple
>
> you have to write handler
>
> https://github.com/petere/plsh
>

same author

https://github.com/petere/plhaskell
https://github.com/petere/plxslt

>
>
>
>
> I am not sure you would be able to bind high performance java runtime
>>> with the backend. There are no that many JREs, and not much of them
>>> are good at "in-backend" operation.
>>>
>>> Thus your question boils down to 2 possibilities:
>>> 1) You execute Lucee in some JRE that runs in the backend (frankly
>>> speaking, I doubt it is a good way to go)
>>>
>> yes, that's what I had in mind. I wasn't thinking of an embedded JRE.
>> TBH I didn't think there were any of those until your email.
>>
>> thanks,
>>
>>
>> Igal
>>
>>
>>
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>>
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Igal @ Lucee.org 2016-01-27 18:44:24 Re: Implementing a new Scripting Language
Previous Message Pavel Stehule 2016-01-27 18:37:27 Re: Implementing a new Scripting Language