jsii icon indicating copy to clipboard operation
jsii copied to clipboard

Shared Library packaging

Open luistrigueiros opened this issue 3 years ago • 2 comments

Describe the feature

At the moment JSII is requiring that NodeJS is available in order for users of the CDK in other languages be able to use it. But if JSII was package as a shared library that could simply be pull just using native dependecy management tools for each language be it for example either JVM, Go, .NET, Python then this would make user in this other languages more at easy with using it, because at the moment as in practice CDK only looks to be something that one would only use it either from Javascript or Typescript.

Use Case

Make it easier for consumers in other languages runtimes to use JSII

Proposed Solution

Examples exist in the Java with for example embedded MongoDB or embedded Redis

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

CDK version used

all

Environment details (OS name and version, etc.)

windows

luistrigueiros avatar Apr 27 '22 12:04 luistrigueiros

We have been talking about this for awhile and is something we are actively exploring now!

MrArnoldPalmer avatar May 24 '22 22:05 MrArnoldPalmer

@MrArnoldPalmer thank you for the feedback. Have seen Pulumi, they have a thing called crosscode that looks to allow then to generate cross platform code

https://github.com/pulumi/pulumi/tree/master/pkg/codegen

luistrigueiros avatar May 25 '22 07:05 luistrigueiros