|
|
>>> 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
|
|