r/golang • u/Tobias-Gleiter • Jun 20 '25
discussion Replace Python with Go for LLMs?
Hey,
I really wonder why we are using Python for LLM tasks because there is no crazy benefit vs using Go. At the end it is just calling some LLM and parsing strings. And Go is pretty good in both. Although parsing strings might need more attention.
Why not replacing Python with Go? I can imagine this will happen with big companies in future. Especially to reduce cost.
What are your thoughts here?
113
Upvotes
View all comments
Show parent comment
1
u/SeniorHighlight571 Jun 21 '25
Exactly because important for performance parts are written in C++ there is no need to write high level logic on Go or C++. It is just more convenient to use python and have as much performance, as it could be with Go, but much faster developed.