News for hackers. Stuff that matters.
Re:Dark’s new backend will be in F# by kodah on Tuesday November 03, 2020 @10:14AM (#24980338)
I spent some time last night looking at it. Just to affirm what you're saying, there's hardly any information on their frontpage unless you go venturing into videos and blog posts.

Dark is basically a language that's designed to be serverless out of the box. They've baked their own engine into the language as well as dependencies for various cloud providers, databases (postgres was highlighted a lot), etc so that you can build serverless applications quickly while having no knowledge of operating systems, infrastructure, or really even computer science.

It reminds me of a number of the languages out there that are low-code or no-code. A regular programmer probably wouldn't even recognize some of the syntax and symbolization this language uses.

Here's some examples: https://blog.darklang.com/spin-up-a-slack-app-in-seconds-wit... Most of us have probably built a Slack app by now (or bot) so this is a good example to compare with IMO.

Dark has a mission of appealing to 1B people and they say the first step is to appeal to developers.

Re:Dark’s new backend will be in F# by mattmanser on Tuesday November 03, 2020 @12:18PM (#24981632)
Did you figure out what the greyed out "v1", "v4", etc. after certain calls was for? I clicked through a few pages but couldn't figure it out.

Internal versioning as they release new methods on their own libraries? So it doesn't break old ones?

Re:Dark’s new backend will be in F# by pbiggar on Tuesday November 03, 2020 @12:36PM (#24981842)
That's right, we version all stdlib functions. I talk about it a bit here: https://blog.darklang.com/how-dark-deploys-code-in-50ms/

When we add a new version of a function, all the calls to the old function are unchanged. The autocomplete shows new users the new version (and not the old version), while people who are calling the old version get shown both.

Re:Dark’s new backend will be in F# by steve_adams_86 on Tuesday November 03, 2020 @12:42PM (#24981910)
Is this what you refer to as feature flags in the FAQ?

> Q: Deployless seems dangerous! Won't I constantly break my application?

> A: ... snip ... With Dark's feature flags, you have precise control over how and when a specific feature or set of features becomes live, and for which part of your user base.

Re:Dark’s new backend will be in F# by pbiggar on Tuesday November 03, 2020 @12:48PM (#24981977)
No, feature flags are used to wrap an expression and conditionally choose another expression. Its a fancy if expression. In Dark you add one by selecting `add-feature-flag` from the command palette.
Re:Dark’s new backend will be in F# by inopinatus on Tuesday November 03, 2020 @05:01PM (#24984517)
The Segway of programming languages.
Re:Dark’s new backend will be in F# by jrumbut on Tuesday November 03, 2020 @12:35PM (#24981829)
Oh definitely an innovative project and I think F# is such a good choice for the purpose.

Hope it works out!