Dynamic Languages and Java/Performance Implications
From JVMLanguages
Implement low-level algorithms in low-level languages, and high-level algorithms in high-level languages.
For example: Perl's PDL. The underlying algorithms (matrix transformations, vector math, etc.) are written in C, but the API to them is in Perl. This allows you to write complex mathematical algorithms in a high-level language without giving up much of the efficiency.

