Re: [GENERAL] Python versus Other Languages using PostgreSQL - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] Python versus Other Languages using PostgreSQL
Date
Msg-id 5f367e70-aa7d-93f7-0227-864810db9f95@aklaver.com
Whole thread Raw
In response to [GENERAL] Python versus Other Languages using PostgreSQL  (Paul Hughes <paul@vivation.com>)
Responses Re: [GENERAL] Python versus Other Languages using PostgreSQL  (Neil Anderson <neil@postgrescompare.com>)
List 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.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.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.klaver@aklaver.com


pgsql-general by date:

Previous
From: Paul Hughes
Date:
Subject: Re: [GENERAL] Python versus Other Languages using PostgreSQL
Next
From: tao tony
Date:
Subject: [GENERAL] slow query on multiple table join