Boy are they ignorant

Story: Google quietly releases open-source NX serverTotal Replies: 10
Author Content
bigg

Jul 16, 2009
2:16 PM EDT
As everyone knows, Python is really, really slow. You simply cannot use Python for real projects. Yet it says here

Quoting:Neatx is written in Python, with a few wrapper scripts in Bash and one program written in C "for performance reasons."


Google needs to hire some programmers who know what they're doing. Neatx should have been written in C#, Java, or a fast language. {Note: I'm mocking the articles and posts around here lately spreading FUD about Python being slow. I trust that Google's developers have a clue about the choice of language.}
jezuch

Jul 16, 2009
3:00 PM EDT
And Steve Yegge (also at Google) writes servers in JavaScript. [Can't find the reference at the moment...]
dinotrac

Jul 16, 2009
3:09 PM EDT
bigg --

Wait a minute --

Python actually is slow. You need Ruby to make it look fast.
number6x

Jul 16, 2009
3:21 PM EDT
Ruby? Python?

It does not matter

Why the Lucky Stiff wrote code that lets you compile your Ruby into Python byte code! http://www.linux-mag.com/id/7432/ (see the portion of this article titled 'Heresy!')

It all bytes!
tuxchick

Jul 16, 2009
3:37 PM EDT
Python is hundreds of time slower than C#, so that means Neatx will perform about as well as 26k dialup.
dinotrac

Jul 16, 2009
5:06 PM EDT
6x -

Communist!

TC -

How do you get 26 kittens to dial anybody up?
number6x

Jul 16, 2009
5:26 PM EDT
dino,

Heresey would mean I was like a Lutheran or a Calvinist.

Speaking of Calvin, I use 26 tigers on all of my dial up connections. It makes short work of telemarketers.
dinotrac

Jul 16, 2009
7:52 PM EDT
6x -

Mmm. Telemarketers -- tasty. Gassy, but soft and tender.
krisum

Jul 17, 2009
3:18 AM EDT
Quoting: posts around here lately spreading FUD about Python being slow
I must say that even though the "slowness" of python may be exaggerated and/or specific to some kinds of benchmarks, google's use of it does nothing to disprove the benchmarks that had been linked in the forums here. As most programmers would know (or should know) that performance of a complete product mostly depends on < 10% of the code. So while python's performance might be okay for things like GUI, it may be below par for stuff like number crunching. Indeed, critics may well conclude that google had to use C for performance critical piece since python is not up to mark. Theoretically, a JIT like psyco should enable python to go as fast as other JITed languages though java/C# JITs are much more mature so would have an advantage.
bigg

Jul 17, 2009
9:06 AM EDT
> google's use of it does nothing to disprove the benchmarks that had been linked in the forums here

Exactly, because benchmarks do not need to be disproven, as they are complete nonsense when making blanket statements about a programming language. What it does is demonstrate that anyone making a blanket statement about Python being useless is clueless. I'll take a Google programming team over an anonymous commentator any day.

> it may be below par for stuff like number crunching

Check out Cython. You pull out the bottlenecks, add typing for the variables (roughly speaking) on that part of the code, and you will end up with performance that is almost as good as C.

I will admit that Python does give the programmer the option to write slow code.
hkwint

Jul 17, 2009
10:23 AM EDT
Quoting:Google needs to hire some programmers who know what they're doing.


But Guido van Rossum was a bad choice, huh!?

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!