Python与Java性能(运行时速度) [英] Python vs. Java performance (runtime speed)
问题描述
可能重复:
python比java / C#慢?
忽略每种语言的所有特征并专注于速度,哪种语言在性能方面更好?
Ignoring all the characteristics of each languages and focusing SOLELY on speed, which language is better performance-wise?
你认为这是一个相当简单的问题,但我找不到合适的。
You'd think this would be a rather simple question to answer, but I haven't found a decent one.
我知道python可能会更快一些类型的操作,反之亦然,但我找不到任何类型的操作详细信息。任何人都可以对性能差异有所了解吗?
I'm aware that some types of operations may be faster with python, and vice-versa, but I cannot find any detailed information on this. Can anyone shed some light on the performance differences?
推荐答案
Java比Python更快。很容易。
Java is faster than Python. Easily.
Python对许多事情都有利;速度不一定是其中之一。
Python is favorable for many things; speed isn't necessarily one of them.
- python.org/Language Comparisons
- python.org/Language Comparisons
- C++ vs Java vs Python vs Ruby : a first impression
- A subjective analysis of two high-level, object-oriented languages: Comparing Python to Java
这篇关于Python与Java性能(运行时速度)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
- python.org/Language Comparisons