From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgsql: Add documentation for the JIT feature. |
Date: | 2018-03-29 19:22:07 |
Message-ID: | CA+TgmoaV63C2ERByiVmQFL5nR0VZ+PwVk8qqjN67RvXCzXJd=g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Thu, Mar 29, 2018 at 3:00 PM, Stephen Frost <sfrost(at)snowman(dot)net> wrote:
> What we've done elsewhere when there's been similar jargon is to say
> something along the lines of:
>
> "compiling of routines (also known as Just-In-Time or JIT compilation)"
That strike me as roughly analogous to saying:
"hiding rows users don't have permission to see (also known as
row-level security)"
IOW, it's just substituting a generic description for a term of art
that has a real meaning. I can't see that as an improvement. It
would be possible to compile routines without involving JIT; as I
mentioned earlier, you could compile them to bytecode. Or, you could
compile them to machine code at definition time as, I am told by
Thomas, some database products used to do, I think by generating C
code and then shelling out to "cc". Just-in-time compilation clearly
conveys that we are generating machine code at runtime; "compiling of
routines" does not.
Besides, if we did that, what are we going to call the GUCs?
compiling_of_routines_above_cost? compiling_of_routines_provider =
'llvmjit'? Ugh.
This technique has bene called JIT since about 1983, and is well-known
under that name, mostly because of Java. Calling it some made-up name
we create ourselves is not going to make this more comprehensible to
users.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-03-29 19:27:57 | Re: pgsql: Add documentation for the JIT feature. |
Previous Message | Bruce Momjian | 2018-03-29 19:19:02 | pgsql: C comments: "a" <--> "an" corrections |
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-03-29 19:27:57 | Re: pgsql: Add documentation for the JIT feature. |
Previous Message | Alexander Kuzmenkov | 2018-03-29 19:13:08 | Re: [HACKERS] [PATCH] Incremental sort |