On Wed, Sep 23, 2009 at 4:31 PM, Chris Frey <span dir="ltr"><<a href="mailto:cdfrey@foursquare.net">cdfrey@foursquare.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, Sep 23, 2009 at 04:04:52PM -0400, unsolicited wrote:<br>
> Let alone in this day of rapid web deployment / refresh, where time to<br>
> delivery is deemed crucial. Compiled source, particularly given the<br>
> prevalence of 'script kiddies' (for lack of a better word, not meaning<br>
> the usual, more, as Khalid points out, novices) implies a rather<br>
> static design of demonstrably long term use.<br>
<br>
</div>I prefer to view using compiled languages as automatic debugging at the<br>
least costly level.  If the compiler finds a bug as soon as I type<br>
'make', it's cheaper to fix it there than if it crashes for the customer.<br>
<br>
The more bugs a compiler can find for me, the better.<br>
<br>
I take this compiler-loving to a bit of an extreme, perhaps, because<br>
I use it as a sidekick to help me wrestle code and logic into shape.<br>
And I definitely miss that sidekick when I use something like PHP.<br>
<br>
I don't think that compiled == static.  Updating a website is about<br>
the same whether using a scripted or a compiled language.  But the<br>
extra compile step will show you some errors early instead of in the<br>
browser window.<br>
<font color="#888888"><br></font></blockquote><br>A few comments here:<br><br>First, eBay used to have everything in C (or was it C++), and linked<br>into Apache. So they had this huge monolithic beast that is faster<br>
because it is compiled, yet hard to maintain and deploy. I think that<br>they have moved off of that, not sure to what exactly though.<br><br>Second, there are new languages that are being created for exactly <br>the reasons you state: let the compiler sweat it and find most of the <br>
bugs ahead of time.<br><br>One such language is Scala. It is a hybrid language in that it uses<br>the Java Virtual Machine, yet it has functional programming features.<br>It is being used in Twitter, after they replaced Ruby on Rails for portions<br>
of what they do (message queuing and delivery).<br><br>There is a web framework written in Scala, but like Ruby on Rails<br>it shares the "difficult to deploy" aspect, even more so! To some extent<br>Django would be the same, being that it requires Python to be configured<br>
for the web. More work to do for getting it to run, and less hosts to<br>run it on, or requires a VPS to get it running.<br><br>If Drupal was written in a better language (compiled, ...etc.), it would<br>never have been successful, simply because the hosting options for it<br>
would be severely limit. By using LAMP, it automatically became <br>deployable to tens of thousands of users immediately, even shared hosts.<br><br>So, everything has its place, I guess. Suitable tool for the job. Otherwise,<br>
we would all be using Ada by now.<br></div>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>