develooper Front page | perl.perl6.internals | Postings from August 2001

Re: Opcode Dispatch

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
August 6, 2001 17:17
Subject:
Re: Opcode Dispatch
Message ID:
5.1.0.14.0.20010806193758.023979a0@tuatha.sidhe.org
At 05:54 PM 8/6/2001 -0400, Uri Guttman wrote:
> >>>>> "DS" == Dan Sugalski <dan@sidhe.org> writes:
>
>   DS> Perl bytecode will have three sections:
>
>   DS> 1) Fixup section. RW. This has all the real-address pointers and
>   DS> suchlike things stored in it. It will be abused as needed when
>
>   DS> 2) Constants section. RO. Holds constants. (I bet that was a
>
>   DS> 3) Instruction section. RO. Holds the actual bytecode. Everything
>   DS> here's position independent--it either refers to things relative
>
>and where does the op code dispatch table fit in? it has tobe updated at
>load time with the real address of the functions. is this part of the
>fixup section? and what about maps for any dynamic libs (inline or XS to
>be)?

Yes, and yes.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About