|
|
|
|
|
by thelastparadise
1003 days ago
|
|
This is often said, but is it really true? Im thinking of libraries like torch, tensor flow, or pandas. I'm not sure rewriting torch client code from python to c++ would typically be that much faster as most of the work is already being done on the GPU and is highly optimized (much like a game). |
|
Python isn't really performant enough, or at least hasn't been in the past. Performance still matters, even for a scripting language.
In general, if your engine does what you want right out of the box with no modifications, you can go a long way to writing a game in the scripting language and - if you're not pushing it hard - not suffer any real performance issues. But as soon as you want to chase framerates, or do something unique or time-critical or computationally difficult, which is often, you 100% need that low-level language.