Need advice about which tool to choose?Ask the StackShare community!

Apache Thrift

172
242
+ 1
0
Python

249.2K
193.6K
+ 1
6.8K
Add tool

Apache Thrift vs Python: What are the differences?

Apache Thrift: Software framework for scalable cross-language services development. The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages; Python: A clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java. Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.

Apache Thrift belongs to "Serialization Frameworks" category of the tech stack, while Python can be primarily classified under "Languages".

Apache Thrift and Python are both open source tools. Python with 37.4K GitHub stars and 18.5K forks on GitHub appears to be more popular than Apache Thrift with 8.25K GitHub stars and 3.58K GitHub forks.

Uber Technologies, Netflix, and Google are some of the popular companies that use Python, whereas Apache Thrift is used by Uber Technologies, Slack, and Venmo. Python has a broader approval, being mentioned in 7569 company stacks & 117360 developers stacks; compared to Apache Thrift, which is listed in 52 company stacks and 48 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Apache Thrift
Pros of Python
    Be the first to leave a pro
    • 1.2K
      Great libraries
    • 958
      Readable code
    • 844
      Beautiful code
    • 784
      Rapid development
    • 688
      Large community
    • 433
      Open source
    • 391
      Elegant
    • 280
      Great community
    • 272
      Object oriented
    • 217
      Dynamic typing
    • 77
      Great standard library
    • 58
      Very fast
    • 54
      Functional programming
    • 47
      Easy to learn
    • 45
      Scientific computing
    • 35
      Great documentation
    • 28
      Matlab alternative
    • 28
      Productivity
    • 28
      Easy to read
    • 23
      Simple is better than complex
    • 20
      It's the way I think
    • 19
      Imperative
    • 18
      Free
    • 18
      Very programmer and non-programmer friendly
    • 17
      Machine learning support
    • 17
      Powerfull language
    • 16
      Fast and simple
    • 14
      Scripting
    • 12
      Explicit is better than implicit
    • 11
      Ease of development
    • 10
      Clear and easy and powerfull
    • 9
      Unlimited power
    • 8
      It's lean and fun to code
    • 8
      Import antigravity
    • 7
      Python has great libraries for data processing
    • 7
      Print "life is short, use python"
    • 6
      Flat is better than nested
    • 6
      Readability counts
    • 6
      Rapid Prototyping
    • 6
      Fast coding and good for competitions
    • 6
      Now is better than never
    • 6
      There should be one-- and preferably only one --obvious
    • 6
      High Documented language
    • 6
      I love snakes
    • 6
      Although practicality beats purity
    • 6
      Great for tooling
    • 5
      Great for analytics
    • 5
      Lists, tuples, dictionaries
    • 4
      Multiple Inheritence
    • 4
      Complex is better than complicated
    • 4
      Socially engaged community
    • 4
      Easy to learn and use
    • 4
      Simple and easy to learn
    • 4
      Web scraping
    • 4
      Easy to setup and run smooth
    • 4
      Beautiful is better than ugly
    • 4
      Plotting
    • 4
      CG industry needs
    • 3
      No cruft
    • 3
      It is Very easy , simple and will you be love programmi
    • 3
      Many types of collections
    • 3
      If the implementation is easy to explain, it may be a g
    • 3
      If the implementation is hard to explain, it's a bad id
    • 3
      Special cases aren't special enough to break the rules
    • 3
      Pip install everything
    • 3
      List comprehensions
    • 3
      Generators
    • 3
      Import this
    • 2
      Flexible and easy
    • 2
      Batteries included
    • 2
      Can understand easily who are new to programming
    • 2
      Powerful language for AI
    • 2
      Should START with this but not STICK with This
    • 2
      A-to-Z
    • 2
      Because of Netflix
    • 2
      Only one way to do it
    • 2
      Better outcome
    • 2
      Good for hacking
    • 1
      Securit
    • 1
      Slow
    • 1
      Sexy af
    • 0
      Ni
    • 0
      Powerful

    Sign up to add or upvote prosMake informed product decisions

    Cons of Apache Thrift
    Cons of Python
      Be the first to leave a con
      • 53
        Still divided between python 2 and python 3
      • 28
        Performance impact
      • 26
        Poor syntax for anonymous functions
      • 22
        GIL
      • 19
        Package management is a mess
      • 14
        Too imperative-oriented
      • 12
        Hard to understand
      • 12
        Dynamic typing
      • 12
        Very slow
      • 8
        Indentations matter a lot
      • 8
        Not everything is expression
      • 7
        Incredibly slow
      • 7
        Explicit self parameter in methods
      • 6
        Requires C functions for dynamic modules
      • 6
        Poor DSL capabilities
      • 6
        No anonymous functions
      • 5
        Fake object-oriented programming
      • 5
        Threading
      • 5
        The "lisp style" whitespaces
      • 5
        Official documentation is unclear.
      • 5
        Hard to obfuscate
      • 5
        Circular import
      • 4
        Lack of Syntax Sugar leads to "the pyramid of doom"
      • 4
        The benevolent-dictator-for-life quit
      • 4
        Not suitable for autocomplete
      • 2
        Meta classes
      • 1
        Training wheels (forced indentation)

      Sign up to add or upvote consMake informed product decisions

      No Stats

      What is Apache Thrift?

      The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages.

      What is Python?

      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Apache Thrift?
      What companies use Python?
      See which teams inside your own company are using Apache Thrift or Python.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Apache Thrift?
      What tools integrate with Python?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      Sep 29 2020 at 7:36PM

      WorkOS

      PythonSlackG Suite+17
      6
      3040
      PythonDockerKubernetes+7
      3
      1096
      PythonDockerKubernetes+14
      12
      2597
      Oct 3 2019 at 7:13PM

      Ably Realtime

      JavaScriptPythonNode.js+8
      5
      3820
      Aug 28 2019 at 3:10AM

      Segment

      PythonJavaAmazon S3+16
      7
      2551
      What are some alternatives to Apache Thrift and Python?
      gRPC
      gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking...
      Protobuf
      Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.
      REST
      An architectural style for developing web services. A distributed system framework that uses Web protocols and technologies.
      Avro
      It is a row-oriented remote procedure call and data serialization framework developed within Apache's Hadoop project. It uses JSON for defining data types and protocols, and serializes data in a compact binary format.
      GraphQL
      GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
      See all alternatives