Re: [Oopic-compiler-devel] About resuable objects --Scott's comment to a list posting
Status: Planning
Brought to you by:
ndurant
From: Neil D. <nd...@us...> - 2004-05-06 02:19:09
|
Scott Savage wrote: >> You will be able to reuse object memory in the new GUI IDE. Not create >> and destroy objects mind you, but you will be able to change the object >> configuration from one configuration to another configuration. D. Daniel McGlothin wrote: > Either of you are better experienced in the use of the objectsn and the > virtual circuits than I (I have not even downloaded a program to my lonely > OOpic). > > What is your take on this statement by Scott. I've half of an idea how this > might be done, but do either of you see an implication of new firmware to > support this? We should put our thoughts together for a question I can pose > to Scott. Well it sounds to me like he's planning on providing a way to swap out some or all of the active objects from object RAM to EEPROM, and replace them with another set from EEPROM. If that's the case, it seems like a rather cumbersome solution to the limited object memory issue, although I can imagine situations where it could be useful. One problem I see is that presumably the swap would be triggered by a command in the script (perhaps a new OOPIC object method), which would mean there would be little control over exactly when the objects were changed over (as there's no real sense of synchronisation between the virtual circuitry and the scripting language). So it would be difficult to ensure hardware is all in a consistent state before changeover. I'm sure Scott is pondering these very issues. Neil -- Neil Durant <nd...@us...> |