hey all another question that was raised. when wri...
# general
a
hey all another question that was raised. when writing your code (Python, Go etc) for Pulumi infra apps. Are there any benefits of using say Go over say Python? they are all run as interpreted languages anyway. Unless i am missing something??
l
Go isn't interpreted.
a
yes i know but when you run pulumi up does it first compile the Go or C# code then run it. I am trying to work out the optimal performance outcome
l
But there isn't any particular benefit. Typescript seems to have the biggest uptake. There was a benefit in using Typescript once upon a time, but not much different any more.
a
ok personally i prefer Python
l
Yes, it compiles them first, but it's all hidden by the Pulumi app, afaik.
a
ok thanks
🙂
l
The language doesn't affect performance significantly. Most of the time is spent actually deploying stuff, waiting for responses from providers..
a
that was my thought too
waiting for the resource providers APIs etc
thanks
g
From experience, I'd recommend TypeScript before pulumi implements the TypedDict type for python.
s
Go type checking is pretty nice too, and IDE support, but the Pulumi SDK doesn’t yet support Go generics so it’s not verbose than Python or TypeScript