-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripting / Command-line applications best in class? #140
Comments
The main reason why I don't give Haskell a "Best in class" is mainly due to scripting (as opposed to more stable command-line applications). Specifically, if users want to be able to edit and run source code directly (i.e. using However, for stable command-line applications (i.e. such as |
Ok, having to install the Haskell toolchain first is indeed a problem. JSON parsing with Aeson feels pretty solid. Even more so if you want to make sure the parsed JSON objects are consistent / valid. Mh, maybe someone should port https://github.com/felixSchl/neodoc to Haskell. But yeah, I'm not insisting it should be "Best in class", just wanted to hear your thoughts on it and I guess giving it some more time is the right thing. |
I find binary dynamic GHC libraries pretty unbloated. However, this approach doesn't work well in practice:
Another issue for me is that Haskell dictionaries have pretty low performance compared to PyPy and Perl. While CPU performance can be solved by mutability, the memory footprint remains several times larger than state of the art, so this lack of densely packed dictionaries prevents adhoc analysis of large text datasets. So I use other languages for that. Another issue is IO - if I need to split and join pipelines it doesn't work well yet. Some packages are not fully symmetric yet (I mean duality between production and consumption, map/contramap), some errors are not catched statically (it's pretty easy to shoot yourself in the foot by creating code which doesn't work, mostly in the domain of non-linear - forking and joining - pipelines). And without pipelines Haskell's code becomes too ugly and/or prone to leaks. |
I feel like scripting / cli apps should maybe be "Best in class".
Especially because scripts are normally not tested (well), type-safety should be mandatory.
Furthermore there are some really good modules available for building CLI apps.
The text was updated successfully, but these errors were encountered: