Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1cmz-0003ar-Pv for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Mar 2018 19:00:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f1cmy-0003RJ-2g for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Mar 2018 19:00:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1cmx-0003RA-Ru for pgsql-hackers@lists.postgresql.org; Thu, 29 Mar 2018 19:00:43 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f1cms-0004o8-NO for pgsql-hackers@lists.postgresql.org; Thu, 29 Mar 2018 19:00:42 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id D25045F79C; Thu, 29 Mar 2018 15:00:36 -0400 (EDT) Date: Thu, 29 Mar 2018 15:00:36 -0400 From: Stephen Frost To: Andres Freund Cc: Robert Haas , Tom Lane , Alvaro Herrera , Simon Riggs , PostgreSQL Hackers Subject: Re: pgsql: Add documentation for the JIT feature. Message-ID: <20180329190036.GP24540@tamriel.snowman.net> References: <20180329125955.7utz5ergjp2oxhwy@alvherre.pgsql> <13592.1522331090@sss.pgh.pa.us> <20180329180116.xvselrjpzk5fjul5@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ian02MSQ7xDzAZO2" Content-Disposition: inline In-Reply-To: <20180329180116.xvselrjpzk5fjul5@alap3.anarazel.de> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Ian02MSQ7xDzAZO2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 wrote: > > > I'd go a little further and drop "JIT" from user-facing documentation > > > altogether. Instead refer to the feature as "compilation of expressi= ons" > > > or some such. JIT is just jargon. Plus, the timing of the compilati= on is > > > actually the least important property for our purpose. > >=20 > > 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". > >=20 > > 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. > >=20 > > I agree that JIT is jargon, but it's pretty commonly-used jargon. >=20 > 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. >=20 > 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 --Ian02MSQ7xDzAZO2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJavTfUAAoJEO1sijiDR2RVM7wP/0o+0G7itXEs2MUy5DU5aUl2 ePD3tS8FTqJ/5vx8l/zRE2v5nCTBd7x7/TzUNa/XMZ6Yln+aYUl+C+wdM3ETOQQx NQu7DfSnEOH5pNEDEWcDY/gMXOPxknZ0aI9h6fLZS4buNb2DUasH+VBF3WmcN4Cf 7wCbFA/APJjkAh8TaDQUYSZZ9Ly7jA5bxNJJBKE97M4FfQ4k/rG2QnWMBg9NRSbb FxvNWa3OPMIEkXxg08BagIuhk0ZxlkAlcVzEXqVSW2EFO06At+d20VlPerofrqeZ qJvkH5NLCPvX1k57NwmGDGop5ytMzD0yUS8Im+KQy6ETR5RzMODrRnFUv1DpCfHu /uR/mDFmBdffThviBKYPaKnmMkmXQZzPXfdPSXNRtSSUN1FrzJgbk64pd78ZJI63 rriZLNSvf9HX2cMctJOiLgHtNJb3/SJX/lFMZrOhYcovw5ypEQgg0JABvJcitHAM IErzKL/FHqsI0Q3lIxwYHLmBxKjPTtztHI1PeR/jlABkOyc+67HpbKY19uJtq7U+ 05KbE1JkJoe/2rsIhKkGj+oNoIuhpCXgT0vdleEAp8IUHHA3cKz691b7SuCFjxHa wVQ0gTY8T/al+z/JYsxeKP9Ju4TSkM17X+gEfeavBDqz+gsUvf4TKcIiyPM8Lt7R dd8CzZ+cvtMZ1ETcbqTk =l+xi -----END PGP SIGNATURE----- --Ian02MSQ7xDzAZO2--