POV-Ray : Newsgroups : povray.off-topic : Tell me it isn't so! : Re: Tell me it isn't so! Server Time
10 Oct 2024 07:22:06 EDT (-0400)
  Re: Tell me it isn't so!  
From: scott
Date: 24 Jul 2009 09:41:52
Message: <4a69ba20@news.povray.org>
>>> Now you guys know how *I* feel when I try to tell people that functional
>>> programming is a good idea. ;-) Nobody ever seems to believe me...
>>
>>     I, for one, propose that the SDL in POV-Ray 5.0 should be functional.
>
> I'm not sure whether we should go for 100% functional, or do 95% 
> functional. You know, like the way SQL is 95% relational (but still 5% 
> procedural). I'm unsure at this time...

I wonder if it would it be possible for POV to expose its core functions in 
a standard way (eg in a dll for windows), and then you can access them from 
any programming language you like.  The SDL parser just needs to be a 
special case that parses the file and calls the same POV core functions that 
you can from your own code.

It would make things like doing complex simulations much easier, because you 
could use eg C++ to get good speed, and have POV render the result quickly 
each frame.  Also if you wanted to use Haskell, or anything else, you could.


Post a reply to this message

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