book
ihp
Our great sponsors
book | ihp | |
---|---|---|
18 | 124 | |
1,159 | 4,219 | |
0.6% | 0.5% | |
2.7 | 9.5 | |
2 months ago | 4 days ago | |
OCaml | Haskell | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
book
-
OCaml: a Rust developer's first impressions
Some of your questions might be answered in this book (free online version): https://dev.realworldocaml.org/
- Compiler Development: Rust or OCaml?
-
Nix-Powered Development with OCaml
I don't think they're wrong
the Jane Street side are quite prolific with blog posts etc
as a newcomer to OCaml one of the first, and nicer-looking, intro resources you'll likely encounter is the Real World OCaml book https://dev.realworldocaml.org/ which unfortunately does everything using Base instead of the stdlib
Personally that didn't sit right to me and I prefer to use the stdlib by default (which seems fine and not in need of a wholesale replacement)
-
Comparing Objective Caml and Standard ML
This is an oldie but a goodie.
OCaml has, unlike Standard ML, grown quite a lot since this page was made.
In particular, the section "Standard libraries", I'd recommend looking at:
https://dev.realworldocaml.org/
A couple of places where the comparison is outdated:
- OCaml using Base [1] allows for result-type oriented programming
- OCaml using Base uses less language magic and more module system
While there was and is truth to the distinction that SML is for scientists and OCaml is for engineers, this dichotomy is getting dated: OCaml is under active development, which means that scientists who want better tooling will choose OCaml. For example, 1ML [2] by Andreas Rossberg was built in OCaml.
[1]: https://opensource.janestreet.com/base/
-
Resource recommendations for a beginner.
Real World OCaml (version 2 is finally out) is also pretty good.
-
OCAML HELP!
Real World OCaml is also a good resource, geared more towards people who already have some programming experience and want a more industry/practical focused learning experience.
-
Teach Yourself Programming in Ten Years
ocaml.org’s new website is packed with lots of great early intros.
most learners eventually gravitate towards Real World OCaml https://dev.realworldocaml.org/ for additional learning.
Unfortunately, the learning resources for different domains out there isn’t as highly curated or prolific as, say, rust. If you do web dev like me, it takes a bit more work to find the tools and put them together. But the language itself lends itself well to systems level programming.
Fortunately, the forum is a great help.
-
Help getting started with Ocaml
In general, better read the second edition which is updated to use current Core versions. A print version was published recently.
-
learning ocaml this semester.
I recommend https://dev.realworldocaml.org/ and https://cs3110.github.io/textbook/cover.html
-
Functional Reactive Programming
Elm is not dead. It just prefers a slow release schedule but is still actively worked on in the background.
That said, you might want to check out OCaml for general purpose programming. Super fast compiler, great performance, can target both native and JS.
It is easier to use than Haskell due to defaulting to eager evaluation (like most languages) strategy instead of laziness and being generally more pragmatic, offering more escape hatches into the imperative world if need be. Plus great upward trajectory with lot's of cool stuff like an effects system and multi-core support coming.
Real World Ocaml is a decent resource: https://dev.realworldocaml.org/
ihp
- IHP – The Haskell Framework for Non-Haskellers
-
Ask HN: Why are all of the best back end web frameworks dynamically typed?
I found IHP straightforward:
https://ihp.digitallyinduced.com/
despite not remembering much haskell!
This assumes you can get past nix for the install.
I find IHP well-designed. I just wish the licensing scheme were more transparent.
- IHP v1.1.0 has been released 🎉
- IHP Haskell Framework v1.1.0 has been released
-
Servant or framework
You can find the docs at https://ihp.digitallyinduced.com/ and some getting started videos at https://www.youtube.com/watch?v=PLl9Sjq6Nzc&list=PLenFm8BWuKlS0IaE31DmKB_PbkMLmwWmG
-
Haskell Optimization Handbook
In case this got you interested in Haskell, and you want a good way to start your Haskell journey (and have something to apply the optimization handbook to), check out IHP. It's the Rails/Laravel of the Haskell world. You can start here https://ihp.digitallyinduced.com/Guide/index.html or check it out on GitHub here https://github.com/digitallyinduced/ihp
-
Show HN: Algora.io – Open-source development bounties
At IHP we've been using Algora for a while now and it works really great. Here's e.g. one PR that was merged last week with a bounty attached https://github.com/digitallyinduced/ihp/issues/1621 Everything was set up in less than 15 minutes and ioannis and zafer have been super helpful with any questions we had.
In general I think this is a good direction and an interesting take on the open question around sustainable open source. Congrats on the launch and keep up the great work! :)
- Por que Elm Ă© uma linguagem tĂŁo deliciosa?
-
Any open source projects to contribute to for beginners
You could contribute to IHP! We have some great docs to get started here https://github.com/digitallyinduced/ihp/blob/master/CONTRIBUTING.md And we have some low hanging fruits in GitHub issues for you to get started with, e.g. https://github.com/digitallyinduced/ihp/issues/1601 (also there's always lots of activity in the IHP Slack, in case you have any questions/need help)
- IHP Haskell Framework v1.0.1 has been released
What are some alternatives?
swift-async-algorithms - Async Algorithms for Swift
miso - :ramen: A tasty Haskell front-end framework
awesome-ocaml - A curated collection of awesome OCaml tools, frameworks, libraries and articles.
Ruby on Rails - Ruby on Rails
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
haskell-ux - Let's make Haskells error messages helpful :)
learn-you-a-haskell - “Learn You a Haskell for Great Good!” by Miran Lipovača
Phoenix - Peace of mind from prototype to production
ocaml-containers - A lightweight, modular standard library extension, string library, and interfaces to various libraries (unix, threads, etc.) BSD license.
ghc-proposals - Proposed compiler and language changes for GHC and GHC/Haskell
onelinerizer - Shamelessly convert any Python 2 script into a terrible single line of code
purescript-flame - Fast & simple framework for building web applications