Re: Python versus Other Languages using PostgreSQL

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Paul Hughes <paul(at)vivation(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Python versus Other Languages using PostgreSQL
Date: 2017-05-09 01:22:09
Message-ID: 5f367e70-aa7d-93f7-0227-864810db9f95@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/08/2017 05:45 PM, Paul Hughes wrote:
> Thank you for the links. I'm glad there are other languages that are
> working with PostgreSQL. My question still remains though - why is it
> that all the largest web platforms that have used PostgreSQL
> *specifically* choose Python as their back-end language? Why are
> Postgres and Python so married, in the same way that Node.js is largely
> married to MondogDB?

I think you are going to have name frameworks, because AFAIK Drupal uses
PHP, Ruby on Rails uses Rails and so on:

https://en.wikipedia.org/wiki/Comparison_of_web_frameworks

As to why Postgres and Python seem to be attached I would say that is
because about the time people started looking for an alternative to
MySQL/PHP, Python reached the state and breadth of distribution to
became the language to pair with Postgres.

>
>
> On Mon, May 8, 2017 at 3:50 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>> wrote:
>
> On 05/08/2017 02:26 PM, Paul Hughes wrote:
>
> Hello,
>
> I noticed that most of the largest web platforms that use
> PostgreSQL as
> their primary database, also use Python as their primary back-end
> language. Yet, according to every benchmark I could find over
> the last
> couple of years, back-end languages like PHP, HHVM, and Node.JS
> outperform Python by 2x to 8x!
>
>
> Postgres does not really care what you use to pull data from it.
> There are many libraries across many languages that you can use.
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> Virus-free. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tao tony 2017-05-09 01:37:12 slow query on multiple table join
Previous Message Paul Hughes 2017-05-09 00:45:53 Re: Python versus Other Languages using PostgreSQL