Search Postgresql Archives

Re: Python versus Other Languages using PostgreSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx <mailto:adrian.klaver@xxxxxxxxxxx>> 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@xxxxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux