4 ms·
Maybe domain-specific is the wrong term. It's certainly a Turing complete language. But it's optimised to make a particular set of operations easier, so those o
by koenigdavidmj 14y ago
Maybe domain-specific is the wrong term. It's certainly a Turing complete language. But it's optimised to make a particular set of operations easier, so those operations are going to come out shorter than the same operations in a general purpose language.
- mathola16 14y agoThis is only true if you think the test set in Rosette Code is biased towards the domain that Mathematica is optimized for. There is no reason to think this looking at the website. Since he uses median ratios, then a single spectacular ratio will not skew the results.
- btilly 14y agoNot the test set in Rosetta Code. The part of the test set that people have actually provided Mathematica solutions for. There is every reason to believe that people are more likely to provide Mathematica solutions for problems that Mathematica is likely to be good at.
- saraid216 14y agoThis is a potential bias that he does call out in the article.