POV-Ray : Newsgroups : povray.general : POV Wishlist : Re: POV Wishlist Server Time
3 Aug 2024 18:16:28 EDT (-0400)
  Re: POV Wishlist  
From: Patrick Elliott
Date: 17 Mar 2004 21:02:05
Message: <MPG.1ac2b0d8951a88619899e9@news.povray.org>
In article <4057ea45@news.povray.org>, tho### [at] trfde says...
> In article <MPG.1ac147e51c2d571d9899e7@news.povray.org> , Patrick Elliott 
> <sha### [at] hotmailcom>  wrote:
> 
> > One thing that would be very helpful in byte code is 'parse once, run
> > multiple times'.
> 
> This is impossible with the current POV-Ray SDL because it offers
> self-modifying and self-generating capability.
> 
Self modifying isn't necessarily a major problem, "if" done right. The 
problem with the existing implementation is that it can't really do so. I 
wouldn't say self modification *and* bytecode is an impossibility. Most 
things like Java and VBScript use byte code too. You can however insert 
more code into the global scope or even use some functions in the 
languages to dynamically change the code as it runs by loading a text 
file and passing it to the engine to execute. I have no idea how this is 
done though.

It does admittedly complicate things I admit.

-- 
void main () {

    call functional_code()
  else
    call crash_windows();
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.