
(Someone said "string manipulation."

--IronDuke
C(++) might be faster at runtime, but Python is faster when you're writing it, especially since it has such a generous standard library. In terms of data mining or computational linguistics processing, Python is actually a preferred language since string manipulation is so easy, and many array/string operations that would require an explicit for-loop or function call in C-like languages can be done with a simple slice operation in Python. Underlyingly the procedure is the same, but it's at a higher level of abstraction for the programmer.Silverware wrote: Work fine, does not mean work fast
I can do the same numerical work in C or C++ much faster.
(or in JS at about the same speed, only with more work involved due to Py having the nice SciPy libs)
Python is great for the general use-case of calculating random shit. But it is not a speed demon, and is best used for one-off calculations, rather than trying to get thousands of calculations per second.
Yes, and I believe OpenStack is also compiled Python
Thank you Grumbesaur.Grumblesaur wrote: but Python is faster when you're writing it,
Google uses a JS frontend, and I have no idea what they use at the back, but my money is on a custom C++ compiled application, designed to work in tandem with their database engine. In modern terms there are plenty of backends you can use to replace PHP, and even replacing Apache/Tomcat is possible. Node.js is one possibility, and Python can do the same things that Node.js can.Grumblesaur wrote: Python is also starting to encroach upon JavaScript and PHP's territory as web programming languages, serving as part of the back-end structures of Google, Facebook, and Youtube.
It's often used as a glue language between services written in other languages, particularly C, since there's a library that allows Python to call C functions (or something to that effect).
EDIT: It does not surprise me that Yahoo has a JavaScript frontend and a JavaScript & PHP backend. This is obviously one of the contributing factors to Google being so kickass, and Yahoo being so lame.
FTFYSilverware wrote: Who even uses something that saves you a lot of time?
Just code in something that doesn't have auto-complete or syntax checking, and debug in something that doesn't give any info beyond where your program crashed!
Because making things unnecessarily harder for yourself is good for some reason!
YesDinosawer wrote:FTFYSilverware wrote: Who even uses something that saves you a lot of time?
Just code in something that doesn't have auto-complete or syntax checking, and debug in something that doesn't give any info beyond where your program crashed!
Because making things unnecessarily harder for yourself is good for some reason!
FTFYsilverware wrote: This way, you can waste hours re-reading your entire code file instead of knowing what part didn't work in what exact circumstances, because the 90 percent of that time where you're not even able to work on your code makes you a better programmer, somehow
vim > viSilverware wrote:Who even uses an IDE?
Code in a text editor and debug in a CMD prompt (or a terminal window if you are on nix)
Or be real men, and code in vi. :3
Users browsing this forum: No registered users and 2 guests