by yesimahuman · 16y ago · 0 comments
Any non-FP languages?
Edit: BigForth is an implementation of Forth that seems to be pretty close to Java in speed. Forth is not a functional language. D is a fast language intended as a C++ replacement. Despite looking a bit like C++ or Java, it can be quite a bit more terse than either. D 2.0 adds quite a bit of FP support to make concurrency and parallelism easier, but you can still write C in D if you so choose.
Of course that is a non-scientific anecdote and there are times that the REPL is just awesome (especially for web app development).
Sure, Java has some baggage, but it has a lot of benefits too, such as much better tools for deployment, performance profiling, libraries galore, the JVM, and more. I find it's often the best tool for the job when there's heavy lifting to be done.
BTW, both the Java (javac) and Scala compilers were written by the same person.
With type specialization in Scala 2.8 it will be even faster than Java in some cases.