Re: [9fans] copy paste bug in cc.y?

2014-10-17 Thread Yoann Padioleau
Somehow? Would be nice to have a comment explaining this “somehow then because it looks tricky. Also is there a place explaining the naming conventions? I have a hard time understanding what is the difference between tcom(), acom(), xcom(), and then there’s complex() … On Oct 14, 2014, at

[9fans] kencc benchmark vs gcc

2014-10-17 Thread Yoann Padioleau
Hi, Is there any benchmark results comparing kencc (e.g. 8c) vs gcc, clang, etc? I’m interested mainly in the speed of the generated code, not so much in the time it takes to compile something.

Re: [9fans] copy paste bug in cc.y?

2014-10-17 Thread Yoann Padioleau
0:int - x was not enough for those balancing(?) and promoting thing? On Oct 17, 2014, at 12:07 PM, Charles Forsyth charles.fors...@gmail.commailto:charles.fors...@gmail.com wrote: it's building a tree for (0:int-(0:int-x)) which later transformations will simplify to x, but having done the

Re: [9fans] copy paste bug in cc.y?

2014-10-17 Thread minux
On Fri, Oct 17, 2014 at 4:00 PM, Yoann Padioleau p...@fb.com wrote: 0:int - x was not enough for those balancing(?) and promoting thing? It's enough for type promotion, but you changed the semantics of the program.

Re: [9fans] copy paste bug in cc.y?

2014-10-17 Thread Yoann Padioleau
:) Got it :) On Oct 17, 2014, at 1:04 PM, minux minux...@gmail.commailto:minux...@gmail.com wrote: On Fri, Oct 17, 2014 at 4:00 PM, Yoann Padioleau p...@fb.commailto:p...@fb.com wrote: 0:int - x was not enough for those balancing(?) and promoting thing? It's enough for type promotion, but

Re: [9fans] kencc benchmark vs gcc

2014-10-17 Thread Anthony Sorace
There have been many over the years (I think the original papers present something), but I've not seen anything current enough to be useful. The very short version: gcc almost always produces faster executables from the same code.

Re: [9fans] copy paste bug in cc.y?

2014-10-17 Thread Charles Forsyth
On 17 October 2014 18:48, Yoann Padioleau p...@fb.com wrote: Also is there a place explaining the naming conventions? I have a hard time understanding what is the difference between tcom(), acom(), xcom(), and then there’s complex() … the compiler assumes you've know your Aho and Ullmann

Re: [9fans] Yosemite

2014-10-17 Thread andrey mirtchovski
fwiw, p9p's acme has worked fine in full screen for me on all yosemite previews and the current release. On Fri, Oct 17, 2014 at 11:09 PM, Anthony Sorace a...@9srv.net wrote: Just a quick note in case anyone else is wondering before updating OS X. My experience so far has been that