Markus Ziller
How AWS Generates Polyglot Libraries Based on a Single TypeScript Codebase
#1about 2 minutes
Why polyglot libraries are needed for microservices
Microservice architectures create a challenge by requiring cross-cutting concerns to be implemented across multiple programming languages.
#2about 3 minutes
Simplifying infrastructure as code with AWS CDK
The AWS Cloud Development Kit (CDK) provides a high-level abstraction over CloudFormation, allowing developers to define infrastructure using familiar programming languages.
#3about 1 minute
Maintaining feature parity across multiple languages
Supporting multiple languages like Python, Java, and Go in the AWS CDK required a solution to maintain feature parity without rewriting the library for each language.
#4about 2 minutes
Introducing JSii for building polyglot libraries
JSii is a toolchain that generates language-native bindings from a TypeScript codebase, allowing code in languages like Java or Python to interact with JavaScript classes.
#5about 4 minutes
Configuring a TypeScript project for JSii
A TypeScript project is configured for polyglot support by adding specific metadata and target language definitions to the package.json file.
#6about 5 minutes
Navigating language-specific binding challenges
JSii generates bindings for languages like Java, Python, and Go, but developers must handle non-idiomatic code patterns and language-specific constraints.
#7about 3 minutes
Understanding the JSii runtime execution model
JSii operates by running a Node.js child process alongside the host language's runtime, communicating between them by marshalling JSON objects over standard I/O.
#8about 4 minutes
Evaluating the pros, cons, and use cases of JSii
JSii excels at creating cross-language SDKs and tooling but introduces performance overhead and debugging complexity that must be considered.
Related jobs
Jobs that call for the skills explored in this talk.
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Wilken GmbH
Ulm, Germany
Senior
Kubernetes
AI Frameworks
+3
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Matching moments
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
09:10 MIN
How AI is changing the freelance developer experience
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
05:54 MIN
Building a JavaScript generator for Cistercian numerals
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
04:56 MIN
Recreating React components using AI and dev tools
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
Featured Partners
Related Videos
Program your infrastructure with CDK and TypeScript
Robert Hoffmann
The power of Cloud Development Kit (CDK): How to get the most out of it
Alexander Bubeck
Stop configuring infrastructure, start coding it!
Robert Hoffmann
Things I learned while writing high-performance JavaScript applications
Michele Riva
Building Reliable Serverless Applications with AWS CDK and Testing
Raphael Manke
Building software that scales with Typescript
Tal Joffe
Do TypeScript without TypeScript
Simone Sanfratello
4 Steps from JavaScript to TypeScript
Phil Nash
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript

Amazon.com Inc.
Amsterdam, Netherlands
Remote
Senior
Eclipse
IntelliJ
Amazon Web Services (AWS)

JP Digital Recruitment
Glasgow, United Kingdom
£70-80K
Senior
Go
iOS
Dart
Azure
+8

Client Server
Kingston upon Hull, United Kingdom
Remote
£100K
API
Java
Scrum
+7


NTT DATA
Barcelona, Spain
Node.js
Angular
Software Architecture
Continuous Integration
Amazon Web Services (AWS)

Workwise GmbH
Bremen, Germany
TypeScript
Amazon Web Services (AWS)

JPMorgan Chase & Co.
Glasgow, United Kingdom
Python
Docker
Data analysis
Amazon Web Services (AWS)
