Re: Layering PMCs

2004-06-02 Thread Benjamin K. Stuhl
Dan Sugalski wrote: Okay, time to think about this. We need the ability to layer PMCs. Nothing new, we need something of the sort for transparent read-only-ness and probably thread-safety (though we don't have to do it that way) and folks are going to want to do undoable custom vtable layering.

Re: [perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-02 Thread Dan Sugalski
At 9:51 AM +0200 6/2/04, Leopold Toetsch wrote: - don't load extensions at compile time, so that dynamic PMCs have to be created with $I0 = find_type "Foo" $P0 = new $I0 Option two here would be the right one. -- Dan --

Re: JIT problem on Cygwin revisited

2004-06-02 Thread Leopold Toetsch
Joshua Gatcomb <[EMAIL PROTECTED]> wrote: > --- Leopold Toetsch <[EMAIL PROTECTED]> wrote: >> math library. The >> library is e.g. F. For example > $ objdump -p parrot.exe > DLL Name: cygwin1.dll > vma: Hint/Ord Member-Name Bound-To > 1b5588 14 __a

Re: JIT problem on Cygwin revisited

2004-06-02 Thread Joshua Gatcomb
--- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > > ... So the math library in > > question is the /usr/include/math.h header? > > No. That's the header do declare functions in the > math library. The > library is e.g. F. Well you see - that's what I thought but removing it seemed to have absolute

Re: One more thing...

2004-06-02 Thread Leopold Toetsch
Piers Cawley <[EMAIL PROTECTED]> wrote: > Then, at runtime, 'fred' gets set up as the implemntation for an op. > Which, given your implementation, means that each function call that > fred makes should be protected with savetop/restoretop pairs. Oops. The implementation checks register usage of

Re: [perl #29994] [BUG] "loadlib $P0, varname" not working correctly

2004-06-02 Thread Leopold Toetsch
Jens Rieks <[EMAIL PROTECTED]> wrote: > % cat error.imc > .sub _main @MAIN > .local string na123me > na123me = "/foo" > loadlib $P0, na123me > end > .end > % ./parrot -o error.pbc error.imc > Couldn't load 'runtime/parrot/a123m': The parser currently loads extensions at compile

Re: JIT problem on Cygwin revisited

2004-06-02 Thread Leopold Toetsch
Joshua Gatcomb <[EMAIL PROTECTED]> wrote: > Parrot doesn't use GMP right? Right. > ... So the math library in > question is the /usr/include/math.h header? No. That's the header do declare functions in the math library. The library is e.g. F. > WRT alignment there were some difference between

Re: Morph for fun and profit

2004-06-02 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > Okay, since I was asked, and I'm starting to hit a need for it in > general, I want to address morph, and some of its ramifications. And > limitations, as it seems like it's only a partial solution The first question is: what are the supposed semantics of