It’s a question of who your biggest audience is. H...
# general
b
It’s a question of who your biggest audience is. Have you surveyed new Pulumi adoptees on what languages they already know?
w
To be clear - Pulumi is fundamentally multi-language and will be increasingly so over time. It is very much a goal to be the best option for infrastructure as code for any developer, and we are investing heavily in Python, Go and .NET (as well as TypeScript) and will continue to do so. Feedback always welcome on ways we can continue to improve support for one or multiple of these language ecosystems.
b
I appreciate your long term goal, however I’m still curious as to why Pulumi decided to focus on Typescript as their first language.
f
Because static typing that prevents you from shooting yourself in the foot.
c
also Luke helped make typescript which probably helped a lot with the decision making.
👍 1
b
@clever-nest-47198 That makes a lot of sense. For a new startup getting an initial product is one of the most important things, and language expertise means both faster velocity and fewer issues. @white-balloon-205 https://pulumi-community.slack.com/archives/CDE799L1M/p1577382013020200?thread_ts=1577160574.015700&cid=CDE799L1M has me a bit concerned. Will that changing over time or is the structure set in stone?
c
I have written probably about 10k lines of pulumi python, and the only thing I'll agree with is the apply thing, but thats not really weird if you're used to writing async python
I'm using subprocess in an apply function just fine to shell out to the aws cli to update .kubeconfig, I use "with" all the time.
If you're used to writing Terraform, and then wanted to change your terraform script to pulumi python, its very close. https://pulumi-community.slack.com/archives/CDE799L1M/p1577381732019800?thread_ts=1577160574.015700&cid=CDE799L1M If you're trying to do what Matt's doing where you're making what appears to be something that doesn't fit into a resource graph and not done async, you're gonna have a bad time.
One annoying thing is certain libraries being typescript only first (python-kubernetesx, python-eks), but we've pretty easily recreated the functionality of those libraries in pythonn
team of about 6 people using pulumi-python, and we're doing fine, to power a pretty big company delivering food
👍 2
w
One annoying thing is certain libraries being typescript only first (python-kubernetesx, python-eks), but we've pretty easily recreated the functionality of those libraries in python
FWIW - We are optimistic that we will be able to address this with the work in https://github.com/pulumi/pulumi/pull/3711 (and discussed more high level in https://github.com/pulumi/pulumi/issues/2430).