Re: [pypy-dev] Compiling PyPy interpreter without GC

2015-03-21 Thread Armin Rigo
Hi Kunshan, On 20 March 2015 at 04:16, Kunshan Wang kunshan.w...@anu.edu.au wrote: (...) Others (including PyPy) build a whole new VM, doing everything from scratch. There are many high-performance VM projects like PyPy (LuaJIT, v8, JavaScriptCore, HHVM to name a few), but the most important

Re: [pypy-dev] Specialization for app level types

2015-03-21 Thread Armin Rigo
Hi Timothy, On 21 March 2015 at 01:43, Timothy Baldridge tbaldri...@gmail.com wrote: I'd like to add some optimization to app level types in Pixie. What I'm thinking of is something like this (in app level PyPy code): There was some experiment in the PyPy branch 'type-specialized-instances'

Re: [pypy-dev] UTF8 string passing in cffi and PyPy internal string optimizations

2015-03-21 Thread Armin Rigo
Hi, On 18 March 2015 at 15:49, Amaury Forgeot d'Arc amaur...@gmail.com wrote: 2015-03-17 18:27 GMT+01:00 Eleytherios Stamatogiannakis est...@gmail.com: Right now when PyPy receives a utf8 string (from a C function) it has to do 2 copies: 1. convert the cdata string to a pypy byte string via

Re: [pypy-dev] Compiling PyPy interpreter without GC

2015-03-21 Thread Kunshan Wang
Hi Armin, Thank you for your interest. On 21/03/15 19:39, Armin Rigo wrote: Hi Kunshan, On 20 March 2015 at 04:16, Kunshan Wang kunshan.w...@anu.edu.au wrote: (...) Others (including PyPy) build a whole new VM, doing everything from scratch. There are many high-performance VM projects