hi all, let's talk about selecting a programming l...
# general
f
hi all, let's talk about selecting a programming language for cross-lang components. if you as a component author knows all 3 main languages (python, ts, go), what language would you choose and why? let's imagine our user doesn't know ANY programming language and will consume infra via pulumi yaml. I am thinking about it in terms of: • easy to install and use. e.g. python component needs python installed. • language ecosystem to simplify component development. e.g. python has pydantic, js has zod, both of which make it significantly easier to parse the config and have proper type checking. • speed of execution - go will probably (?) be faster but does it really matter when we are talking about IaC? • maybe something else I am not thinking about?
m
Great question! If you are leaning on types, TS has better type story than Python I'd say. But I am more familiar with Python and would choose it with type annotations and pyright.
f
rust is all you need