roxen.lists.pike.general

Subject Author Date
Re: Changing Pike code on the fly Martin Bähr <mbaehr[at]email[dot]archlab[dot]tuwien[dot]ac> 25-01-2009
On Wed, Jan 21, 2009 at 06:45:02AM +0000, Mirar @ Pike  importm�te f�r
mailinglistan wrote:
> You can't change an existing class, 

you can replace existing classes with new versions of themselves by
removing the old version from the program cache in the master. that
forces pike to recompile the class.

you can not change existing objects, but any new objects will be made
with the new class.

sTeam implements a proxy model where the proxy is used in any
references, and only the proxy points to the real object. this way it
allows sTeam to update actually existing objects, since only the
reference in the proxy needs to be changed.

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   working in china                      community.gotpike.org
unix system-      iaeste.(tuwien.ac|or).at                     open-steam.org
administrator     caudium.org                                    is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/