jsii icon indicating copy to clipboard operation
jsii copied to clipboard

Other language support

Open Doug-AWS opened this issue 7 years ago • 21 comments

Let us know if you have a favorite language that we have not covered in the other issues.

Scala, Kotlin, Erlang, Haskell, Visual Basic???

Doug-AWS avatar Aug 13 '18 17:08 Doug-AWS

Kotlin!

The type-safe Builders in Kotlin are a perfect fit for defining infrastructure in code :)

skinny85 avatar Aug 13 '18 19:08 skinny85

Hi! We are already using Haskell with https://github.com/freckle/stratosphere to get some of the way there (type safe CloudFormation construction), trying to define some adhoc higher-level patterns of resource construction, would be really great if there were an official CDK support.

andreyk0 avatar May 17 '19 01:05 andreyk0

Rust, please

(There are dozens of us!)

P.S. I'm willing to assist on the language binding.

booniepepper avatar Sep 06 '19 04:09 booniepepper

+1 for Rust, and I too, would be willing to assist where possible! :+1:

milesgranger avatar Sep 22 '19 14:09 milesgranger

Scala, please.

andrea-zoleo avatar Apr 07 '20 19:04 andrea-zoleo

CUE

I know it's a bit esoteric, but hear me out.

As a declarative language for desired infrastructure state, Cloudformation and others leave a bit to be desired. However, in the quest for more power and expressiveness, I don't think Turing-completeness is what I want, either. CUE's constraints unification approach is a better fit for IaC.

jonwolski avatar May 20 '20 22:05 jonwolski

CUE

I know it's a bit esoteric, but hear me out.

As a declarative language for desired infrastructure state, Cloudformation and others leave a bit to be desired. However, in the quest for more power and expressiveness, I don't think Turing-completeness is what I want, either. CUE's constraints unification approach is a better fit for IaC.

How about Dhal? 🙂

skinny85 avatar May 21 '20 00:05 skinny85

Haskell

AlexeyRaga avatar Aug 04 '20 10:08 AlexeyRaga

Would love to see well maintained Clojure support. https://github.com/StediInc/cdk-clj/ was a nice project, but outside resources just can't keep up with your speed and it's now abandoned.

ska2342 avatar Aug 12 '20 21:08 ska2342

Rust please

kristianpaul avatar Aug 17 '20 02:08 kristianpaul

Yes, Rust please

954alberto avatar Dec 01 '20 13:12 954alberto

Rust rust rust

thawkins avatar Apr 30 '21 20:04 thawkins

Rust!

ZetiMente avatar May 31 '21 15:05 ZetiMente

Rust please!

Give your thumbs up to JSII (which CDK uses under the hood) https://github.com/aws/jsii/issues/1684

praveenperera avatar Jul 26 '21 13:07 praveenperera

Did anything come of this? I would especially like support for Scala 3 now that that's final.

codeslubber avatar Aug 21 '21 22:08 codeslubber

Agreed on Scala support. I created a Scala DSL (works for 2 & 3) for CDK v2 but official support would be great. 😄

NickBurkard avatar Nov 23 '21 00:11 NickBurkard

Scala support so that the code is cleaner than based on the java builder approch. THANX in advance

stejsj avatar Jan 06 '22 09:01 stejsj

Rust is the perfect choice for IaC for many reasons. To mention just two for its powerful typing system and some of the best developer support from the language compiler for correctness. Make it happen please, please, please :).

michaetto avatar Jan 20 '22 12:01 michaetto

Rust pleeease.

felipedds avatar Mar 28 '22 23:03 felipedds

Moving this to the JSII repository.

MrArnoldPalmer avatar Jan 24 '23 20:01 MrArnoldPalmer

@skinny85, as for Dhall, there is:

https://github.com/jcouyang/dhall-aws-cloudformation

AleXoundOS avatar Feb 14 '24 06:02 AleXoundOS