My bet is Python - it has some types but more importantly a massive ecosystem, and I think Dark’s target market probably has a little Python knowledge (which would come in handy if they’re looking for open-source contributions down the line).
My bet is Python - it has some types but more importantly a massive ecosystem, and I think Dark’s target market probably has a little Python knowledge (which would come in handy if they’re looking for open-source contributions down the line).
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.
We also use F# for two react front ends with fable (F# to JS compiler). More new alternatives for using F# in the browser (FsBolero/Blazer) via web-assembly or running it server side like Phoenix live view also exist.
One issue we had with Fabel is how .NET DateTimeOffsets are handled on the Client side.
Static types aren't necessarily the best fit for distirbuted systems, network protocols, asynchrony etc.