Re: Application of Various Programming Languages?



W. D. Allen wrote:
As a neophyte I have become aware of a large variety of programming languages, Ada, C++, VisualBasic, Python, Ruby, etc., but have not find information regarding which kind of problems each language is designed to address. For example, I assume Ruby is a web design language,

Ruby existed for almost 10 years before Rails came along. And I suspect Rails _might_ not be the best Web package for Ruby!

> but is
each language optimized for certain applications? If so, is there a web site where I can get answers to my question?

C, C++, Lua, and Ada are "low level". That means they put the needs of the CPU above the needs of the programmer. They are hard to write, but when the code works it blazes.

Python, Ruby, Perl, and Smalltalk are "high level". They put the needs of the programmer above the needs of the CPU. They are very easy to write, but slow to execute. That's why they find good niches on websites, where nobody cares how slow the server gets, so long as new pages fetch in a low average time.

VB is a corporate atrocity, like Java. Learn it, but don't waste time thinking it's the be-all and end-all of programming.

--
Phlip
.



Relevant Pages

  • Re: Ruby vs. PHP
    ... done is checked out which versions of Perl, Python, YARV, Ruby, jRuby ... dynamic language to the seconds for the benchmark with gcc. ... YARV, Python, Perl and PHP have fairly close medians and the boxes are ...
    (comp.lang.ruby)
  • Re: Why not adopt "Python Style" indentation for Ruby?
    ... *language* features where Python leads Ruby.) ... When you come right down to it, there are only a few basic syntax styles that have survived the test of time. ... I suppose assembly language syntax has also survived, and FORTRAN and COBOL, but I don't think anyone would design a new language with those. ...
    (comp.lang.ruby)
  • Re: This is why Ruby 1.8.6 can never be made to run anywhere near as fast as Python 2.5.1
    ... having come here from many years with another scripting language. ... Ruby Maniac wrote: ... Ruby syntax seems to favor the notion that fewer characters is better ... Python runtimes are not affected by the number of characters one uses ...
    (comp.lang.ruby)
  • Re: New to Python: my impression v. Perl/Ruby
    ... After years and years of Perl use, I evaluated Ruby ... > and Python and have adopted Python. ... the socket module docs for the default timeout setting. ... Yes, that's a substantive difference in design, I agree ...
    (comp.lang.python)
  • Re: Pythons popularity
    ... survive if any other language becomes popular. ... Every language borrows ... hand, took most from python, the only difference is Ruby's full OO ... Since Ruby is so similar to python we must ...
    (comp.lang.python)