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 1f1brZ-00087a-VF for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Mar 2018 18:01:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f1brY-000285-Og for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Mar 2018 18:01:24 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1brX-00027v-Cz for pgsql-hackers@lists.postgresql.org; Thu, 29 Mar 2018 18:01:24 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1brT-00045v-HB for pgsql-hackers@lists.postgresql.org; Thu, 29 Mar 2018 18:01:22 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3436F20D75; Thu, 29 Mar 2018 14:01:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 29 Mar 2018 14:01:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=bzVrKfcdGn5SiuX4rAOem9/F3E+Xzx0a4htWFuBnO30=; b=IaMPSwCm bfrSNd0GJfyN2sNZruUBlxPCf6QjjO446J0oDVc5w8WX58eLDnWBsJhjvjKzK50y RvR9bE597S3I+I/Va55ozIVlLvMX5FpXdpOiHi22vOJcjswog9ybGvofso2wGXx6 Y9R7Ka+8JLVg4qraha5WcKo9zCdpxgDwE+NIngTx1gm3jGUDSH7b4HGiLubxy1At kqlz8aZJPUHQccKJyHurzrV+ADq/pCSSnER8TQ6EZG+esuZ9cvwyZmb1hMsAUFev GUmswrFgjXGGU9/HSNpdW8p+gAnPDD9oNWNG/3wfLUXTrKg/LCRVFA6T94w2QQ7Q DcPacavAZrZn9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=bzVrKfcdGn5SiuX4rAOem9/F3E+Xz x0a4htWFuBnO30=; b=beVOVWZVXzxuN9smsjyR/qEYzBh2l6ftVNvWLA4LorWoT E7Cs0ozRQ4ZdyFpBWyZaBLbZTYRckVFcC4W2drdbHe3ZGnkz0y5YvAj7u7I2u0PU lVg+rxcePvgaiRzKv3IB3W4rDWZkwmHyPm/P4CsMFcT27nXAnwY+DBnejv+84UXH Okwb++DADQgOktxcyOCz3fRh+bfL+E9Zy6qeGIHrqLefxuZ9X/qJnbrLrsjQvMMN VMjjnfMRlv6C/T3WnrmbTW6vanZVC3avwUS3c3CxR85UEmy4TSidhY01xF5FcaH/ Ugy+z1RMy9sIwzdXlOJTm9x4iErxqiDFMh7qKl0Kw== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id D8217E443C; Thu, 29 Mar 2018 14:01:17 -0400 (EDT) Date: Thu, 29 Mar 2018 11:01:16 -0700 From: Andres Freund To: Robert Haas Cc: Tom Lane , Alvaro Herrera , Simon Riggs , PostgreSQL Hackers Subject: Re: pgsql: Add documentation for the JIT feature. Message-ID: <20180329180116.xvselrjpzk5fjul5@alap3.anarazel.de> References: <20180329125955.7utz5ergjp2oxhwy@alvherre.pgsql> <13592.1522331090@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 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. Greetings, Andres Freund