What does HackerNews think of dark?
Client, backend, and services for Dark: https://darklang.com
Language:
ReScript
#9
in
JavaScript
#22
in
Python
Blog Post from 2019.
https://github.com/darklang/dark
Dark is not open source, but source available
All of darklang's infra is source available, feel free to read it. This [1] is a good entry point for the infra configuration and setup.
Monorepos are also great for small monorepos with just a few projects. The darklang monorepo [1] has a devcontainer that installs all the build tools for 4 projects which create 21 different services, using 6 languages, and building everything is one step.
In fact, it makes it so easy to add new stuff that I didn't even realize we had 21 services til I counted. My first guess was 12.
Python is a bad choice for writing reliable software. If you need the reliability of type checking, just use an early-bound language, not a late-bound language with checking grafted on. And very few Python libraries have type annotations.
And while 3 fixed some footguns, e.g. 'a' < 5 now throws a TypeError and there's a clear distinction between str and bytes, others remain, e.g. if you reuse a generator it will silently be empty.
Looking at the repo[1] the languages tab shows:
OCaml 78.6% F# 12.2%
The F# hits are in a directory "fsharp-backend", and all in the last 3 weeks.
I'm not aware of any, sorry. You can look at the dark repo to see how we do it though: https://github.com/darklang/dark