TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Deploying Kubernetes clusters in increasingly absurd languages

149 pointsby jaxxstormabout 3 years ago

9 comments

jaxxstormabout 3 years ago
Since I wrote this article, my colleagues and friends have chipped in with even more absurd examples.<p>How about some Pascal? <a href="https:&#x2F;&#x2F;github.com&#x2F;jaxxstorm&#x2F;pulumi-examples&#x2F;pull&#x2F;96" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jaxxstorm&#x2F;pulumi-examples&#x2F;pull&#x2F;96</a> Or maybe Emacs Lisp is more your flavour? <a href="https:&#x2F;&#x2F;github.com&#x2F;jaxxstorm&#x2F;pulumi-examples&#x2F;pull&#x2F;95" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jaxxstorm&#x2F;pulumi-examples&#x2F;pull&#x2F;95</a><p>Or the pièce de résistance: Brainfuck: <a href="https:&#x2F;&#x2F;github.com&#x2F;jaxxstorm&#x2F;pulumi-examples&#x2F;pull&#x2F;97" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jaxxstorm&#x2F;pulumi-examples&#x2F;pull&#x2F;97</a>
评论 #31288624 未加载
评论 #31287087 未加载
评论 #31290495 未加载
评论 #31288019 未加载
评论 #31288761 未加载
waprinabout 3 years ago
When I worked at Google, I made an App Engine Flexible runtime for the Whitespace language (only valid characters are space, tab, etc). <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Whitespace_(programming_language)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Whitespace_(programming_langua...</a><p>App Engine Flexible was another one of these products that just needed a container that responded on certain ports, it was quite fun to get it working. But I ended up writing a tiny &quot;compiler&quot; that would compile a small subset of Python to whitespace since writing just whitespace itself was quite challenging, obviously.<p>I wanted to release it on April Fools Day but my manager was totally against it because April fools had become its own serious entity in the marketing org and he didn&#x27;t want me stealing their thunder ( these days Google has dropped April Fools jokes altogether, I guess it got a little played out).
评论 #31288512 未加载
评论 #31288848 未加载
throwaway787544about 3 years ago
I love this article, but I also hate that Pulumi has created yet another bad DSL using YAML. One day, somebody in charge of product design will also be a good engineer, and the crazy shit customers ask for will not end up a terrible feature. Until that day...
评论 #31287509 未加载
评论 #31287600 未加载
评论 #31287763 未加载
评论 #31287158 未加载
评论 #31291343 未加载
评论 #31287633 未加载
dilyevskyabout 3 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;cruise-automation&#x2F;isopod" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cruise-automation&#x2F;isopod</a><p>Starlark -&gt; protos -&gt; k8s api. Jic you wanted more confuse
flurieabout 3 years ago
I know this piece is mostly for the humor of increasingly arcane config generation systems, but given that Pulumi is attempting to displace the most popular application using HCL2, I find it interesting that the HCL example looks ergonomically awful.<p>The CUE support in particular looks fairly interesting, because I think it is going to end up being the universal translator for a bunch of these golang tools due to its ability to pull in types directly from code.
protomythabout 3 years ago
Might as well do MUMPS and COBOL for the next article.<p>I found the Fortran example very interesting. I guess it makes sense modern libraries would be available.
评论 #31287201 未加载
BonoboIOabout 3 years ago
Brainfuck?<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Brainfuck" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Brainfuck</a><p>Example: ++++++++[&gt;++++[&gt;++&gt;+++&gt;+++&gt;+&lt;&lt;&lt;&lt;-]&gt;+&gt;+&gt;-&gt;&gt;+[&lt;]&lt;-]&gt;&gt;.&gt;---.+++++++..+++.&gt;&gt;.&lt;-.&lt;.+++.------.--------.&gt;&gt;+.&gt;++.
评论 #31287944 未加载
lukehobanabout 3 years ago
There have been some good questions in a few of the threads here about why Pulumi added YAML support in the first place. I thought I’d share a few thoughts on that.<p>Certainly it wasn’t only about being able to compile all sorts of esoteric languages down into a YAML-based data representation - though it’s fun to see the results of that here :-).<p>Our goal at Pulumi has really been to offer the best tools for infrastructure as code, and for defining and managing cloud infrastructure more generally, for <i>any</i> developer working with the cloud.<p>We started with a focus on the high-end - teams managing significant complexity of cloud infrastructure to get the most they can out of the managed services their cloud providers are making available as building blocks. We’ve grown with this part of the market, with great adoption and usage across many of the most advanced cloud engineering teams.<p>In order to grow with these users, we’ve invested in many layers of the Infrastructure as Code stack. Some of those improvements have been related to the software engineering benefits of using traditional general purpose programming languages to manage cloud infrastructure - IDEs, types, abstraction and reuse, test frameworks, packaging and versioning and so much more. But we’ve also been making improvements at many other layers of the stack. Our cloud deployment orchestration engine is now, I believe, the richest option in the market - with multi-cloud support, built-in secrets management, refactoring support with aliases, rich controls over replacement behaviour, built-in support for components, and much more. And our native providers for Azure, Kubernetes, Google Cloud and AWS are the most complete and most up-to-date providers for managing those cloud platforms.<p>We wanted to be able to offer all these benefits to the broadest possible range of developers working in the cloud. Since we already have very rich programming language options, we wanted to add an option at the other end of the spectrum - the simplest possible interface we could to the Pulumi platform. And that is what Pulumi YAML is. It is <i>very</i> simple, and designed for small scale use cases (a few to a dozen resources). It composes with the rest of the Pulumi ecosystem, so it’s easy to push complexity into components built in other Pulumi languages, to reference outputs of stacks deployed by other Pulumi languages, or even to &quot;eject&quot; into another Pulumi language if the complexity gets too high in YAML. So unlike many other IaC ecosystems where YAML or a DSL is the <i>only</i> option, in Pulumi, YAML can be a nice solution for simple use cases, without having to be abused for the complex use cases that are already well served by Pulumi’s existing alternative programming language choices.<p>There’s more details on all of these points at <a href="https:&#x2F;&#x2F;www.pulumi.com&#x2F;blog&#x2F;pulumi-yaml&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.pulumi.com&#x2F;blog&#x2F;pulumi-yaml&#x2F;</a> for those interested in learning more!
AndyNemmityabout 3 years ago
What is that cat replacement you are using?
评论 #31289788 未加载