Interesting rant about Scala's issues

Meta jared771 at gmail.com
Thu Apr 3 18:14:36 PDT 2014


A more interesting point of his is the limitation of Scala's 
ability to optimize functions like filter... This is also a 
problem in D, but not as visible as we do not have macros to 
perform the sort of transformation he describes (turning filter 
f1, filter f2, filter f3 into filter f1 f2 f3). Maybe we should 
think about enforcing that lambas passed to higher order 
functions are pure, when we can (not in the compiler, of course. 
In the library.)


More information about the Digitalmars-d-announce mailing list