Re: [HACKERS] JIT compiler for expressions

2016-11-18 Thread Jim Nasby
On 10/28/16 6:47 AM, Dmitry Melnik wrote: We'd like to present our work on adding LLVM JIT compilation of expressions in SQL queries for PostgreSQL. The source code (based on 9.6.1) along with brief manual is available at our github: https://github.com/ispras/postgres

Re: [HACKERS] JIT compiler for expressions

2016-10-30 Thread Andres Freund
Hi , On 2016-10-28 14:47:35 +0300, Dmitry Melnik wrote: > We'd like to present our work on adding LLVM JIT compilation of expressions > in SQL queries for PostgreSQL. Great! I'm also working in the area, albeit with a, I think, a bit different approach[1]. Is your goal to integrate this work in

Re: [HACKERS] JIT compiler for expressions

2016-10-30 Thread Greg Stark
This sounds amazing. My only comment is that LLVM 3.7 is kind of old in the accelerated world of LLVM. If you have patches to LLVM you need you won't have much success submitting them as patches on 3.7. The current stable release is 3.9 and the development snapshots are 4.0. I know LLVM moves qui