Home > Article > Backend Development > Can I use different languages in a single GAE app, and how can I optimize performance?
Question:
As a beginner using Python and GAE, I understand that optimizations are usually implemented as needed. Rewriting critical sections in C is one method.
Does utilizing GAE eliminate this strategy? Since Go will be the fastest language for GAE due to compilation improvements, can Python and Go be combined within a single app? Are there alternative approaches for achieving similar results?
Answer:
Using multiple languages in a GAE app is possible as described in "Can I write parts of the Google App Engine code in Java, other parts in Python?".
However, each app version must employ a single runtime language. You can establish two distinct app versions in various languages, exchanging data via the datastore.
Additionally, you can create separate apps in different languages and pass data between them using requests.
The above is the detailed content of Can I use different languages in a single GAE app, and how can I optimize performance?. For more information, please follow other related articles on the PHP Chinese website!