Re:Wing: A cloud-oriented programming language
by OJFord on Monday December 19, 2022 @08:34AM
(#34051820)
But you can generate e.g. terraform manifests from any language without actually compiling (or transpiling) to it? That seems barely more than an implementation detail: I get .tf or whatever I want at the end of it, that's all I care about isn't it?
Re:Wing: A cloud-oriented programming language
by angio on Monday December 19, 2022 @08:04AM
(#34051558)
On the other hand the example on the landing page looks very close to what I can do with Pulumi (in Typescript) already.
Re:Wing: A cloud-oriented programming language
by paulgb on Monday December 19, 2022 @08:22AM
(#34051710)
I’m a fan/user of Pulumi, but this doesn’t feel similar to me. In Pulumi you write code that describes infrastructure, separate from the application layer code you’re deploying.
This appears to be using application code to derive infrastructure config automatically. It’s a but like the https://www.shuttle.rs/ approach.
Edit: after taking a deeper look, a more accurate description might be that it allows you to embed application code within IAC.
Re:Wing: A cloud-oriented programming language
by zachrip on Monday December 19, 2022 @08:47AM
(#34051941)
Pulumi has both, they have something very similar to what is being offered here: https://www.pulumi.com/docs/tutorials/cloudfx/
To do that with JavaScript or python you’d need some really strong static analysis to work out what to do if the user, say, writes a function that returns a list of new buckets to create, or whatever.
Eg the argument seems to be the ability to statically deduce the required underlying cloud resources the code is talking about