News for hackers. Stuff that matters.
Re:Less is exponentially more (2012) by zanny on Friday September 20, 2013 @11:11AM (#6418184)
Well written code in any language will almost always outperform poorly written code in another language. Python being 50x slower than C++ doesn't matter if you are using an exponential imlpementation of a linear problem.
Re:Less is exponentially more (2012) by craigyk on Friday September 20, 2013 @01:17PM (#6419081)
The thing, IME, is that someone writing code in C++ is more likely to be aware that they are using an approach with suboptimal O. In a high-level language you can just as easily write a routine with bad O, especially if you don't understand the PL's underlying data structures. So then you get bad algorithm performance + bad Python performance.
Re:Less is exponentially more (2012) by luikore on Friday September 20, 2013 @11:35AM (#6418367)
That's what I meant. For most cases Go's performance over Python or even some messy C++ offers little use. But in some rare cases that we need to push the very limit of hardware, C++/C/assembly is more preferable than Go.