It depends on what you know, <div>and maintainability. The latter</div><div>meaning that only high level</div><div>languages with a large community</div><div>of users makes any commercial</div><div>sense. e.g., don't do a project in</div>
<div>ADA today.</div><div><br></div><div>Ken Thompson wrote Unix in</div><div>assembly language. Ritchie came</div><div>along later, developed "C", and </div><div>Unix was mostly rewritten in "C".</div>
<div>Of course "C" was considered a</div><div>high level language at the time, but</div><div>probably not today. </div><div><br></div><div>If you know enough about assembly</div><div>language you can of course rewrite</div>
<div>the instruction set on your CPU, and</div><div>then write your project in a completely</div><div>new "language." But only things CS</div><div>majors probably think too much about.</div><div><br></div><div>
What language is "best?" Good luck.</div><div>I can remember flame wars based on</div><div>whether a "goto" in C was a legitimate</div><div>thing to use. Today, life's short...</div><div><br></div>
<div> -- Bob</div><div><br></div><div><br><div class="gmail_quote">On Sun, Jan 31, 2010 at 1:56 PM, Ben DeMott <span dir="ltr"><<a href="mailto:ben.demott@gmail.com">ben.demott@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>In the reply I want only mentions of languages that take only 2 lines to write a hello world application... are truly open... including compilers/interpreter... have excellent performance through shared object support... and have almost every popular *nix library implemented as an extension.</p>
<p>So far I have...<br>
Perl (which is a mess...been there done that)<br>
Python (which is not a mess but has a steeper learning curve yet is much more powerful than most other interpreted languages)<br>
And PHP</p>
<p>There are many other extensions to apache... but these are the only reasonable choices that have large communities and a large set of libraries<br>
Heck if you really wanted to you could write a web server in as3 ... but it wouldn't make a bit of sense.</p>
<p>We use java,python,php, R and C99 at my workplace along with a huge variety of databases... we use what makes sense for the job and plays nice with other nix technologies... I could go on an hour long bashing rant about java... I could also go on bashing python because of bad past experiences with trac... but if the tool is powerful and the developer is given a great deal of freedom the outcome depends on the individual a great deal.</p>
<p>This last week I had to import international postal information which came in the form of a 9.8GB csv file.<br>
Talend (java) kept crashing so after I wasted an hour trying to get it to work I wrote an import app in python... which was the right tool for the job. I could have written a php cli application to do the same work and it would have saved me the time of adding several python libs to the opensuse server but php wasn't really designed to perform long running operations and its memory management and inability to perform threading were two reasons to go with python.<br>
The fact that python has more overhead to manage exceptions and program flow in general isn't a bad thing...its more robust especially for cli apps... but it did make the program take slightly longer to write - it just depends on what you want to do.</p>
<p>That all said I've used python to write a few web applications and I much prefer phps simplicity..zend framework and better documentation.</p>
<p>Alas the huge complaint about php is its type handling..and type conversion. Truthfully this has never been a problem for me..and honestly it doesn't matter very much.. last time I checked post and get variables are loosely typed also.</p>
<p>Is_numeric()<br>
Is_empty()<br>
Is_object()</p>
<p>Php wasn't meant to deal with binary data.. if you want to just write a c module its open sorce so you can.. and its pretty easy : )</p>
<p>Parts of our infrastructure that require a main() loop are not written in php nor would I try.</p>
<p>As far as java goes.. another language I didn't appreciate until I started using it for something well suited for its level of abstraction (android development)<br>
If anyone wants to argue with me about its confusing class plymorphism implementation well then I have several young coders to which I had to explain how and why you would use a anonymous extended inner class... its even hard to find a mention of it in the documentation. The sun jvm is awful that's where my original distaste of java comes from. The jvm modified by google performs well and behaves how it should... but that is another contention I have with java... the "model" jvm isn't opensource! </p>
<p>No language is a final solution but there are bounds on practicality and budgets my business couldn't afford closed source platforms...and I'm glad we don't use them... there are still a ton of asp 3.0 applications floating around... who can say when microsoft will change directions once again... or abandon a language altogether.</p>
<p></p><blockquote type="cite">On Jan 31, 2010 12:17 PM, "Topher" <<a href="mailto:topher@wcsg.org" target="_blank">topher@wcsg.org</a>> wrote:<br><br><p><font color="#500050">On Sun, 31 Jan 2010, Godwin wrote:
> On Sat, Jan 30, 2010 at 3:32 PM, Adam Tauno Williams
> <awilli...</font></p><p><font color="#500050">
>
> /me watches Godwin peel back the lid of a can of worms...
</font></p><p><font color="#500050">_______________________________________________
grlug mailing list
<a href="mailto:grlug@grlug.org" target="_blank">grlug@grlug.org</a>
<a href="http://shinobu.gr." target="_blank">http://shinobu.gr.</a>..</font></p></blockquote><p></p>
<br>_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br></blockquote></div><br></div>