r/golang • • 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?

112 Upvotes

176 comments sorted by

View all comments

Show parent comment

1

u/CrashTimeV Jun 21 '25

Yes and part of the reason why you might want to own that instead of using a library is that this space is evolving so fast owning it gives you the flexibility to maintain it better instead of being locked down by a library

1

u/Tobias-Gleiter Jun 21 '25

I agree, but on the other hand using whats there is also a speed advantage. No need to learn everything and focus on business logic. But I see tour point.

Have you found any key components while building and maintaining?