Need advice about which tool to choose?Ask the StackShare community!
Python has become the most popular language for machine learning right now since almost all machine learning tools provide service for this language, and it is really to use since it has many build-in objects like Hashtable. In C, you need to implement everything by yourself.
C++ is one of the most popular programming languages in graphics. It has many fancy libraries like eigen to help us process matrix. I have many previous projects about graphics based on C++ and this time, we also need to deal with graphics since we need to analyze movements of the human body. C++ has much more advantages than Java. C++ uses only compiler, whereas Java uses compiler and interpreter in both. C++ supports both operator overloading and method overloading whereas Java only supports method overloading. C++ supports manual object management with the help of new and delete keywords whereas Java has built-in automatic garbage collection.
Go is a way faster than both Python and PHP, which is pretty understandable, but we were amazed at how good we adapted to use it. Go was a blessing for a team , since strict typing is making it very easy to develop and control everything inside team, so the quality was really good. We made huge leap forward in dev speed because of it.
I am working in the domain of big data and machine learning. I am helping companies with bringing their machine learning models to the production. In many projects there is a tendency to port Python, PySpark code to Scala and Scala Spark.
This yields to longer time to market and a lot of mistakes due to necessity to understand and re-write the code. Also many libraries/apis that data scientists/machine learning practitioners use are not available in jvm ecosystem.
Simply, refactoring (if necessary) and organising the code of the data scientists by following best practices of software development is less error prone and faster comparing to re-write in Scala.
Pipeline orchestration tools such as Luigi/Airflow is python native and fits well to this picture.
I have heard some arguments against Python such as, it is slow, or it is hard to maintain due to its dynamically typed language. However cost/benefit of time consumed porting python code to java/scala alone would be enough as a counter-argument. ML pipelines rarerly contains a lot of code (if that is not the case, such as complex domain and significant amount of code, then scala would be a better fit).
In terms of performance, I did not see any issues with Python. It is not the fastest runtime around but ML applications are rarely time-critical (majority of them is batch based).
I still prefer Scala for developing APIs and for applications where the domain contains complex logic.
Pros of PHP
- Large community937
- Open source800
- Easy deployment754
- Great frameworks480
- The best glue on the web384
- Continual improvements230
- Good old web180
- Web foundation141
- Community packages130
- Tool support123
- Used by wordpress31
- Excellent documentation30
- Used by Facebook25
- Because of Symfony23
- Dynamic Language16
- Awesome Language and easy to implement14
- Fast development12
- Cheap hosting11
- Very powerful web language11
- Flexibility, syntax, extensibility9
- Composer9
- Because of Laravel9
- Easy to learn7
- Short development lead times7
- Worst popularity quality ratio7
- Fastestest Time to Version 1.0 Deployments7
- Readable Code7
- Easiest deployment6
- Fast6
- Faster then ever6
- Most of the web uses it5
- Open source and large community4
- I have no choice :(4
- Easy to learn, a big community, lot of frameworks3
- Is like one zip of air3
- Has the best ecommerce(Magento,Prestashop,Opencart,etc)3
- Cheap to own3
- Simple, flexible yet Scalable3
- Easy to use and learn3
- Hard not to use2
- Large community, easy setup, easy deployment, framework2
- Safe the planet2
- Walk away2
- Great flexibility. From fast prototyping to large apps2
- Used by STOMT2
- Great developer experience2
- Open source and great framework2
- Fault tolerance2
- FFI2
- Interpreted at the run time2
Pros of Python
- Great libraries1.1K
- Readable code920
- Beautiful code814
- Rapid development763
- Large community668
- Open source414
- Elegant375
- Great community264
- Object oriented257
- Dynamic typing206
- Great standard library68
- Very fast51
- Functional programming47
- Scientific computing33
- Easy to learn31
- Great documentation29
- Matlab alternative25
- Productivity22
- Easy to read21
- Simple is better than complex19
- It's the way I think17
- Imperative17
- Very programmer and non-programmer friendly15
- Free14
- Powerful14
- Fast and simple13
- Powerfull language13
- Scripting12
- Machine learning support9
- Explicit is better than implicit9
- Ease of development8
- Unlimited power8
- Import antigravity7
- Clear and easy and powerfull7
- Print "life is short, use python"6
- It's lean and fun to code6
- Great for tooling5
- Fast coding and good for competitions5
- There should be one-- and preferably only one --obvious5
- Python has great libraries for data processing5
- High Documented language5
- I love snakes5
- Although practicality beats purity5
- Flat is better than nested5
- Readability counts4
- Multiple Inheritence3
- Complex is better than complicated3
- Lists, tuples, dictionaries3
- Plotting3
- Rapid Prototyping3
- Great for analytics3
- Socially engaged community3
- Beautiful is better than ugly3
- CG industry needs3
- No cruft2
- Easy to learn and use2
- List comprehensions2
- Generators2
- Special cases aren't special enough to break the rules2
- Now is better than never2
- If the implementation is hard to explain, it's a bad id2
- If the implementation is easy to explain, it may be a g2
- Simple and easy to learn2
- Import this2
- Powerful language for AI1
- Because of Netflix1
- Pip install everything1
- Web scraping1
- Better outcome1
- Batteries included1
- Easy to setup and run smooth1
- It is Very easy , simple and will you be love programmi1
- Only one way to do it1
- A-to-Z1
- Many types of collections1
- Flexible and easy1
- Pro0
- Powerful0
Pros of Ruby
- Programme friendly598
- Quick to develop532
- Great community488
- Productivity466
- Simplicity430
- Open source272
- Meta-programming234
- Powerful203
- Blocks157
- Powerful one-liners138
- Flexible65
- Easy to learn56
- Easy to start48
- Maintainability40
- Lambdas36
- Procs30
- Fun to write19
- Diverse web frameworks19
- Reads like English11
- Rails8
- Makes me smarter and happier8
- Elegant syntax7
- Very Dynamic6
- Programmer happiness5
- Matz5
- Generally fun but makes you wanna cry sometimes4
- Fun and useful4
- Friendly3
- Object Oriented3
- There are so many ways to make it do what you want3
- Easy packaging and modules2
- Primitive types can be tampered with2
- Elegant code2
Sign up to add or upvote prosMake informed product decisions
Cons of PHP
- So easy to learn, good practices are hard to find19
- Inconsistent API16
- Fragmented community8
- Not secure5
- No routing system2
- Hard to debug1
- Old1
Cons of Python
- Still divided between python 2 and python 348
- Performance impact26
- Poor syntax for anonymous functions26
- Package management is a mess18
- GIL18
- Too imperative-oriented13
- Hard to understand12
- Dynamic typing10
- Very slow8
- Not everything is expression8
- Indentations matter a lot7
- Explicit self parameter in methods7
- Poor DSL capabilities6
- No anonymous functions6
- Requires C functions for dynamic modules6
- The "lisp style" whitespaces5
- Hard to obfuscate5
- The benevolent-dictator-for-life quit4
- Lack of Syntax Sugar leads to "the pyramid of doom"4
- Threading4
- Fake object-oriented programming4
- Incredibly slow4
- Not suitable for autocomplete3
- Official documentation is unclear.3
- Circular import2
- Training wheels (forced indentation)1
- Meta classes1
Cons of Ruby
- Memory hog7
- Really slow if you're not really careful7
- Nested Blocks can make code unreadable3
- Encouraging imperative programming2
- Ambiguous Syntax, such as function parentheses1