Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: OBJECTS.FS ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 40 of 44 Topic 3974 of 4173
Post > Topic >>

Re: OBJECTS.FS Question

by Doug Hoffman <no.spam> May 3, 2008 at 12:37 PM

ragofu64@[EMAIL PROTECTED]
 wrote:

> Further test have shown that this do not work for cl***** implementing
> interfaces. I'm working on that to find out why.

That is unfortunate.  Let's hope there is a way to do so.  IMHO 
Objects.fs *require* interfaces so the programmer is not burdened with 
the constraints of which messages can be passed to which objects, i.e., 
having to design the class hierarchy in a specific way.

With the Neon style model all messages can be sent to all objects and 
interfaces are not required (nor do interfaces even exist).  Neon has 
always been compatible with saved images and turnkeys.  I have recently 
implemented message dispatch tables for Neon, let's call it Neon+. 
Neon+ has a constant time for sending late-bound messages and by my 
measurement is clearly faster than Objects.fs in doing so.  Neon+ 
retains all other features of Neon, notably default early binding (no 
extra work required from the programmer), and so is considerably faster 
than Objects.fs.

-Doug


> On 1 mayo, 02:22, Doug Hoffman <no.spam> wrote:
>> ragof...@[EMAIL PROTECTED]
 wrote:
>>> I have found an easy way to make it fully persistant: after all
>>> methods have been defined,
>>>  you have the full size and start address of the virtual table for
>>> each class.
>>> So it is easy to add a word (let's say "persistant") that copies this
>>> table back to
>>> the dictionary,
>>> then patch the last class bookeeping fields and release the memory
>>> from the heap.
>>> This must be done for each class and interface you want to persist. It
>>> works,
>>> at least for me.
>> Thank you for that.  I wonder if persistant could simply be made part
of
>> the end-methods definition?  This would follow the rule of Minimum
>> Astonishment when saving an image or creating a turnkey.
>>
>> -Doug
>
 




 44 Posts in Topic:
OBJECTS.FS Question
Doug Hoffman <no.spam&  2008-03-26 21:00:22 
Re: OBJECTS.FS Question
anton@[EMAIL PROTECTED]   2008-03-27 21:36:02 
Re: OBJECTS.FS Question
Bruce McFarling <agila  2008-03-27 18:33:47 
Images and libraries (was: OBJECTS.FS Question)
anton@[EMAIL PROTECTED]   2008-03-28 20:48:24 
Re: Images and libraries
Doug Hoffman <no.spam&  2008-03-29 07:05:58 
Re: Images and libraries
Elizabeth D Rather <er  2008-03-29 06:54:53 
Re: OBJECTS.FS Question
Doug Hoffman <no.spam&  2008-03-27 22:27:11 
Re: OBJECTS.FS Question
Albert van der Horst <  2008-03-28 09:00:39 
Re: Images and libraries (was: OBJECTS.FS Question)
Bruce McFarling <agila  2008-03-28 22:24:06 
Re: Images and libraries (was: OBJECTS.FS Question)
mhx@[EMAIL PROTECTED] (M  2008-03-29 07:01:59 
Re: Images and libraries (was: OBJECTS.FS Question)
Albert van der Horst <  2008-03-29 17:28:00 
Re: Images and libraries
Andrew Haley <andrew29  2008-03-29 10:29:43 
Re: Images and libraries
anton@[EMAIL PROTECTED]   2008-03-30 19:23:04 
Re: Images and libraries (was: OBJECTS.FS Question)
Bruce McFarling <agila  2008-03-29 08:51:33 
Re: Images and libraries (was: OBJECTS.FS Question)
Bruce McFarling <agila  2008-03-29 10:57:17 
Re: Images and libraries (was: OBJECTS.FS Question)
anton@[EMAIL PROTECTED]   2008-03-30 19:40:00 
Re: Images and libraries (was: OBJECTS.FS Question)
Albert van der Horst <  2008-03-31 07:43:03 
Re: Images and libraries (was: OBJECTS.FS Question)
stephenXXX@[EMAIL PROTECT  2008-03-31 13:15:43 
Re: Images and libraries (was: OBJECTS.FS Question)
Bernd Paysan <bernd.pa  2008-03-31 17:33:03 
Re: Images and libraries (was: OBJECTS.FS Question)
Bruce McFarling <agila  2008-03-29 11:07:13 
Re: Images and libraries (was: OBJECTS.FS Question)
anton@[EMAIL PROTECTED]   2008-03-30 19:14:33 
Re: Images and libraries (was: OBJECTS.FS Question)
Bruce McFarling <agila  2008-03-30 14:58:43 
Re: Images and libraries (was: OBJECTS.FS Question)
Jonah Thomas <jethomas  2008-03-31 13:12:13 
Re: Images and libraries (was: OBJECTS.FS Question)
Bernd Paysan <bernd.pa  2008-03-31 21:48:45 
Re: Images and libraries (was: OBJECTS.FS Question)
Bruce McFarling <agila  2008-03-31 11:39:05 
Re: Images and libraries (was: OBJECTS.FS Question)
Bruce McFarling <agila  2008-04-01 08:22:47 
Re: Images and libraries
Bruce McFarling <agila  2008-03-29 08:57:52 
Re: Images and libraries
Doug Hoffman <no.spam&  2008-03-29 18:20:50 
Re: Images and libraries
Bernd Paysan <bernd.pa  2008-03-30 22:10:35 
Re: Images and libraries
Bernd Paysan <bernd.pa  2008-03-30 23:23:34 
Re: Images and libraries (was: OBJECTS.FS Question)
Bruce McFarling <agila  2008-03-30 13:40:29 
Re: Images and libraries
ragofu64@[EMAIL PROTECTED  2008-04-02 17:20:17 
Re: Images and libraries
Doug Hoffman <no.spam&  2008-04-02 20:59:13 
Re: Images and libraries
ragofu64@[EMAIL PROTECTED  2008-04-03 01:19:09 
Re: Images and libraries
Doug Hoffman <no.spam&  2008-04-03 05:58:15 
Re: Images and libraries
ragofu64@[EMAIL PROTECTED  2008-04-03 03:59:41 
Re: OBJECTS.FS Question
ragofu64@[EMAIL PROTECTED  2008-04-29 17:20:20 
Re: OBJECTS.FS Question
Doug Hoffman <no.spam&  2008-04-30 20:22:29 
Re: OBJECTS.FS Question
ragofu64@[EMAIL PROTECTED  2008-05-01 01:06:28 
Re: OBJECTS.FS Question
Doug Hoffman <no.spam&  2008-05-03 12:37:01 
Re: OBJECTS.FS Question
ragofu64@[EMAIL PROTECTED  2008-05-07 06:20:43 
Re: OBJECTS.FS Question
Doug Hoffman <no.spam&  2008-05-07 11:06:44 
Re: OBJECTS.FS Question
ragofu64@[EMAIL PROTECTED  2008-05-07 11:36:26 
Re: OBJECTS.FS Question
ragofu64@[EMAIL PROTECTED  2008-05-10 04:07:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 4:25:16 CDT 2008.