4 ms·
"Everything is an object" is a higher-level abstraction (that is, maps worse to native operations) than "everything is a function" and "everything is a linked l
by smitherfield 9y ago
"Everything is an object" is a higher-level abstraction (that is, maps worse to native operations) than "everything is a function" and "everything is a linked list." Also, I don't know much about Lisp, but I was under the impression that Lisp metaprogramming can be entirely or mostly resolved at compile-time, while the same is not true of Python.
Smalltalk is even slower than Python.
- scroot 9y agoIn theory one could build a computer that runs Smalltalk at a fast speed.
- joshuamorton 9y agoAnd in reality people have built interpreters that run python at a high speed.
- pjmlp 9y agoI guess we don't have the same understanding of what high speed actually means.
- joshuamorton 9y agoIn the context of the above comment, I'd say that they're about the same. Pypy appears to run between half-as-fast and twice-as-fast as java (hotspot) with a much smaller memory footprint, depending on the benchmark.
- pjmlp 9y agoThat is funny, the language whose JIT research lead to Hotspot, is slower than Python. Since I was using Smalltalk for university projects before Java was a thing, I guess you mean Python wrappers written in C.