I just don't see how those kinds of optimisations could be done in a declarative language. Do I just have an unusual use-case, or are these languages seriously constrained with respect to the types of programs that they can be used for?
I just don't see how those kinds of optimisations could be done in a declarative language. Do I just have an unusual use-case, or are these languages seriously constrained with respect to the types of programs that they can be used for?
Declarative languages tend to lend themselves to being used at a much higher level, for example easily encoding rules regarding salary payments rather than low level bit twiddling.
Not to be an ass, but why not? All of your examples are, in principle, doable in a declarative language.
He's not saying it can't be done, he wants to ask "someone that knows something about declarative programming".
(ps i work in games and vfx - similar restrictions)
although i guess there is no reason why you can't make declarative performance constraints ...