Re: AI Project

new topic     » goto parent     » topic index » view thread      » older message » newer message

7/11/2002 11:29:16 AM, Kat <kat at kogeijin.com> wrote:

>
>On 7 Nov 2002, at 11:09, Derek Parnell wrote:
>
>> 
>> Hi Kat,
>> this why disk files and databases were invented. I do this sort of thing
>> every
>> day. Why do you think it is hard to do?
>
>Without using associated lists, can win32lib save any of it's vars *without 
>explicitly coding the var names in a save routine* to the disk files? Can it 
>trace the program flow, save that flow to disk, and after a reboot, initiate
>back
>to the state in the program it was when it was shut down, so all the returns 
>in the functions execute properly?
>

Of course not, Kat. It was never designed to do any snapshot checkpointing. And
without built-in
help from Euphoria, this would be an expensive operation. One could design a
Euphoria application
that did this though, but the overheads would probably not make it worth while.

But why would we need this type of functionality? If it was really important to
pick up EXACTLY
where the user was at the last crash, it would be better served with a
fault-tolerant system. The
context we are talking about is a AI-like application used as a learning
exercise for the coders. We
are not trying to create a positronic life-support system for intersteller
travellers. Emulating a
tiny worm is going to stretch our capabilities as it is!


>
>> 7/11/2002 11:02:29 AM, Kat <kat at kogeijin.com> wrote:
>> 
>> > 
>> > The other problem is longevity, winOSs haveto get rebooted 
>> >occasionally, and getting the program to remember what it knows and how it
>> >knows, and what to do with what it knows, and the last state of the "brain",
>> >will be a pain, because (for example) we cannot look up the list of vars
>> >(names
>> >and contents) like Mirc or Lua can do.
>> >
>> 
>> ---------
>> Cheers,
>> Derek Parnell 
>> 
>> 
>
>
>
---------
Cheers,
Derek Parnell 
ICQ# 7647806

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu