I have not seen anyone complain that Python is not compiled for at least a decade, but maybe the author has.
I have not seen anyone complain that Python is not compiled for at least a decade, but maybe the author has.
I'm not worried about Python's type system. At worst it's manageable, at best it's expressive for prototyping.
But when I see benchmarks that suggest Python is 10 to 100X slower for critical server code, I have to wonder why anyone would use it for enterprise development.
Which is why there are so many Java and C++ code jockeys working in enterprise. Neither language is pretty or fun or interesting from a CS point of view. But there's no arguing both consistently run faster than anything this side of assembler.
I would have expected critical industrial infrastructure code to pay some attention to that - because speed isn't an abstraction. When you're running giant data centres, extra cycles consistently cost real money.
Dev costs are relatively small compared to operating costs. So it's well worth spending extra time getting good, fast compiled code working.
Because CPU cycles are cheap and bugs are not.
>Dev costs are relatively small compared to operating costs.
Uhh, not in my experience.
In that case, it may very well be the case that ops costs absolutely dwarf dev costs.
Similarly, it may be that what you want is to take data and run it through super-complicated algorithms depending on a lot of business data, and massage it all over the place... but you only need to do this 10 times per second. In which case your dev costs may absolutely dwarf your ops costs.
It's probably not possible to make a true statement out of context about which costs less. This depends quite heavily on what you're doing.
C++ does have its place (I'm not convinced about Java), but starting with it some project you could make as well with Python just because of performance isn't a good policy.
Because not all enterprise development relates to critical server code?
Neither language is pretty or fun or interesting from a CS point of view.
I find working with c++ brings huge amounts of fun, and I do that almost daily :P But maybe I don't have a CS view (not sure what that is supposed to be?)
[1] http://morepypy.blogspot.com/2015/02/pypy-250-released.html
FORTRAN is faster than C++ and Java but you don't see it used much in enterprise anymore...