News for hackers. Stuff that matters.
Re:Modern Python Performance Considerations by mrtranscendence on Thursday May 05, 2022 @01:02PM (#31275876)
> That's not Python doing numerical stuff. That's C code, called from Python.

That's sort of a distinction without a difference, isn't it? Python can be good for numeric code in many instances because someone has gone through the effort of implementing wrappers atop C and Fortran code. But I'd rather be using the Python wrappers than C or especially Fortran directly, so it makes at least a little sense to say that Python "does numerics [...] well".

> Not unless they're pushed to, like Python was.

R and Matlab, maybe. A web server in Stata would be a horrible beast to behold. I can't imagine what that would look like. Stata is a terrible general purpose language, excelling only at canned econometrics routines and plotting. I had to write nontrivial Stata code in grad school and it was a painful experience I'd just as soon forget.

Re:Modern Python Performance Considerations by disgruntledphd2 on Thursday May 05, 2022 @01:14PM (#31276028)
You can do web stuff in R, but it's a lot harder than it needs to be. R sucks for string interpolation, and a lot of web related stuff is string interpolation.
Re:Modern Python Performance Considerations by mrtranscendence on Thursday May 05, 2022 @01:26PM (#31276179)
Yeah, I'm not surprised by that. The extent of my web experience in R is calling rcurl occasionally, so I've never tried and failed to do anything complicated.