Re: [perl #19192] JIT fails 3 tests on AMD K5

2002-12-17 Thread Nicholas Clark
ks) to a case sitting somewhere on someone else's permanent connection. Except that then I can't use it while offline. Nicholas Clark

Re: [perl #19232] [PATCH] UINTVAL_SIZE is not defined

2002-12-18 Thread Nicholas Clark
s choking on removing the intermediate (unsigned long) cast? I think it's needed for the hack of mapping a function pointer to a data pointer and back. Is the tendra compiler free? I've tried to find it before, but couldn't manage to get a functional download URL. Nicholas Clark 1: e

Re: Register scanning

2002-12-18 Thread Nicholas Clark
a dynamic list of such objects, provided it always has at least one free slot maintained at all times. If the pinning routine finds it is about to fill the free slot, then it pins the thing passed in, and immediately allocates more space. This might trigger GC, but it's safe as everything is pinned :-) Nicholas Clark

Re: [perl #19192] JIT fails 3 tests on AMD K5

2002-12-18 Thread Nicholas Clark
: $ ./parrot stringbug6.pbc P0 is "1.3e5", N0 is 13.00 $ ./parrot -j stringbug6.pbc P0 is "1.3e5", N0 is 0.00 what would your response be? :-) [if I remove either the set N1, or the sub N2, the answer is correct in the JIT] Nicholas Clark

Re: [perl #19349] [PATCH] mark PMCs - take #2

2002-12-23 Thread Nicholas Clark
ally manage to free up enough memory to make both happy? Nicholas Clark

Re: [perl #19603] [PATCH] Befunge debugger now supports breakpoints

2002-12-30 Thread Nicholas Clark
On Mon, Dec 30, 2002 at 05:24:56PM +, Jerome Quelin wrote: > Upon general (ahem) request, the befunge interpreter now supports > breakpoints inside the debugger. Thanks, applied Nicholas Clark

Re: Variable/value vtable split

2002-12-30 Thread Nicholas Clark
o that we can create shorter vtables for values, such as values in aggregates? Or is this vtable just for variables? Also, if vtable pieces are in constant memory, how do we efficiently create singleton objects? Nicholas Clark

Re: [perl #19610] [PATCH] New language support: Ook!

2002-12-30 Thread Nicholas Clark
ok. Ook. Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook! Ook? Ook! Ook. Ook? Ook! Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook? Ook. Ook! Ook. I got this: Label KOO1_2 already exists at ../../assemble.pl line 557. (admittedly from a pre-built parrot that is about 2 weeks old) Nicholas Clark

Re: [perl #19610] [PATCH] New language support: Ook!

2002-12-30 Thread Nicholas Clark
On Mon, Dec 30, 2002 at 11:45:19PM +, Nicholas Clark wrote: > Indeed. However, when I tried compiling my Ook! test program: > I got this: > > Label KOO1_2 already exists at ../../assemble.pl line 557. > > (admittedly from a pre-built parrot that is about 2 weeks old

Re: [perl #19610] [PATCH] New language support: Ook!

2002-12-31 Thread Nicholas Clark
On Tue, Dec 31, 2002 at 06:18:36PM +0100, Jerome Quelin wrote: > Nice to see how dummy languages make the whole stuff advance... :o) Then there's the zcode interpreter... (dynamic opcode library loading, foreign bytecode translation) Nicholas Clark

no no-strict-aliasing (more bondage and stricture)

2002-12-31 Thread Nicholas Clark
what breaks". So far nothing, at least for a test build on Debian/x86. And as we're now letting gcc make aliasing based optimisations, we might see more speed. (And maybe unicorns, flying pigs, and round tuits) Nicholas Clark --- config/inter/progs.pl~ Fri Oct 25 11:23:17 200

Re: [perl #19610] [PATCH] New language support: Ook!

2002-12-31 Thread Nicholas Clark
fit from Parrot's speed), here's a new > language supported by Parrot: the Ook! language. On Tue, Dec 31, 2002 at 06:15:43PM +0100, Jerome Quelin wrote: > Oh, btw. This patch assumes the first Ook! patch is already commited. Thanks, both applied Nicholas Clark

Re: Infant mortality

2003-01-02 Thread Nicholas Clark
eir destructor called at the correct time, unless you've been silly enough to send them off into a refcount loop. In which case they will get spotted at some point probably before program exit, compared with perl5 which only spots them if your program exits] Nicholas Clark

Re: [perl #x19800] LOL

2003-01-07 Thread Nicholas Clark
ONG_LINE > version=2.43 There's no test for sent-from-a-formmail script? For a bug report that alone ought to sent it over the spam threshold Nicholas Clark

Re: Thoughts on infant mortality...

2003-01-09 Thread Nicholas Clark
there is no stackwalking? ie user code has to have the discipline either to have things linked to the root set by the time it makes a parrot call or explicitly disable DOD across such a call. (or to explode in a cloud of feathers) Nicholas Clark

Re: Objects, finally (try 1)

2003-01-11 Thread Nicholas Clark
em would need to know the ABI for each platform you wanted to do this on. But if anyone has tuits, could we have a z-code interpreter first please? Or better still, a unified, fast, assembler? (with a pony?) Nicholas Clark

Re: Objects, finally (try 1)

2003-01-11 Thread Nicholas Clark
On Sat, Jan 11, 2003 at 06:34:56PM +0530, Gopal V wrote: > If memory serves me right, Nicholas Clark wrote: > > fussy. I presume Rhys is thinking about compiling C code to parrot, and then > > linking through to native C code (such as the native standard C library) via > &g

Re: benchmarking - it's now all(-1,0,1,5,6)% faster

2003-01-11 Thread Nicholas Clark
luck that I (well Richard) had 2.3.1 on them. Nicholas Clark

optimising, and per file flags

2003-01-12 Thread Nicholas Clark
ag? And with the various align functions, such as -falign-jumps ? Nicholas Clark

Re: The draft todo/worklist

2003-01-13 Thread Nicholas Clark
'm speaking personally here - other people working on parrot probably have much less selfish views on Win32) Or have I misunderstood all this? Nicholas Clark

Re: optimising, and per file flags

2003-01-13 Thread Nicholas Clark
quot; (of which I'm one)) right now to play with benchmarking, but setting alignment to 16 bytes did seem to make perl run the regression tests more quickly. Nicholas Clark

Re: Objects, finally (try 1)

2003-01-15 Thread Nicholas Clark
they meant. The upside is that there would be no confusion with every other language's contradictory definitions. Nicholas Clark

Re: Objects, finally (try 1)

2003-01-15 Thread Nicholas Clark
okup - when you create one of these pointers it's actually lazy, pointing to the "lookup" code, and the lookup is really only done the first time you call it. Am I rambling too much? Nicholas Clark

Re: optimising, and per file flags

2003-01-16 Thread Nicholas Clark
On Mon, Jan 13, 2003 at 09:22:07AM -0800, Steve Fink wrote: > On Jan-12, Nicholas Clark wrote: > > IIRC Leo added an option to Configure.pl to turn on optimising. > > > > Prior to this, on IRC Dan said to me that we need to avoid the hack that perl5 > > found itself i

Re: [perl #20298] Operators neg and abs in core.ops

2003-01-17 Thread Nicholas Clark
use fabs, fabsf, fabsl (or work around absence of fabsf and fabsl), and abs, labs, llabs (and work around the last one being missing) We could make the call that we're not going to work around missing long double functions - if you ain't got 'em, we refuse to Configure for that size. Given that if you don't have fabsl, you probably don't have more tricky functions such as sqrtl, modfl or atan2l Nicholas Clark

Re: Parrot Developer Day(s)?

2003-01-23 Thread Nicholas Clark
treetmap.co.uk/ Which is useful, as they let you look up locations by postcode, OS grid reference and lots of other things. I await to see how many people this is useful for. Nicholas Clark

Re: Bytecode metadata

2003-01-24 Thread Nicholas Clark
rticular binary's layout? I guess in future once the normal JIT works, and we've got the pigs flying nicely then it would be possible to write a Not Just In Time compiler that saves out assembly code and relocation instructions. Bah. That's "parrot -o foo.o foo.pmc" isn't it? Nicholas Clark

Re: Transferring control between code segments, eval, and suchlike things

2003-01-24 Thread Nicholas Clark
gt; code) For an interpreter that is allowing eval (or a namespace that isn't locked against eval) I think that you could only GC the old definition of redefined subroutines, and any anonymous subroutines that become unreferenced. Anything else is the potential lucky destination of a random future eval. Nicholas Clark

Re: Bytecode metadata

2003-01-25 Thread Nicholas Clark
On Sat, Jan 25, 2003 at 10:26:22AM +0100, Leopold Toetsch wrote: > Nicholas Clark wrote: > >Also some way of storing a cryptographic signature in the file, so that you > >could compile a parrot that automatically refuses to load code that isn't > >signed by you. &g

Re: Bytecode metadata

2003-01-25 Thread Nicholas Clark
ytecode segments, and then the first time someone attempts a require POSIX; it fails because the perl6 DynaLoader can't dlopen POSIX.so? (And by then we've done our could-have-been-plain-loaded mmaps, so it's too late to adapt) Nicholas Clark

Re: [CVS ci] packfile #2

2003-01-29 Thread Nicholas Clark
oesn't mean that I have to like it. Nicholas Clark

Re: [perl #20597] [PATCH] packfile #6

2003-01-29 Thread Nicholas Clark
e. Also I can't work out how to search the list archive at develooper.com. Nicholas Clark

Re: [perl #20597] [PATCH] packfile #6

2003-01-29 Thread Nicholas Clark
r) I'm quite happy to search the archives with google, providing I can work out the correct special gizmos in the search string to limit it to URLs down the correct path on the specific host. Nicholas Clark

Re: [RFC] multiple code segments and the interpreter

2003-01-29 Thread Nicholas Clark
can be released together. Maybe they should even be in the same bit of allocated memory, so that locality helps caching and VM performance. Nicholas Clark

Re: [PATCH] Minor printf fix

2003-02-01 Thread Nicholas Clark
packfile that used to have this, so I presume that the unimplemented wordsize transforms were implemented at some point in the past 9 months. :-) Thanks for the patch. Sorry we never got to use it. Nicholas Clark

Re: Objects, methods, attributes, properties, and other related frobnitzes

2003-02-03 Thread Nicholas Clark
ct yourself. How can their be multimethods, if only one method named "foo" is allowed per object? (And should I read "object" as "[object's] class" in the general case?) Or am I confused - are multimethods actually subroutines, and hence not part of a class? Nicholas Clark

Re: [RFC] multiple code segments and the interpreter

2003-02-04 Thread Nicholas Clark
The summary reminded me I had a question still On Thu, Jan 30, 2003 at 08:42:34AM +0100, Leopold Toetsch wrote: > Nicholas Clark wrote: > >If I understand you correctly, every time an eval happens, more code is > >created, and that code's associated constants are appe

Re: cvs commit: parrot/t/native_pbc number_1.pbc number_2.pbc

2003-02-08 Thread Nicholas Clark
/number_1.pasm $ make pdump $ pdump -h n.pbc $ mv n.pbc t/native_pbc/number_$(N).pbc # then # - increase number of tests # - include the pdump header info for reference # - put the file into MANIFEST # - add the file as binary and commit it # thanks -leo Nicholas Clark

Re: [CVS ci] CGP - CGoto Prederefed runloop

2003-02-08 Thread Nicholas Clark
e not written JITted versions of. The sections with the loops are converted to native code, and the rest of the ops still gets the benefit of your sterling efforts at improving the "regular" bytecode dispatch. Nicholas Clark

[leo@cvs.perl.org: cvs commit: parrot/languages/imcc/t/syn bsr.t]

2003-02-08 Thread Nicholas Clark
+44,7 @@ if $I0 <= 1 goto fin dec $I0 $I1 = $I1 * $I0 - bsr fact + bsr _fact fin: save $I1 - End forwarded message - all the "save $" are spam :-) Nicholas Clark

Re: [CVS ci] CGP - CGoto Prederefed runloop

2003-02-11 Thread Nicholas Clark
On Tue, Feb 11, 2003 at 10:49:14AM +0100, Leopold Toetsch wrote: > Leopold Toetsch wrote: > > >Nicholas Clark wrote: > > >>Inside a cgoto core have 1 extra op - enter JITted section. > > >Or go the other way round: Run from JIT. If there is a sequence of non &

Re: [CVS ci] CGP - CGoto Prederefed runloop

2003-02-13 Thread Nicholas Clark
On Thu, Feb 13, 2003 at 04:43:37PM +0100, Leopold Toetsch wrote: > Nicholas Clark wrote: > > The idea actually works at all? > > > I have it running now. Can you write an opcode that solves the halting problem? :-) > JIT/i386 uses the stackframe of CGP for its own. When t

Re: [CVS ci] CGP - CGoto Prederefed runloop

2003-02-13 Thread Nicholas Clark
On Thu, Feb 13, 2003 at 06:34:55PM +0100, Leopold Toetsch wrote: > Nicholas Clark wrote: > > >On Thu, Feb 13, 2003 at 04:43:37PM +0100, Leopold Toetsch wrote: > >>Should I commit it or send to the list first? > >> > > > >I don't know. Are you confid

Re: This week's Perl 6 Summary

2003-02-14 Thread Nicholas Clark
On Fri, Feb 14, 2003 at 03:45:20PM -0500, Dan Sugalski wrote: > The challenge system is x86 Linux with GCC, FWIW. I have this nagging > feeling we'll be able to muster something that'll run on it... :) Are we free to use whichever runops core we feel like? Nicholas Clark

Re: [perl #21033] [PATCH] Macro support for imcc

2003-02-15 Thread Nicholas Clark
will attempt to run in this more if possible. Does the -a flag on imcc mean that we can run without the macros, and hence run faster? Nicholas Clark

Re: [perl #21033] [PATCH] Macro support for imcc

2003-02-16 Thread Nicholas Clark
On Sun, Feb 16, 2003 at 06:54:28PM +0100, Juergen Boemmels wrote: > Nicholas Clark <[EMAIL PROTECTED]> writes: > > > On Sat, Feb 15, 2003 at 12:10:11PM -0500, Dan Sugalski wrote: > > > I'd half-wondered if this would ever come up. > > > > > >

Re: benchmarking - it's now all(-1,0,1,5,6)% faster

2003-02-16 Thread Nicholas Clark
from (say) loop alignment helps measurably. Although I suspect that anyone with time to do this would be better spending it making better benchmarks. Nicholas Clark

Re: parrot performance vs.(trivial test) the good, the bad, and the ugly

2003-02-18 Thread Nicholas Clark
with -march=... -fomit-frame-pointer -ffancy-math -fuse-lots-of-resources-go-very-fast -fsacrifice-more-goats -fsummon-cthulu-if-that-helps as root at nice -20, preferably in single user mode and jumps should be aligned on pentagrams, not 8 byte boundaries. Definitely not use debugging :-) Nicholas Clark

Configure.pl --cgoto=0 doesn't work

2003-02-20 Thread Nicholas Clark
nce include/parrot/jit_emit.h:2349: for each function it appears in.) *** Error code 1 And if I don't disable cgoto I run out of swap. :-( I've got 96M of swap, which happens to be enough to build world, perl and gcc 3.2 I've not tried X yet :-) Nicholas Clark

Re: Configure.pl --cgoto=0 doesn't work

2003-02-21 Thread Nicholas Clark
On Thu, Feb 20, 2003 at 09:45:49PM -0500, Simon Glover wrote: > > On Thu, 20 Feb 2003, Simon Glover wrote: > > > > On Thu, 20 Feb 2003, Nicholas Clark wrote: > > > > > If I > > > > > > perl Configure.pl --cgoto=0 && make all test > >

Re: Configure.pl --cgoto=0 doesn't work

2003-02-21 Thread Nicholas Clark
On Fri, Feb 21, 2003 at 08:34:05AM +0100, Leopold Toetsch wrote: > Nicholas Clark wrote: > > >If I > > > >perl Configure.pl --cgoto=0 && make all test > > > >then the build fails with: > > We need to sort out different cases: > 1) $cc doesn

Re: [RFC] imcc calling conventions

2003-02-22 Thread Nicholas Clark
> guess. I agree that the bitmasked savesome/restoresome would be less simple. I suspect that a butmasked version would JIT very nicely. Since when did parrot trade simplicity for speed? Nicholas Clark

Re: Using imcc as JIT optimizer

2003-02-22 Thread Nicholas Clark
e to abort (or something more colourfully "undefined") if anything undefined gets executed. I realise that code would run very slowly, but it would be a very very useful debugging tool. Nicholas Clark

Re: Using imcc as JIT optimizer

2003-02-22 Thread Nicholas Clark
On Sat, Feb 22, 2003 at 08:44:12PM -, Rafael Garcia-Suarez wrote: > Nicholas Clark wrote in perl.perl6.internals : > > > >> > r->score = r->use_count + (r->lhs_use_count << 2); > >> > > >> >r->score += 1 << (loop_dept

Re: Using imcc as JIT optimizer

2003-02-22 Thread Nicholas Clark
t; 32)' linux 4321 1 So there's actually no difference in the numbers. But as I'm being a pedant I ought to get the facts right. [I guess it's my fault for drinking Australian wine :-)] Nicholas Clark

Re: Configure.pl --cgoto=0 doesn't work

2003-02-23 Thread Nicholas Clark
On Sat, Feb 22, 2003 at 12:31:09PM +0100, Leopold Toetsch wrote: > Nicholas Clark wrote: > > >On Fri, Feb 21, 2003 at 08:34:05AM +0100, Leopold Toetsch wrote: > > >>Case 2) should disable only core_ops_cg.c but not core_ops_cgp.c > >> > > > &g

Re: Configure.pl --cgoto=0 doesn't work

2003-02-23 Thread Nicholas Clark
ist archive) but what remains to be done before we can use imcc rather than assemble.pl as the default assembler for the regression tests? imcc is a lot (>20 times) faster. Nicholas Clark

Re: Using imcc as JIT optimizer

2003-02-25 Thread Nicholas Clark
approaching native machine code if you want speed. Or maybe if you want the latter we save "fat" bytecode files, that contain IMC code, bytecode and JIT-food for one or more processors. And is this all premature optimisation, give that we haven't got objects, exceptions, IO or a Z-code interpreter yet? Nicholas Clark

Re: Using imcc as JIT optimizer

2003-02-26 Thread Nicholas Clark
On Tue, Feb 25, 2003 at 11:58:41PM +0100, Leopold Toetsch wrote: > Nicholas Clark wrote: [thanks for the explanation] > > And is this all premature optimisation, give that we haven't got objects, > > exceptions, IO or a Z-code interpreter yet? > And yes: We don't hav

Re: [perl #21388] [PATCH]Patch for jit.c to stop compilier warnings

2003-02-27 Thread Nicholas Clark
gt; > > > The attached patch is to stop compilier warnings in jit.c. The local > variables i and typ are declared but never used in the function > make_sections. It looks like you didn't attach this patch, as it's not got to the mailing list, nor is it in RT. The patches on t

Re: [perl #21600] [PATCH] Enable buffer io in PIO

2003-03-18 Thread Nicholas Clark
urrently implemented, the upper layer calls my flush method (from its flush method) every time it empties its buffer. But it also might call flush when it really wants interactive data passed on in a timely fashion. So should I drop the compression off every time I get flushed? Or was it crying wolf? Oops. This turned into a ramble. "flush" ne "sync". If both are needed in different places, provide both as distinct methods. Nicholas Clark

Re: BASIC, IMCC, and Windows.

2003-03-20 Thread Nicholas Clark
t having to read tedious e-mail messages from people about the subject) Nicholas Clark

Re: [PATCH] vtable_1 - accessor macros

2003-03-23 Thread Nicholas Clark
macros no longer needed but kept for source compatibility cluttering up our header files. There might be some more rules to try to stick to, but they were the 3 that were obvious to me. As these are code generated, are we able to conditionally write these out as inline functions? This would make debugging easer. Nicholas Clark

Re: About RT/Perl

2003-03-31 Thread Nicholas Clark
stpractical.com/rt/ which ought to be helpful if you're interested more in RT itself, rather than the fact that it happens to be written in perl. Nicholas Clark

Re: designing a test suite for multiple implementations

2006-08-12 Thread Nicholas Clark
he current repositories, is there? Setting a svn:external property in the right place on both Parrot and Pugs would mean that both could check out the same testsuite, and both could commit back to it. Nicholas Clark

Re: designing a test suite for multiple implementations

2006-08-12 Thread Nicholas Clark
ier to audit different committer bit policies if the repositories were different, instead of simply one being a subtree of another. That was all. Nicholas Clark

Re: [perl #38887] Result of INFINITY or NAN stringification is platform dependent

2006-08-19 Thread Nicholas Clark
legal for the endianness of the word order in memory to differ from the endianness of the byte order within those words. Nicholas Clark

Re: End the Hollerith Tyranny? (linelength.t)

2006-08-22 Thread Nicholas Clark
n't have the option to mail in plain text. See http://nick.hates-software.com/2004/06/30/33b6b8a1.html for a description of the problem (contains profanity, as does quite a bit of that site). Sadly for some mailers attachments are the only way to go. Nicholas Clark

Re: socket related constants

2006-09-28 Thread Nicholas Clark
s until load time. Or maybe it doesn't call them "constant" as far as bytecode interpretation goes, but any JIT or AOT can see that they are, and treat them accordingly. Nicholas Clark

Re: [perl #40443] Separate vtable functions from methods (using :vtable)

2006-11-01 Thread Nicholas Clark
to be capable of achieving "compile time" class generation? Nicholas Clark

Re: set_pmc_keyed_int delegates to set_pmc_keyed...?

2006-11-04 Thread Nicholas Clark
and having an extra > attribute specifiable on PMCs like "auto_keyed" (uh, somebody please > think of a less naff name) that generates missing keyed methods for > those PMCs that want them. To me that feels like a hack. The current rather-too-static dispatch (to me) seems to be the bug, and the thing that needs fixing. Nicholas Clark

Re: [perl #40823] Win32 vs. the world - length for sprintf('%e') - what's right?

2006-11-12 Thread Nicholas Clark
ft missed a trick in that their folks on the C standardisation committee could have re-drafted the standard to allow 3 or 2 digit exponents, instead of just 2, and made this non-buggy) > any case, how does the Perl test suite not fail on Win32? As to a useful answer, er, I don't know. Sorry. Nicholas Clark

Re: [svn:parrot] r15626 - in trunk: . lib/Parrot lib/Parrot/Configure lib/Parse lib/Pod lib/Pod/Simple lib/Test

2006-11-18 Thread Nicholas Clark
trunk/lib/Test/Builder.pm > > Log: > [EMAIL PROTECTED]: cochrane | 2006-11-17 09:46:39 +0100 > [lib] Converted 2-arg form of open() to 3-arg form. Are you sure you want to do this to bundled external files? Nicholas Clark

Re: [perl #40815] Summary of 'make test' failures on Darwin

2006-12-02 Thread Nicholas Clark
tory, and ICU is C++, so using g++ as the linker means that all the C++ runtime libraries come in correctly) Nicholas Clark

Re: [perl #40361] [PATCH] #40278 [CAGE] perl coding standards coda. (cont.)

2006-12-19 Thread Nicholas Clark
have the same standard. (assuming that you're meaning to set the defaults for C and Perl formatting modes, rather than to use custom parrot-mode variants) Nicholas Clark

Re: [perl #40361] [PATCH] #40278 [CAGE] perl coding standards coda. (cont.)

2006-12-19 Thread Nicholas Clark
On Tue, Dec 19, 2006 at 01:08:14PM -0800, Allison Randal wrote: > Nicholas Clark wrote: > >On Tue, Dec 19, 2006 at 10:05:46AM -0800, Allison Randal wrote: > > > >>to every source file, and a maintenance burden. Both vim and emacs allow > >>top-level settings of t

Re: [perl #40361] [PATCH] #40278 [CAGE] perl coding standards coda. (cont.)

2006-12-20 Thread Nicholas Clark
On Tue, Dec 19, 2006 at 04:30:08PM -0800, Allison Randal wrote: > Nicholas Clark wrote: > > > >To seek clarification - having those as global settings for cperl isn't > >likely to be an issue? Or having them in editor blocks? > > I meant globally. Ah. There ha

Re: [svn:parrot-pdd] r16036 - trunk/docs/pdds/clip

2007-01-03 Thread Nicholas Clark
be fab for ensuring portability :-( I would think that Sparc Solaris, building 64 bit, would be the best single target to aim for to increase portability spread. Nicholas Clark

Re: [svn:parrot-pdd] r16036 - trunk/docs/pdds/clip

2007-01-03 Thread Nicholas Clark
On Wed, Jan 03, 2007 at 10:19:23PM +0100, Leopold Toetsch wrote: > Am Mittwoch, 3. Januar 2007 16:43 schrieb Nicholas Clark: > > I would think that Sparc Solaris, building 64 bit, would be the best single > > target to aim for to increase portability spread. > > During the la

Re: use diff for string in some test

2007-01-07 Thread Nicholas Clark
ve failed tests before it was checked in? I'm not convinced that allowing slop in expected output is a good idea. It introduces (more) complexity into the tests, which increases the chance for false positives (errors in the tests reporting themselves as failures, distracting developers) and false negatives (tests not spotting real errors) Nicholas Clark

Re: [perl #41214] [CAGE]: files from 'make languages-test' survive 'make clean'

2007-01-08 Thread Nicholas Clark
5 core tests are robust against SEGVing the interpreter or hitting abort() Nicholas Clark

Re: I/O PDD - ready for implementation

2007-01-17 Thread Nicholas Clark
tive value happens to be the errno value. The POSIX threads API avoids conflating value returns with error returns by specifying that the return value is success-or-positive-errno, but again it's avoiding anything out of band, or seemingly-out-of-band. Nicholas Clark

Re: Subject: Parrot 0.4.8 Released

2007-01-22 Thread Nicholas Clark
t I > may or may not be successful). HP already provide access to many things, but not Tru64: http://www.testdrive.hp.com/ Nicholas Clark

Re: [perl #41478] [PATCH] add Test::More::skip()

2007-02-13 Thread Nicholas Clark
re in writing tests in Perl 5. > Is the assumption that skipping a single test with a message is more > common than skipping a number of tests without a message? This is my guess too. Probably need to as Schwern to find out the original (Perl 5) reason. Nicholas Clark

Re: [svn:parrot] r17012 - in trunk: runtime/parrot/library/Parrot t/compilers/past-pm

2007-02-15 Thread Nicholas Clark
am pmc adverbs :slurpy :named > + > +.local string position, target > +.local pmc stages > +stages = getattribute self, '@stages' > + > +$I0 = exists adverbs['before'] > +unless $I0 goto next_test > + position = 'before' What happens if you add a stage with the same name as an existing stage? Is ambiguity acceptable? Nicholas Clark

Re: [svn:parrot] r17012 - in trunk: runtime/parrot/library/Parrot t/compilers/past-pm

2007-02-15 Thread Nicholas Clark
On Fri, Feb 16, 2007 at 12:42:24AM +0200, Allison Randal wrote: > Nicholas Clark wrote: > > > > What happens if you add a stage with the same name as an existing stage? > > It gets added twice. You might repeat a stage like "optimize_tree" or > "displa

Get your Google SoC thinking caps on...

2007-02-16 Thread Nicholas Clark
March, which suggest that the timing is going to be different this year. Nicholas Clark - Forwarded message from LH <[EMAIL PROTECTED]> - From: "LH" <[EMAIL PROTECTED]> To: "Summer-Admin-Announce-2006" <[EMAIL PROTECTED]> Subject: GSoC 2007 is ON!!! Date:

Preening the parrot for show

2007-02-19 Thread Nicholas Clark
be on Linux, would it be viable to make the default with gcc to be "-g -O2"? Either way could try to skew third party benchmarks (and the unpublished private benchmarks we don't even know about) in Parrot's favour. Nicholas Clark

Re: Preening the parrot for show

2007-02-20 Thread Nicholas Clark
#x27;s > too complicated anyway so it may not matter. Anything for that > hundredth of a second, right? The counter to that is that if one can arrange for the compiler to do as many (legitimate) yak shaving optimisations as possible, it frees the programmer's time up to increase funct

Re: [perl #41602] [TODO] MS VS 2005 deprecates strdup

2007-03-05 Thread Nicholas Clark
every type ending _t, but it seems that few pay attention to that either. Nicholas Clark

Re: [PDD15 PROPOSAL] Pluggable MRO

2007-03-10 Thread Nicholas Clark
are ordered the Perl 5 way, they flatly contradict the guarantee of C3. It might be that I'm confused, misremembering or undercaffeinated. Nicholas Clark

Re: [perl #41601] [BUG] parrotbug b0rken

2007-03-18 Thread Nicholas Clark
er. (Or, immediately copied to a machine that does have outgoing mail enabled, or won't reveal your work e-mail address, or whatever) Nicholas Clark

Re: [perl #41601] [BUG] parrotbug b0rken

2007-03-18 Thread Nicholas Clark
he e-mail address is clearly advertised. But this isn't my call here. Nicholas Clark

Re: [perl #41889] [PATCH] hoist cut and paste duplication into a function in src/library.c, also possible win32 bug found ?

2007-03-18 Thread Nicholas Clark
x27;ll apply > this tonight if no other Win32ers beat me to it. :-) I don't disagree with that longer term plan. On that subject, I remember 10 years ago so so, network drives on MS DOS named ux: and uy: Are 2 letter drive names still valid? Do they confuse most code? Nicholas Clark

Re: [perl #41889] [PATCH] hoist cut and paste duplication into a function in src/library.c, also possible win32 bug found ?

2007-03-19 Thread Nicholas Clark
faster than the loop without strchr probably depends on whether the compiler inlines strchr(), whether the optimised version is efficient on non-word aligned strings, and whether the optimised version doesn't have a higher start cost. Either is better* than the current, and I don't ha

Re: [PATCH] Quiet a few alignment warnings

2007-03-19 Thread Nicholas Clark
} being a fairly good minimal example. I think that it's legal C++ too. IIRC main; was found to be the shortest portable crash. :-) Nicholas Clark

Re: [svn:parrot-pdd] r17711 - trunk/docs/pdds/draft

2007-03-26 Thread Nicholas Clark
tal error? Nicholas Clark

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-28 Thread Nicholas Clark
es me. Solaris is usually very clean and well engineered throughout) Can Intel or Sun's compilers be coaxed into being suitably grumpy about this? If so, do we have a machine capable of smoking them? And is it viable (or good) for parrot smoke failures to reach this list, much like most people configure their Perl 5 smokers to send the black smoke to p5p? Nicholas Clark

Re: IRC discussion of smoking and branching

2007-03-29 Thread Nicholas Clark
ur smoke system Most Perl 5 smoke systems report the bad tidings of black smoke to perl5-porters. I've never noticed a failing Parrot smoke report to this list, so I infer that they aren't set up this way. Would changing that help focus minds? > and i'm not inte

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-29 Thread Nicholas Clark
g long. My hunch is that commas at the end of enumerated lists is likely to be something that will hinder portability, whereas the world is resigned to long long. [I say resigned, because "long long" breaches one of the axioms of C89, that "long" is the longest integer type] Nicholas Clark

<    1   2   3   4   5   6   7   8   9   10   >