You should have a look at q/kdb. Once you get comfortable with the language, you can write some very complex code very quickly - part of the reason is the compactness of the language, but also due to the functional, loop-free style which uses the right primitives.