| ▲ | amelius 8 hours ago | |
Yeah, if you hit limits just look for a module that implements the thing in C (or write it). This is how it was always done in Python. | ||
| ▲ | ryandrake 6 hours ago | parent | next [-] | |
I am currently (as we type actually LOL) doing this exact thing in a hobby GIS project: Python got me a prototype and proof of concept, but now that I am scaling the data processing to worldwide, it is obviously too slow so I'm rewriting it (with LLM assistance) in C. The huge benefit of Python is that I have a known working (but slow) "reference implementation" to test against. So I know the C version works when it produces identical output. If I had a known-good Python version of past C, C++, Rust, etc. projects I worked on, it would have been most beneficial when it came time to test and verify. | ||
| ▲ | willseth 8 hours ago | parent | prev [-] | |
Sometimes it’s as simple as finding the hotspot with a profiler and making a simple change to an algorithm or data structure, just like you would do in any language. The amount of handwringing people do about building systems with Python is silly. | ||