News for hackers. Stuff that matters.
Re:Grumpy: Go running Python by pjmlp on Wednesday January 04, 2017 @02:49PM (#13321438)
It might be, but that it is usually a consequence of not knowing any better or making use of existing libraries.

Just like people learned 8-bit BASIC and went on to do business applications and games on it. I went Z80 ASM instead.

Personally I would only use Python for shell scripting and advise for using Julia instead.

Of course, others see it differently.

Re:Grumpy: Go running Python by JPKab on Wednesday January 04, 2017 @03:30PM (#13321775)
Julia? Look, I enjoy playing with Julia, but have you actually used it? Because most of the people I meet who turn up their nose at Python and say nice things about Julia haven't ever used Julia. It's got great potential but has some major gaps and warts, and is just plain dog shit slow for certain things compared to SciPy, which, you may not be aware, is basically C and Fortran code wrapped in Python API.
Re:Grumpy: Go running Python by tavert on Thursday January 05, 2017 @02:58AM (#13325527)
> is just plain dog shit slow for certain things compared to SciPy

Do you have real examples here or is this just FUD? SciPy is not known for using absolute state of the art algorithms or perfectly optimized implementations. It can be pretty easy to improve on the naively implemented or legacy pieces of SciPy, e.g. http://tullo.ch/articles/python-vs-julia/

Re:Grumpy: Go running Python by pjmlp on Wednesday January 04, 2017 @03:40PM (#13321834)
I do follow Julia development and I am aware that it isn't quite there, but at least their community does embrace JIT compilation, not like Python that PyPy is just yet another project, ignored by the reference implementation.

> SciPy, which, you may not be aware, is basically C and Fortran code wrapped in Python API.

Which for me personally means, that I would rather C and Fortran directly or better yet, a C++, .NET or Java binding to them.

Re:Grumpy: Go running Python by orf on Wednesday January 04, 2017 @07:30PM (#13323595)
> Which for me personally means, that I would rather C and Fortran directly or better yet, a C++, .NET or Java binding to them.

Being able to describe things with a syntax that looks almost like pseudocode and runs highly-optimized C/Fortran code to do heavy lifting has huge, huge advantages.

Re:Grumpy: Go running Python by pjmlp on Thursday January 05, 2017 @02:19AM (#13325374)
Scala, Clojure, F# also allow it, with the added benefit of industrial strength JIT/AOT compilers.
Re:Grumpy: Go running Python by orf on Thursday January 05, 2017 @04:51AM (#13325957)
Except without the great Python ecosystem and without great projects like Numpy/Scipy
Re:Grumpy: Go running Python by pjmlp on Thursday January 05, 2017 @08:18AM (#13326850)
Numpy/Scipy are only relevant to a minor set of computer users, and even then, there are alternatives like LANPACK and BLAS.

Also Java and .NET ecosystems are just a little bigger than Python.

Re:Grumpy: Go running Python by orf on Thursday January 05, 2017 @10:15AM (#13327685)
> there are alternatives like LANPACK and BLAS.

LANPACK + BLAS = scipy

> Numpy/Scipy are only relevant to a minor set of computer users..

> ... Java and .NET ...

Being able to describe things with a syntax that looks almost like pseudocode and runs highly-optimized C/Fortran code to do heavy lifting has huge, huge advantages.

Re:Grumpy: Go running Python by pjmlp on Thursday January 05, 2017 @10:29AM (#13327845)
> LANPACK + BLAS = scipy

Thanks, I already knew that.

> Being able to describe things with a syntax that looks almost like pseudocode and runs highly-optimized C/Fortran code to do heavy lifting has huge, huge advantages.

Hence we are back at Scala, Clojure, F#, enjoying the respective AOT/JIT native code compilers, and integrating with that highly-optimized C/Fortran code.

Re:Grumpy: Go running Python by JPKab on Tuesday January 10, 2017 @11:32AM (#13366071)
I use Scala and Clojure. I like F#. Have you ever worked at an actual business that needs to hire developers that know these languages WELL? I can tell you that the significant added cost can't be justified by the not-very-big benefits compared to just using Scipy.
Re:Grumpy: Go running Python by orf on Thursday January 05, 2017 @10:58AM (#13328128)
> Scala, Clojure, F#

Functional languages. The "year of Linux on the desktop" of programming languages. Also none of those look like pseudocode (Scala does if you ignore bits and squint).

Re:Grumpy: Go running Python by pjmlp on Thursday January 05, 2017 @01:56PM (#13330186)
The amount of job postings say otherwise.
Re:Grumpy: Go running Python by orf on Saturday January 07, 2017 @09:22AM (#13344251)
No they don't. On stack overflow jobs F# has 14 posts, closure 28 and Scala ~100. Python has 400+.

Other sites have similar totals. But they are filtering for London/UK/Europe, so that might be a bias.

Re:Grumpy: Go running Python by petters on Wednesday January 04, 2017 @03:52PM (#13321920)
This made be wary of Julia: http://danluu.com/julialang/
Re:Grumpy: Go running Python by goatlover on Wednesday January 04, 2017 @02:59PM (#13321527)
Julia's nice, but it's playing catch up to R & Python. Name any statistical algorithm, and R probably has it. Name any scientific field, and there's probably a Python library for it.
Re:Grumpy: Go running Python by wolf550e on Wednesday January 04, 2017 @03:15PM (#13321670)
Some people are very productive in Django and Rails (and the like), in non-performant languages. Many sites never grow to the size where running on the JVM (or AOT-compiled Go) would save you money from fewer servers vs. more coder-hours.