aws / jsii

jsii allows code in any language to naturally interact with JavaScript classes. It is the technology that enables the AWS Cloud Development Kit to deliver polyglot libraries from a single codebase!
https://aws.github.io/jsii
Apache License 2.0
2.65k stars 245 forks source link

Shared Library packaging #3500

Open luistrigueiros opened 2 years ago

luistrigueiros commented 2 years ago

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

CDK version used

all

Environment details (OS name and version, etc.)

windows

MrArnoldPalmer commented 2 years ago

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

luistrigueiros commented 2 years ago

@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