Re:Comparing the Same Project in Rust, Haskell, C++, Python,...
by galaxyLogic on Saturday June 15, 2019 @09:08PM
(#20193213)
Using a fancy parser-library would mean we should also count the lines of code in it. It would basically mean adapting an existing solution. In practice that would make a lot of sense, but if the purpose is to compare the productivity of different languages then not so much.
[ Parent
| on HN ]
Re:Comparing the Same Project in Rust, Haskell, C++, Python,...
by geofft on Saturday June 15, 2019 @09:16PM
(#20193232)
Isn't it a facet of productivity of the language that it's easier to write certain types of libraries in one language than another? If you're writing a compiler, the fact that lots of people write parser libraries in Haskell is a point in favor of Haskell, whether if you intend to use those libraries (because they're available and production-tested) or you intend to write your own (because it's demonstrably a productive language for that sort of work).
Re:Comparing the Same Project in Rust, Haskell, C++, Python,...
by galaxyLogic on Saturday June 15, 2019 @09:54PM
(#20193363)
Yes from the outset. But this study was about writing a parser and it seems Haskell didn't do much better than the others.