pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: pgsql: Add documentation for the JIT feature.
Date: Thu, 29 Mar 2018 15:00:36 -0400
Message-ID: <20180329190036.GP24540@tamriel.snowman.net> (raw)
In-Reply-To: <20180329180116.xvselrjpzk5fjul5@alap3.anarazel.de>
References: <20180329125955.7utz5ergjp2oxhwy@alvherre.pgsql>
	<13592.1522331090@sss.pgh.pa.us>
	<CA+TgmobPK_1DKXk8_tyv6McTbPF4bUboVrvF2Qhu+r=-1dHUZQ@mail.gmail.com>
	<20180329180116.xvselrjpzk5fjul5@alap3.anarazel.de>

Greetings,

* Andres Freund (andres@anarazel.de) wrote:
> On 2018-03-29 13:26:31 -0400, Robert Haas wrote:
> > On Thu, Mar 29, 2018 at 9:44 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > > I'd go a little further and drop "JIT" from user-facing documentation
> > > altogether.  Instead refer to the feature as "compilation of expressions"
> > > or some such.  JIT is just jargon.  Plus, the timing of the compilation is
> > > actually the least important property for our purpose.
> > 
> > I agree that talking about JIT compilation (or just-in-time
> > compilation) would be better than talking just about JIT, but refusing
> > to mention JIT seems counter-productive to me.  There are a lot of
> > people who know what just-in-time compilation is and will not realize
> > that "compilation of expressions" refers to any such technology.  If
> > you don't know what it is, you can Google it.  Just typing "jit" into
> > Google produces a stupid urban dictionary hit and then this:
> > https://en.wikipedia.org/wiki/Just-in-time_compilation  -- and that
> > contains useful information that you'll never find if you search for
> > "compilation of expressions".
> > 
> > Also, in a way, you could argue that v10 already did "compilation of
> > expressions".  It didn't compile them to machine language, true, but
> > it translated them into a form which is faster to execute, and which
> > is at least arguably a form of bytecode.  It's not going to be clear,
> > even to an expert, that "compilation of expressions" means something
> > other than that, but if you say JIT, then all of a sudden people know
> > what we're talking about.
> > 
> > I agree that JIT is jargon, but it's pretty commonly-used jargon.
> 
> Precisely this. I'm very strongly against just saying "expression
> compilation", it's just too imprecise. As Robert mentions it could refer
> to what we do in v10, it could refer to ahead of time compilation of PL
> functions, and it doesn't include compiling tuple deforming.  Nor will
> it describe compiling sorting, copy or whatnot.
> 
> I'm very open however to replacing JITing with JIT compiling and smilar
> substitutions.

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)"

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (27+ messages)  latest in thread

Message-ID: <20180329190036.GP24540@tamriel.snowman.net>
Permalink:  ../20180329190036.GP24540@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20180329190036.GP24540@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: sfrost@snowman.net, andres@anarazel.de, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, simon@2ndquadrant.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: pgsql: Add documentation for the JIT feature.
  In-Reply-To: <20180329190036.GP24540@tamriel.snowman.net>
  References: <20180329125955.7utz5ergjp2oxhwy@alvherre.pgsql> <13592.1522331090@sss.pgh.pa.us> <CA+TgmobPK_1DKXk8_tyv6McTbPF4bUboVrvF2Qhu+r=-1dHUZQ@mail.gmail.com> <20180329180116.xvselrjpzk5fjul5@alap3.anarazel.de> <20180329190036.GP24540@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox