, /* isa_str */
NULL, /* class */
NULL, /* mro */
Parrot_Perl5PV_init,
Parrot_Perl5PV_init_pmc,
Why?
There are no Parrot_Perl5PV_init, etc functions. Is this a bug in pmc2c2.pl?
Nicholas Clark
On Wed, Apr 27, 2005 at 04:00:54PM +0100, Nicholas Clark wrote:
There are no Parrot_Perl5PV_init, etc functions. Is this a bug in pmc2c2.pl?
Looks like a mistake I made. Too many autogenerated files.
Nicholas Clark
parrot_exception_t *) 0x0
what should have initialised that?
Nicholas Clark
is going
to the superclass of the class of the invocant PMC.
2: Either way, it's bust for dynamic classes, as you can't know the type
number of the parent class at compile time.
I'm not sure what to do about either.
Nicholas Clark
Should There be a Parrot_PMC_push_pmc() [and friends?] in extend.h to allow
parrot-extending code direct access to those vtable methods?
Eventually, should extend.h contain methods to make calls on all public vtable
methods?
Nicholas Clark
On Tue, May 03, 2005 at 02:55:22PM +0200, Leopold Toetsch wrote:
Nicholas Clark wrote:
Should There be a Parrot_PMC_push_pmc() [and friends?] in extend.h to allow
parrot-extending code direct access to those vtable methods?
Eventually, should extend.h contain methods to make calls on all
some help, do you have a list of useful self-contained tasks
that people might be able to take on?
Nicholas Clark
On Tue, May 03, 2005 at 10:35:50AM -0700, chromatic wrote:
On Tue, 2005-05-03 at 14:48 +0100, Nicholas Clark wrote:
And should they eventually even be autogenerated ;)
Now, that bit I agree with. A task for someone who likes writing perl?
I like writing Perl. Where can I find
On Mon, May 02, 2005 at 08:58:43AM +0200, Leopold Toetsch wrote:
Nicholas Clark [EMAIL PROTECTED] wrote:
Parrot gives each PMC class 8 private flag bits. I was wondering how to use
these most efficiently for ponie. My thoughts so far are
1 bit for SVf_IOK
1 bit for SVf_NOK
1 bit
On Mon, May 02, 2005 at 12:24:04AM +0100, Dave Mitchell wrote:
On Sun, May 01, 2005 at 11:36:02PM +0100, Nicholas Clark wrote:
in the common cases be able to access the PObj structure members directly.
I may be speaking here like someone at the back who hasn't been paying
attention
to help here
http://www.nntp.perl.org/group/perl.perl6.internals/29422
However, I don't feel confident to say if this is the correct way to go.
(seems like a design question)
Nicholas Clark
it passes all tests on x86 Linux and OS X, but I'm seeing a lot of
tests hanging on FreeBSD 5.2, which I've not yet tracked down. Beware - I
don't know if they're spinning the CPU while they hang.
Nicholas Clark
of progress, is it stalled?). And already ... not feels like
a double negative, which adds to my confusion.
Nicholas Clark
up the number of registrations, and only stop tracking that
PMC when the count returns to zero.
Nicholas Clark
()
{
printf(%d\n, (int)((char *)try_algn.bar - (char *)try_algn.foo));
return(0);
}
alignbytes isn't the most helpful name. NV is usually a double.
Nicholas Clark
As Nick G. said, Solaris isn't the only system that show this error.
The big question is what to do:
- document it as faling on these systems
- implement a workaround for these systems
...
What does Perl5 do in such cases?
It asks Steve Peters.
:-)
Nicholas Clark
more pleasant to read compared to perl5-porters. So I'm
still left curious as to why this is happening...
This is an average for perl5-porters over its entire existence?
I don't think that it's a reputation it deserves any more. It's very a
very uneventful list now.
Nicholas Clark
On Tue, Jun 07, 2005 at 10:26:28AM -0700, Edward Peschko wrote:
On Tue, Jun 07, 2005 at 11:09:18AM +0100, Nicholas Clark wrote:
This is an average for perl5-porters over its entire existence?
I don't think that it's a reputation it deserves any more. It's very a
very uneventful list now
by putting the double (or long double) first in the structure,
and all allocations are done in terms of sizeof() structures.
(Which I think is save, and we haven't had problem reports since the change)
Nicholas Clark
was the
biggest cause of arguments on perl5-porters.
It's an important one for people to be able to recognise.
Nicholas Clark
understand much of the perl 5
engine, except that uses recursion to maintain parts of state)
Nicholas Clark
on as many bitchy flags in gcc
as possible.
Do all our casts avoid creating aliasing problems?
Nicholas Clark
above 0 on OS X is painful, given the size of
the core files generated. So it's unlikely that parrot will be writing into
/cores/ )
Nicholas Clark
On Fri, Jul 01, 2005 at 11:11:01AM -0500, Patrick R. Michaud wrote:
On Fri, Jul 01, 2005 at 08:38:01AM +0100, Nicholas Clark wrote:
Does this mean that you're using the same recursive approach that the perl 5
regular expression engine uses? (Not that I understand much of the perl 5
engine
On Fri, Jul 01, 2005 at 09:43:02AM -0700, Larry Wall wrote:
On Fri, Jul 01, 2005 at 08:38:01AM +0100, Nicholas Clark wrote:
: Does this mean that you're using the same recursive approach that the perl 5
: regular expression engine uses? (Not that I understand much of the perl 5
: engine
/england/london/4343555.stm
http://news.bbc.co.uk/1/hi/england/london/3557309.stm
http://news.bbc.co.uk/1/hi/england/london/3287167.stm
Nicholas Clark
Line 216 of pobj.h has:
#define cache obj.u
Is redefining such a common name a good idea?
Nicholas Clark
On Fri, Jul 08, 2005 at 06:52:28PM +0200, Leopold Toetsch wrote:
No, for sure not. And AFAIK it's not needed nor used. Please drop this line.
Done, although curiously it did involve changing 1 line in io/io.c
Nicholas Clark
implementation.
(The standard implementation might redispatch based on type, but I said
something rare)
Any other suggestions on how to rapidly partition PMCs?
Option 2 is actually more appealing. It's a simple equality comparison (albeit
down a pointer dereference)
Nicholas Clark
recently. Are any more expected, or is
the vtable size/disposition expected to remain unchanged from here on?
Nicholas Clark
will still work? Will
code using the macros in parrot/pobj.h need much changing?
Nicholas Clark
this seem sane? Can anyone see a good way of doing this?
Nicholas Clark
On Wed, May 11, 2005 at 11:18:30AM +0100, Nicholas Clark wrote:
On Tue, May 10, 2005 at 01:13:48PM -0400, Jeff Horwitz wrote:
as part of both the pugs and mod_parrot effort, i've started working on
bringing the embedding and extending interfaces into the modern parrot
era. i'd like
? Currently ponie has had to add various skip
blocks to perl 5 regression tests that throw/catch signals, and this doesn't
seem ideal as it implies that code changes would also be needed by existing
CPAN code to work properly under ponie.
Nicholas Clark
have a lot to learn in this area, I see. Do not forget
that when dealing with volunteers, they are just that, and have the ability
to take umbrage and drop everything there and then.
Nicholas Clark
On Thu, Jul 14, 2005 at 06:14:52PM +0200, Leopold Toetsch wrote:
Nicholas Clark wrote:
I'd like to be able to provide this as a non-singleton PMC class, with the
addition of a value lookup, and (possibly) iteration. But cut and paste is
evil.
Well, the more general question is: how can
.
This would be better implemented with a vtable method.
This all got Warnocked, didn't it?
Having read it twice, I don't think I'm going to get closer to a decent
response than er, this is really a call for the designer to make, isn't it?
Nicholas Clark
be a porting headache for Parrot.
It's not a porting headache if it's not the only option. If it's viable
to use a different, slower strategy where this is not available, or a different
GC, then parrot will still run.
Nicholas Clark
. FAILED test 1
Failed 1/1 tests, 0.00% okay
That parrot error on OS X looks familiar to me. I don't know why it's going
wrong.
Nicholas Clark
memory may be wrong on this
2: It may not have been explicit
3: I may have missed an explicit change
But having dealt with the fun of variable length encodings, my gut feeling
is with Jarkko, that it's probably better to stay fixed width internally.
Nicholas Clark
On Wed, Aug 10, 2005 at 02:56:46PM +0200, Leopold Toetsch wrote:
Nicholas Clark via RT wrote:
I thought that one thing Jarkko learned from perl 5's Unicode model was
that
the amount of code and pain to support a variable length encoding was
greater than the space saving that that encoding
not too worried about the Hash bit. AddrRegistry? To me, it's not
important that it's a hash. It's important that it is a thing for registering
addresses of things with.
Nicholas Clark
all memory ever allocated to be freed up?
At the moment ponie is tracking all PMCs it allocates so that it can emulate
both the object destruction, and the full destruction. I'm wondering if there
is parrot infrastructure I can use to avoid needing to do this.
Nicholas Clark
platforms give the same result?
Nicholas Clark
On Wed, Sep 07, 2005 at 02:37:33PM +0200, Leopold Toetsch wrote:
Nicholas Clark wrote:
For starters, in glossary.pod I'm failing to find definitions for
destruction and finalisation. One is about cleanup actions on objects/
PMCs that need something actively cleaned up, rendering active objects
On Wed, Sep 07, 2005 at 02:37:33PM +0200, Leopold Toetsch wrote:
Nicholas Clark wrote:
Second question is that optionally perl 5 can run with complete global
destruction. This is primarily intended for embedded interpreters, where
the default implementation (just exit the process to free all
-destroy objects.
Nicholas Clark
.
Nicholas Clark
://www.nntp.perl.org/group/perl.perl6.internals/30255 )
Nicholas Clark
words.
and totally legal IEEE.
(Mozilla thought that it could cheat. And it was wrong)
The mixed endian is the old soft float, as I understand it, and will be
replaced by something less surprising, but that's a C ABI change.
Nicholas Clark
have something on it.
And which would you prefer - some human being bankrupted. Or TPF being
bankrupted? If TPF dies, something else will take over the jobs it does,
and no-one will be made homeless.
Nicholas Clark
/extend.c?
Nicholas Clark
Index: lib/Parrot/Vtable.pm
===
--- lib/Parrot/Vtable.pm(revision 9513)
+++ lib/Parrot/Vtable.pm(working copy)
@@ -293,6 +293,9 @@
{
my $vtable = shift;
+my $funcs = '';
+my
appreciate the effort.
I've used Module::Pluggable, and liked it.
Nicholas Clark
from doing the concatenation itself, and generating an unreadably long
line?
Nicholas Clark
causes).
Ooops. Digression.
Nicholas Clark
On Fri, Dec 02, 2005 at 11:50:15AM -0500, Matt Diephouse wrote:
With that in mind, there are two possible ways to name namespaces and
compilers:
1. Lowercase or uppercase them all. The Pugs code works with little or
no effort.
And always use Unicode Normalised form C?
Nicholas Clark
-processor
output. Something akin to how ccache works.)
Nicholas Clark
way to go.
Doing it per release is equivalent to the perl 5 situation, where the Changes
file is updated before each official snapshot or release from the perforce
commit messages.
Nicholas Clark
to cause confusion - there will be numbers and nums.
[I guess we just need to get the ISO C people to s/float/single/g and then
float won't be overloaded to mean a particular representation size.]
Nicholas Clark
of rogue-like games yet.
(For context on the joke Chip is alluding to see
http://www.nntp.perl.org/group/perl.perl5.porters/92477 )
Nicholas Clark
that this is going to work. You can bypass the check on
returning one of these merely by assigning it into an aggregate that was
passed in by reference. Neither the managed reference PMC nor the aggregate
is returned, yet the managed reference outlives the function and is
accessible.
Nicholas Clark
maybe not as far as automatic
detection.
Nicholas Clark
, and purposefully ignore any many-to-1
filters atop them.
Nicholas Clark
.
Nicholas Clark
. (Probably because
parrot/config.h has been included even earlier).
The compile only works if I define PARROT_IN_EXTENSION myself (on the compiler
command line)
So what should be going on? Or am I missing something completely obvious?
Nicholas Clark
this helps,
Thanks, yes it did. It let me remove the hack to define PARROT_IN_EXTENSION
in ponie's Configure.pl
Nicholas Clark
continuations just before they're returned through, or
when any (other) continuation is invoked, for as long as the newly created
continuation exists.
I've no idea what the extra book-keeping overhead of this would be, and
whether the savings would be big enough to pay for that overhead.
Nicholas
provide.
Maybe acrobat is also failing due to blowing some internal resource limits.
Nicholas Clark
not had occasion to say it before, thanks for all the
time you're donating to Punie and the tools it creates)
Nicholas Clark
the arithmetic results that you'd
expect from 2's complement, but subsequent comparisons with the result don't
always work (eg you end up down the wrong side of if statements) and
on Ahmdal mainframes (IIRC) MAX_INT + 1 is 0, not MIN_INT.
Nicholas Clark
, binary?
EBCDIC?
Logically the default default is it's either compile time chosen
ASCII or EBCDIC or binary.
Nicholas Clark
. IPv4 and IPv6 both use addresses and port numbers. AF_LOCAL
just uses a string, which is a file system path. But I think that specifying
an op for just one address format is too narrow.
Nicholas Clark
sfio returned the number of bytes read (or written) for an unseekable
file. Is that useful?
Presumably seek() on a buffered stream discards any written but not flushed
data.
Mmm. Flush opcode needed for buffered streams?
Nicholas Clark
/fifo/symlink/door
Nicholas Clark
routine. Which probably does generalise, if functions can be marked as
cacheable and the JIT can see a cacheable function taking only constants,
and hence constant fold it)
Nicholas Clark
On Sun, Mar 05, 2006 at 02:53:29PM -0600, Joshua Isom wrote:
On Mar 5, 2006, at 1:46 PM, Nicholas Clark wrote:
On Fri, Mar 03, 2006 at 11:27:05AM -0800, Allison Randal wrote:
Should the network opcodes even be loaded as standard? Csocket et al
aren't
actually that useful on Perl 5
given. Specifically it would be
useful to have a way to set handles non-blocking (and have the entire IO
system cope with synchronous-but-non-blocking IO, even if async IO is more
powerful still)
Nicholas Clark
hierarchy?
At least, a PMC class for each distinct way of describing addresses, that all
fulfil a SocketAddr role.
Nicholas Clark
, socket addresses show up as results from Caccept,
Cgetsockname, Cgetpeername and Crecvfrom/Crecvmsg, and are also
used as arguments to Csendto/Csendmsg
Nicholas Clark
On Sun, Mar 05, 2006 at 07:11:59PM +, Nicholas Clark wrote:
=item *
Cstat retrieves information about a file on the filesystem. It takes a
string filename or an integer argument of a UNIX file descriptor, and an
integer flag for the type of information requested. It returns
On Fri, Mar 17, 2006 at 06:40:32PM -0800, Allison Randal wrote:
On Mar 6, 2006, at 4:06, Nicholas Clark wrote:
On Fri, Mar 03, 2006 at 11:27:05AM -0800, Allison Randal wrote:
=head2 Network I/O Opcodes
Functionality wise, the following are missing:
shutdown
Added
: UDP, TCP, etc. */
#define AF_INET628 /* IPv6 */
What about
#define AF_UNIX 1 /* standardized name for AF_LOCAL */
? (of the rest, this is the most widely used)
Nicholas Clark
, and allow people to write platform specific optimisations
later?
Nicholas Clark
On Thu, Apr 06, 2006 at 02:17:21PM -0700, chromatic wrote:
On Thursday 06 April 2006 14:04, Bernhard Schmalhofer via RT wrote:
'punie' seems to be the only maintained language implementation using
Perl* PMCs.
What about Ponie?
Ponie isn't using them.
Nicholas Clark
checkout of the parrot source code,
rather than a built tree.
Nicholas Clark
expect a type .Float to behave much like
a C float and coerce values fed to it, rather than metamorphose to their
type.
Was this built in morphing the cause of the problems Leo was describing in
trying to make a user defined class that is derived from Int?
Nicholas Clark
On Tue, Apr 11, 2006 at 06:15:32PM +0200, Leopold Toetsch wrote:
On Apr 7, 2006, at 19:38, Nicholas Clark wrote:
-STRING *fill = CONST_STRING(interpreter, info-flags
FLAG_ZERO ? 0 : );
I think that this change is masking the true bug,
No. Above replaced line
of your second example is wrong - it
should also be a malformed string.
If PGE is always outputting UTF-8 literals, what stops it from always
prefixing every literal unicode:, even if it only uses Unicode characters
0 to 127?
Nicholas Clark
well be fed in as UTF-8, the generated bytecode should be using the
tersest fixed width it can. I can see sense in this.
Nicholas Clark
'.
pmc2c.pl should be case agnostic for both group names *and* pmc file
names.
Case agnostic at a Unicode level?
Nicholas Clark
--
I'm looking for a job: http://www.ccl4.org/~nick/CV.html
with the perforce revision number. It makes it
very easy to search for these sorts of things. I assume that it's trivial
to automate the generation of such a file for subversion, if it's desired.
Nicholas Clark
--
I'm looking for a job: http://www.ccl4.org/~nick/CV.html
like an opcode to do it for
me. :-)
Is Parrot assembler considered a more productive language to write in than C?
If yes, is it logical to write opcodes such as this one in Parrot assembler
itself?
Nicholas Clark
On Sat, Jun 24, 2006 at 10:41:44AM -0500, Patrick R. Michaud wrote:
On Sat, Jun 24, 2006 at 08:03:47AM -0700, Audrey Tang wrote:
2006/6/24, Nicholas Clark [EMAIL PROTECTED]:
Is Parrot assembler considered a more productive language to write in than
C?
If yes, is it logical to write
before he gets a chance to read any of
his e-mail.
Nicholas Clark
?) aren't 2's complement.
Nicholas Clark
/auto/gcc.pm has logic to enable gcc warnings by gcc version.
At one time we had more warnings on that we do now.
Turning the alignment warnings on gets interesting (for a very noisy value
of interesting) on architectures less forgiving than x86, such as sparc.
Nicholas Clark
On Sun, Jul 30, 2006 at 10:45:29PM -0700, jerry gay wrote:
don't forget about negative-not-a-number, and the quiet (or signaling)
Ah yes. that oxymoron.
I've never yet seen the reasons for why it exists at all. Does anyone have
a URL?
Nicholas Clark
mean that both could check out the same testsuite, and both could
commit back to it.
Nicholas Clark
if the repositories were different, instead of simply one being a subtree of
another. That was all.
Nicholas Clark
for the endianness of the word order in memory to differ
from the endianness of the byte order within those words.
Nicholas Clark
601 - 700 of 800 matches
Mail list logo