(P)ython is increasingly Not Slow thanks to tons of dope engineering but (p)ython remains very slow because some of y'all don't profile your code

@jonny honestly this has always been the Python argument. "write your code in Python, then rewrite the bottlenecks in C/C++."

@kevinriggle yeah but that argument is based on the simplicity of the language where we don't do things like introduce a dynamically generated decorator and splice it in between every single method call and multiply the runtime by a bunch of orders of magnitude

@kevinriggle when ruby does it it's cute because "oh what the heck how did you even manage to fit code in here" though but with python i "know how the language works and am forced to take culpability for the amount of human life is spent waiting on a blinking cursor"

@jonny "what do you mean there are seventeen function calls between parent and child() in something.child()"

@kevinriggle
Man, it sounds like you guys are up to some cool stuff, I'm jealous:(

Maybe I should learn a bit about decorators and try to implement all my plots that way instead of boring imperative matplotlib 🤔
@jonny

actual programming advice 

@tobychev @kevinriggle do not be jealous, it is a curse not a virtue. only be envious of those who do less computer, not more. this is not a place of honor, and so on.

if that is the most immediate concern, i would steer you actually towards R and ggplot. i have done many of my share of trying to wrap imperative matplotlib and never found anything as satisfying as mapping columns to geometric elements. it's one of the very few times i would say "it's worth it to learn a whole different language, and even worth the pain in the ass of having to read someone recommending you learn another language." If you are more deeply invested in low level plotting stuff there are also other venues that are mostly javascript as far as i'm aware but that's a bit of a different thing.

that's as much as i can help with this feeling of fomo aside from saying again any time you see someone who does more computer than you they wish they did less <3

Follow

actual programming advice 

@jonny
I am sorry for my deceit! The comment was mainly in jest 😅

I actually do a satisfying amount of computer and have done fairly long time, it's just today I need to make six small repetitive mpl plot functions because the alternative is to be clever about it and I would just like to be done with this and get ✨results✨
@kevinriggle

re: actual programming advice 

@tobychev @kevinriggle apologies for assuming, i should have looked before i said anything! have been mostly mentoring lately and i'm on a hair trigger

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.