Re: [vos-d] Updated Road Map on Wiki

2008-02-15 Thread reed
Posted at: http://interreality.org/phorum/read.php?2,180,185#msg-185
reed wrote:

lalo Wrote:
 It's not up to me, but I'd do a more testing r1
 (r0?) earlier, maybe as 

A second preview release, similar to the one Pete made a little while ago 
with the user interface client, you mean?  Sure, might be good.  Let's add it 
and if we are able to do that, we can, and if we don't feel like it's worth it, 
skip it.


 On the other hand, some things that are in your r2
 will be there in r1 in 
 summer, or even r0 in spring, because I'm
 working on them 
...
 hypervos is already alive and kicking in the form
 of an Apache mod_vos;
...
 And the first scripting language
 will be there a week 
 after Peter adds marshaling (which language that
 will be depends greatly 
 on my mood that week, though).
 
...
 maybe I'd sort them differently :-)



Go ahead and update the wiki page (http://interreality.org/wiki/VosRoadmap).

Reed

___
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d


[vos-d] gc

2008-02-15 Thread Lalo Martins
Also spracht Lalo Martins (Fri, 15 Feb 2008 06:20:22 +):
 (Now, on my original design, web pages would be transient views,
 meaning, there is a ViewImplementation that writes to the WebRequest,
 but it never actually returns a View.  This feature has been lost on
 Peter's implementation, but we plan to bring it back later on; just not
 a very high priority.  For now, by not attaching the View to any site,
 the ViewImplementation can make sure it's collected in the next gc
 cycle.)

Er, except we have no gc at the moment :-D so even things like the 
WebRequest object will just linger forever in the Site's vobjectTable 
until the process is restarted.

I went ahead and re-added transient views, essentially by moving the 
createView() logic from the ViewFactory to the ViewImplementation, where 
it can be overridden.  But that means I'll still be leaking WebRequest 
objects.  Is it as simple as adding a Site.releaseVobject(vw) method (to 
delete vw from the vobjectTable, therefore allowing the refcount to 
eventually reach 0)?  Or am I missing some implications?  I know later on 
we want to have a smarter, proper gc, but for the simple case...

best,
   Lalo Martins
-- 
  So many of our dreams at first seem impossible,
   then they seem improbable, and then, when we
   summon the will, they soon become inevitable.
   -
  http://lalomartins.info/
GNU: never give up freedom  http://www.gnu.org/


___
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d


Re: [vos-d] gc

2008-02-15 Thread Lalo Martins
hate to answer myself, but :-)

The recipe for transient objects is:
factory.create(core::SiteWrapper(), fooComponent::implementation())

It will have no site, and its vobjectId will be 0.  And it won't be in 
any site's vobjectTable, so when the refcount reaches 0, it's gone.

best,
   Lalo Martins
-- 
  So many of our dreams at first seem impossible,
   then they seem improbable, and then, when we
   summon the will, they soon become inevitable.
   -
  http://lalomartins.info/
GNU: never give up freedom  http://www.gnu.org/


___
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d