|
The distinction interpreted/compiled is largely moot these days, since most popular interpreted languages are actually compiled (or at least bytecode-compiled) before they are run. The real question is whether you would want to use a modern, abstract, weakly typed language like Python instead of a strongly typed and machine-code compiled language like C++. The latter is, usually, considerably slower. The decision all depends on how serious you want to get. For small-scale experiments, Python is just fine because it takes half the time and half the effort to write and test a piece of code. Unless you are pushing the limits on how fast you want something to run, Moore's law works in your favor and you can very quickly create something which does what you want and is fast enough. If you need the speed, you will know, but at least then you will have a simple prototype which will keep you from falling in any stupid traps on the way. So to answer your question, development speed is the factor that makes people want to use these languages. You don't have to jump through hoops unless you need run-time execution speed. And yes, Python has excellent library support for doing just about anything that doesn't have to be blazingly fast. This, along with better language constructs (more dynamic classes and methods, weak typing, versatile and easy-to-use lists and mappings, list mapping functions etc), is what makes development much faster. Oh, and it doesn't hurt that you can dynamically test the things you've written, if you want to. |