top | item 37441206

(no title)

buildartefact | 2 years ago

You’re seriously suggesting writing a game engine in Python?

discuss

order

throw10920|2 years ago

You accidentally responded to the wrong comment. I never mentioned a game engine.

SantalBlush|2 years ago

This thread is about writing a game engine, so GP didn't "accidentally" respond to the wrong comment. Their question is on-topic.

If your comments aren't relevant to writing a game engine, then they're not relevant to this thread.

Turskarama|2 years ago

It doesn't really matter, there doesn't exist a problem space where both Rust and Python are reasonable choices.

Case in point, I once wrote a program to take a 360 degree image and rotate it so that the horizon followed the horizontal line along the middle, and it faced north. I wrote it in python first and running it on a 2k image took on the order of 5 minutes. I rewrote it in rust and it took on the order of 200ms.

Could I iterate in Python faster? Yes, but the end result was useless.