pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gorshkov <listsubscriptions@oghma.on.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Decide between Postgresql and Mysql (help of
Date: Wed, 29 Mar 2006 23:39:46 -0500
Message-ID: <200603292339.46415.listsubscriptions@oghma.on.ca> (raw)
In-Reply-To: <442B4A06.8060900@modgraph-usa.com>
References: <1143559902.1241.16.camel@servidor>
	<200603292307.29034.listsubscriptions@oghma.on.ca>
	<442B4A06.8060900@modgraph-usa.com>

On Wednesday 29 March 2006 22:01, Craig A. James wrote:
> This is off-topic for this group so I'll just give a brief reply; I'm happy
> to carry on more just between the two of us...
>
> Gorshkov wrote:
> > That being said ..... what *is* the difference between coding a website -
> > major or otherwise - in an "old-fashioned" compiled language and a
> > non-compiled language, except for the amount of hoursepower and memory
> > you require?
> >
> > Old-fashioned doesn't mean bad, inappropriate, or inferior. It's just not
> > the latest-and-greatest, however it's currently defined by the geek
> > fashion police.
>
> Our experience coding web sites with C/C++ versus Perl is about a factor of
> ten in productivity.  We only use C/C++ for CPU-intensive calculations,
> such as scientific prediction code.  Everything else is Perl or Java.
>
> I recently re-coded 10,000 lines of C into 650 lines of Perl.  Why?  String
> handling, hash tables, and the simplicity of DBD/DBI.  And there was no
> loss of performance, because the app was strictly I/O bound (that is,
> Postgres was I/O bound).  Sure, the old app may not have been optimal, but
> we're talking about a factor of 15 reduction in lines of code.


Sounds to me like the C programmers in your past needed to learn how to re-use 
code and make libraries. That's not a function of the language - that's a 
function of the programmer.

>
> That's not "geek fashion", it's good engineering.  Pick the best tool for
> the job, and learn how to use it.
>

Thanks for making my point. You choose the best tool for the job, and 
sometimes it's "old-fashioned".

Please remember that - there may be newbies out there who think that if 
they're not using the latest alpha-beta-zeta version .0006-a-r1, then they 
must be bad programmers.



view thread (28+ messages)  latest in thread

Message-ID: <200603292339.46415.listsubscriptions@oghma.on.ca>
Permalink:  ../200603292339.46415.listsubscriptions@oghma.on.ca/
Also on:    postgresql.org/message-id/200603292339.46415.listsubscriptions@oghma.on.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: listsubscriptions@oghma.on.ca
  Subject: Re: Decide between Postgresql and Mysql (help of
  In-Reply-To: <200603292339.46415.listsubscriptions@oghma.on.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox