Skip to content
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

Why Haskell! #165

Closed
QuestionPython opened this issue Jan 5, 2018 · 3 comments
Closed

Why Haskell! #165

QuestionPython opened this issue Jan 5, 2018 · 3 comments

Comments

@QuestionPython
Copy link

QuestionPython commented Jan 5, 2018

Hello,

Question : Why choose Haskell for the server and API?
May you explain me with reasons?
Why not Nodejs+SocketIO/C/CPP/RUST?

@tiago-loureiro

@fisx
Copy link
Contributor

fisx commented Jan 27, 2018

I was not involved in the decision, but I can give you lots of good reasons: Haskell is expressive and concise, fewer lines of code means fewer bugs. The Haskell type system renders many programming errors impossible that you've seen in other languages, while it makes testing and refactoring so much easier it still surprises me after I've known the language for almost 20 years. The ghc compiler and runtime are amazingly time and memory efficient. It is easier to find and keep good developers if you let them work in Haskell.

You can find lots of material on this, from research papers on type theory to blog articles from people who are new to Haskell and want to share what they've learned. Or this: http://baatz.io/posts/haskell-in-a-startup/. Or go to gatherings near you and troll Haskellers in real life ;-).

You sound like you are frustrated, but you don't explain very well why. Why do you want to discuss choice of language of a code base this mature? What are your reasons against wire's choice and for your preferences? What specifically did you hope to accomplish by opening this issue?

Anyway, I hope this answer inspires you! (-:

@neonpixii
Copy link

Not a wire dev, just a fan of big Haskell (i'm not super great with it but i just really enjoy writing in it). I was pretty pleasantly surprised to see that it was being put to use in my favorite chat app! Nice choice, Wire. :3

@tiago-loureiro
Copy link
Contributor

@QuestionPython Hope that @fisx has inspired you and helped clear some doubts :)

Will close down this issue for now, thank you for your interest!

smatting pushed a commit that referenced this issue Apr 20, 2022
Minor change: put sd command on its own line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants