[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / git ] [ GET / ref / marx / booru / zine ]

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Name
Options
Subject
Comment
Flag
File
Embed
Password (For file deletion.)

Join our Matrix Chat <=> IRC: #leftypol on Rizon


 No.17792

Why do physicists use Python so much and prefer it to most other languages? Is there something special about Python in physics/biology/science in general that makes it better for scientists?

 No.17793

File: 1669225397679.jpg (46.56 KB, 949x534, julia.jpg)

>>17792
>Why do physicists use Python so much and prefer it to most other languages?
I thought that Julia was the script language that scientists liked the most.

>Is there something special about Python in physics/biology/science in general that makes it better for scientists?

Scientists probably care about special libraries with optimized code bits that make certain programming logic run faster.
Maybe Python has a lot of those ?

Maybe they like the syntax, although once you grasp the concepts behind it, that becomes less important.
It could just be one of the things that became de-facto standard because it was good enough when the community adopted it and now it's propelled by legacy and network effects, and the fact that other options don't offer enough advantages to justify the change.

I ask again, I've seen a lot of scientists use Julia tho, so are you sure it's python ?

 No.17794

>>17793
I think Julia is slightly newer so maybe it hasn't caught on 100% yet

 No.17795

My father is an astronomer and last time we talked about it he used Python because it's "like BASIC". But only to do some quick calculations, like converting between coordinate systems or something like that.

I'd like to think it depends on the field but it probably more strongly correlates with the lab and people end up using the same thing as their doctoral advisor or whoever runs the lab. But only when they have the luxury of choice, since in many cases new research builds on previous software.

At the university I attended the physicists used MATLAB, at least in the projects they told us about. I was told that people who do statistics (sociologists, economists, etc.) liked R, but I never actually talked to any of them. I took a course in parallel programming and the professor there shared a few war stories about helping scientists unfuck their programs on supercomputers, think about stuff like analysing data from CERN's colliders, and he said they mostly use C++ and FORTRAN. He also told us that most scientists are not trained as programmers and make dumb mistakes that make their software unnecessarily slow and hog the supercomputers down and more programmers should try to get into careers as babysitters to scientists.

 No.17802

it’s a standard and it has a pretty no-nonsense functional math library

 No.17846

it's an easy language to pick-up, has good compatibility with C and has a fuckton of math/modeling libraries.


Unique IPs: 5

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / git ] [ GET / ref / marx / booru / zine ]