News for hackers. Stuff that matters.
Re:Show HN: Darklang by ithkuil on Monday September 16, 2019 @04:14PM (#20988115)
It seems that darklang goes one step further than your average faas: every new code you write is deployed as you write it without any explicit deploy action, but the design of the Lang/IDE ensures new code is always behind a feature flag that makes that new behavior visible only to you until you decide to expand the audience until eventually reaching 100% of the users.

You can do that with any language and any serverless stack around, but it still requires work. I'm struggling often to make my teams accept that this little extra setup work will let you iterate faster and often it's not that obvious that it would, since the overhead of the process is non-zero (for some value of zero).

I can't wait to try darklang; I'm really curious. I just need to think of a pet-project that would be suitable for the beta.

Re:Show HN: Darklang by carlosdp on Monday September 16, 2019 @04:54PM (#20988498)
That progressive deployment is neat and all, but I'm not convinced that's a problem that actually existed. More importantly, I'm definitely not convinced it's a big enough feature to drive a significant amount of developers to sacrifice the ecosystem benefit from using a popular/open-source language to use a proprietary language that only works on one proprietary cloud host.

Like how is that a 10x improvement on modifying a Lambda function in something like Netlify and clicking "Deploy"? And just "Rollback" if it goes wrong? For most products, which have relatively small user counts, they don't gain much from gradual rollouts.

Re:Show HN: Darklang by ithkuil on Monday September 16, 2019 @07:44PM (#20989664)
I do share that feeling of unease that comes from non only from the lock-in but also from the departure from the text-only environment I'm so used and probably many other things that might be practical showstoppers for dark adoption.

Right now I'm looking at it for what it is: food for thought.

For me this gradual deploy matters because:

1. it generalizes local development and production and possibly also staging/testing environments in between. I don't have to setup some docker-compose environment that sets up the whole shebang locally. I don't have to setup complex CI systems that spin up an env for integration tests. And I don't have to bend over backwards to ensure that both local and automated test envs are reasonably similar so I can troubleshoot when stuff fails only on CI.

2. even if I don't have that many users, and even if my uptime is not that important; I still don't want to unduly break the application. Somebody will be watching and complaining, if only your boss. What usually happens is that people tend to batch changes and have periodic pushes to production. I've seen products with relatively small user bases have very time consuming release processes. Starting weekly, then biweekly, then monthly. The more the pain, the less frequently you ended up doing them . The less frequently you ended up doing them the more painful they become. Then you end up with somebody dedicated on that because this "release engineering" is becoming clearly a bottleneck. And you do more of it, because now it's somebody's job.

Re:Show HN: Darklang by iq22hi on Wednesday September 25, 2019 @02:37PM (#21073771)
Does dark provide graphql api?
Re:Show HN: Darklang by jimbokun on Monday September 16, 2019 @06:46PM (#20989325)
"... but the design of the Lang/IDE ensures new code is always behind a feature flag that makes that new behavior visible only to you until you decide to expand the audience until eventually reaching 100% of the users."

Ah, so "Dark" as in "dark launch"?

Re:Show HN: Darklang by ilaksh on Monday September 16, 2019 @09:43PM (#20990396)
Nice username.