3 ms·
>Nobody writes a AAA game in Python. No, but the scripting/UI/mod toolkit for the game might be in Python >Nobody writes a performant Apache/Nginx class web-s
by voltagex_ 14y ago
>Nobody writes a AAA game in Python.
No, but the scripting/UI/mod toolkit for the game might be in Python
>Nobody writes a performant Apache/Nginx class web-server in Python
No, but Python can do quite well serving WSGI to Nginx
>Nobody writes a database engine in Python
No, but Python ORMs work pretty well.
The point I'm trying to make is that I don't think that it's a bad thing that Python sometimes gets relegated to a "support" language.
I think the time of the single language programmer is over. If you need something faster than Python, use something else.
- coldtea 14y ago>The point I'm trying to make is that I don't think that it's a bad thing that Python sometimes gets relegated to a "support" language. Of course it is bad. It would only be good if the inverse (being able to write the whole thing in Python and get the same speed) would be worse. But it clearly is not -- hence, it's bad. It might be pragmatic and necessary compromise at the moment, but that doesn't make it "not bad". >I think the time of the single language programmer is over. If you need something faster than Python, use something else. On the contrary, multi language projects are a kludge born out of (pragmatic) necessity. Nothing inherently inevitable (or good) about them.
- pwang 14y ago> On the contrary, multi language projects are a kludge born out of (pragmatic) necessity. > Nothing inherently inevitable (or good) about them. Um, except that coherent planes/tiers of abstraction is the foundation of robust software engineering. You write languages to a spec; compiler authors emit bytecodes for another spec; hardware engineers optimize transistors and lay traces on silicon to meet yet another spec. Etc. Multi-language is the only thing that makes the world work today. The closest single-language runtime that exists is FORTH and things like that. Every other "modern" language where you get to pretend your process has a contiguous address space, or that there even exists a thing such as "process", is s pragmatic compromise between compiler and runtime technology.
- coldtea 14y ago>Um, except that coherent planes/tiers of abstraction is the foundation of robust software engineering. You write languages to a spec; compiler authors emit bytecodes for another spec; hardware engineers optimize transistors and lay traces on silicon to meet yet another spec. Etc. Except that we talk about stuff that should be in the same level of abstraction in the first place. It's not about writing a compiler or OS in Python, or using Python for CPU microcode. It's about writing the numerical routines in a scientific/statistics package in the same language that you write the core business logic, etc.