The unexpected effectiveness of Python in science
The unexpected effectiveness of Python in science
Posted Jun 2, 2017 5:24 UTC (Fri) by Matt_G (subscriber, #112824)In reply to: The unexpected effectiveness of Python in science by fenncruz
Parent article: The unexpected effectiveness of Python in science
The main reason I think is the somewhat famous "Numerical Recipes" textbook (https://en.wikipedia.org/wiki/Numerical_Recipes) - kind of like the K&R of scientific computing. Almost all the senior engineers here swear by. It was my first reference text when I first started - maybe someone needs to write a "Numerical recipes in Python" book.
Posted Jun 2, 2017 16:46 UTC (Fri)
by smoogen (subscriber, #97)
[Link] (1 responses)
A lot of this old-code has to do with amount of time non-coders have to deal with code, but part of it is that you may need to run years old data plus new data and need it to have the same answers as before. Or that the satellite you are using was launched in the 80's and is still producing data 40 years later. You could get some people in to recode stuff with a 40% chance of it all falling apart from budget cuts.. or you could use the old hardware and use the money to buy some lab equipment that got cut from a different budget.
This is going to be one of the reasons that Python2.7 is going to have a longer shelf life than people want or expect. A lot of scientists love 2.7 because it is not going to change. Every new RHL/Debian/etc release, we would have to go and deal with support tickets at the Lab due to changes in python not always being as backwards compatible as thought. [My understanding is that there are systems at CERN and similar labs running RHL-7.3 15 years later because it has the python that the experiments were written against.. it will still be running them for N more years until the experiment completes.] Most of the scientists running long lived experiments are writing the stuff in 2.7 because of the fact for them it is no longer moving. If there is ever a 3.N that stops they will move to that also (while still running 2.7 and 1.5 systems.)
At this point I expect an Numerical Recipes book in Python would be written against Python 2.7
Posted Jun 8, 2017 22:51 UTC (Thu)
by geek (guest, #45074)
[Link]
The unexpected effectiveness of Python in science
The unexpected effectiveness of Python in science