News for hackers. Stuff that matters.
Re:The Idea of Lisp by goatlover on Friday December 16, 2016 @01:51PM (#13195679)
But what makes Python any better at numerical algorithms than Common Lisp? It's not like CL is lacking in numeric support. It probably has superior numeric support than Python, actually.
Re:The Idea of Lisp by pg314 on Friday December 16, 2016 @01:57PM (#13195725)
Some/most Common Lisp implementation have better native support for numeric types than Python, but Python has a wealth of libraries like numpy that bind to optimised C/Fortran/assembly.
Re:The Idea of Lisp by dreamcompiler on Friday December 16, 2016 @04:17PM (#13196931)
Exactly. Without numpy, Python is orders of magnitude slower at numeric computation than Common Lisp. With numpy, it's faster because numpy is basically C.
Re:The Idea of Lisp by coliveira on Friday December 16, 2016 @06:22PM (#13197819)
Numerical libraries in Python are not implemented in the language itself. In typical Python fashion, they're just calling C and FORTRAN libraries.