1. A method, comprising: providing an application written in a domain-specific language (DSL) for a programming task, wherein the application includes a plurality of components configured by expressions; selecting from a plurality of techniques for evaluating the expressions a technique that most quickly implements the programming task; and compiling the DSL application to generate general-purpose programming language (GPL) code in accordance with the selected expression evaluation technique.