Thread 105801636 - /g/ [Archived: 521 hours ago]

Anonymous
7/4/2025, 9:18:19 PM No.105801636
1750747748752530_0
1750747748752530_0
md5: 0d90be387845288ce744946eb2f0c544🔍
Python is only for teaching and fast prototypes

Not for the actual implementation

Change my mind
Replies: >>105801709 >>105801815 >>105801865 >>105802373 >>105802378 >>105802891 >>105804226 >>105804365 >>105804902 >>105804966 >>105805243
Anonymous
7/4/2025, 9:25:24 PM No.105801700
It's a scripting language - you use it to 1) automate tasks that don't require a lot of computing power or 2) quickly and easily splice together libraries written in another language
Replies: >>105801792 >>105801865
Anonymous
7/4/2025, 9:26:26 PM No.105801709
>>105801636 (OP)
The AI revolution is being carried by Python.
Replies: >>105801792 >>105801889 >>105804016
Anonymous
7/4/2025, 9:26:58 PM No.105801715
reasonable
using languages with dynamic typing for any kind of load-bearing or commercial software is unjustifiable, the guarantees that strong, statically typed languages provide are so obvious and useful for building robust software
"gradual typing" is a meme
that is to say nothing of Python's horrible performance, retarded syntax, or deployment issues
Replies: >>105804345
Anonymous
7/4/2025, 9:34:39 PM No.105801792
04OABNlmFkR6
04OABNlmFkR6
md5: a7b8098e9882a96548f0675dd201f717🔍
OP is right, and only idiots disagree. What he didnt mention is python horrible dependency hell making it unsuitable for using more than once. Tools like conda being standard makes this self-evident.

>>105801700
So you pretty much agree with OP.
>>105801709
Not at all, it's holding local AI back. Now, actual AI isn't done in python, but python is used as the bloated and fragile script glue (see pic rel, tensorflow for example). Local AI innovation would have gona much faster if python didn't become the standard, because there's often so many problems getting python dependencies installed and running.
Anonymous
7/4/2025, 9:38:41 PM No.105801815
>>105801636 (OP)
Mogged by js.
Anonymous
7/4/2025, 9:45:04 PM No.105801865
c and python
c and python
md5: 01d93611cf8f0e72b7571d376353a13a🔍
>>105801636 (OP)
>>105801700
Anonymous
7/4/2025, 9:49:27 PM No.105801889
>>105801709
every python based backend sucks ass and are more often than not completely incompatible with each other because of python's package autism.
Anonymous
7/4/2025, 9:53:09 PM No.105801919
the sad reality is python doesnt excel at anything. slow start up time so it gets beat by bash as a scripting language. slow runtime so it gets beat by anything for application development. i think the only thing it has going for it is foreign function interface, but so many languages do it so it doesn't really stand out
Replies: >>105802359 >>105804353
Anonymous
7/4/2025, 9:58:04 PM No.105801953
just get the toaster from point a to point b
Anonymous
7/4/2025, 10:52:32 PM No.105802359
>>105801919
>doesnt excel at anything
amount of available libraries
best dev speed
best readability

>slow start up time
actually one of the best

>it gets beat by bash as a scripting language
this has to be a bait
Anonymous
7/4/2025, 10:54:24 PM No.105802373
>>105801636 (OP)
Why do you let python and brown people live rent free in your head?
Anonymous
7/4/2025, 10:55:18 PM No.105802378
>>105801636 (OP)
It's not slow for real world usage if you know how to code
Anonymous
7/5/2025, 12:06:16 AM No.105802891
>>105801636 (OP)
Posted it again award.
Changed the filename award.
Anonymous
7/5/2025, 2:45:42 AM No.105804016
>>105801709
Unfortunately.
Anonymous
7/5/2025, 3:11:46 AM No.105804226
>>105801636 (OP)
Python is extremely useful for automation when shell scripts won't cut it but you don't want anything more elaborate than a single-file script.
Anonymous
7/5/2025, 3:27:33 AM No.105804345
>>105801715
ok but back in reality, that's not what happens.
i'm not saying it's right, i'm saying it's what happens
Replies: >>105804811
Anonymous
7/5/2025, 3:28:39 AM No.105804353
>>105801919
you're being intentionally obtuse
Anonymous
7/5/2025, 3:30:04 AM No.105804365
>>105801636 (OP)
>write prototype quickly
>it's fast enough
>ship it to production
pretty much
Anonymous
7/5/2025, 4:47:35 AM No.105804811
>>105804345
yeah because using Python means hiring is easier, the people I have worked with that only know Python or only want to use Python are morons, and there's a tonne of them out there
becoming a "Python dev" means you are doomed to work with idiots
Python is fine for proof-of-concepts, prototypes, helper scripts, etc. but inevitably a brain dead PM sees it and says "ok lets ship it"
Replies: >>105804985
Anonymous
7/5/2025, 5:09:01 AM No.105804902
>>105801636 (OP)
Don't need to, you're 100% correct. It's even better if you don't use it at all
Anonymous
7/5/2025, 5:22:18 AM No.105804966
>>105801636 (OP)
Agree.

It's a horrible lang and ecosystem. I split every time I need to use this piece of dogshit.
Anonymous
7/5/2025, 5:25:28 AM No.105804985
>>105804811
i have several pieces of "throw away" and "prototype" python in production. computer time is a few cents an hour. a dev to translate it into a proper language is thouands of dollars a week.
the math is simple:
(dev time)*(dev rate) + (execution time)*(times executed)*($/cpu-hr)
for a lot of things, the first term dominates. so prototypes become production.
Replies: >>105805011
Anonymous
7/5/2025, 5:29:23 AM No.105805011
>>105804985
Can't you at least use a non-masochistic language like Lua?
Replies: >>105805015 >>105805042
Anonymous
7/5/2025, 5:30:06 AM No.105805015
>>105805011
>non-masochistic
>Lua
Replies: >>105805020
Anonymous
7/5/2025, 5:30:34 AM No.105805020
>>105805015
Anything is non-masochistic compared to Python
Replies: >>105805058
Anonymous
7/5/2025, 5:33:20 AM No.105805042
>>105805011
lol
lmao even
Replies: >>105805052
Anonymous
7/5/2025, 5:34:56 AM No.105805052
>>105805042
The first thing I do when I find something I want to use that uses Python is finding a Lua alternative. If I'm going to use a prototyping language it's going to be one that doesn't make me regret having eyes
Replies: >>105805077
Anonymous
7/5/2025, 5:36:15 AM No.105805058
>>105805020
Lua has literally every single flaw that Python has and then some, nocoder.
Replies: >>105805062 >>105805150
Anonymous
7/5/2025, 5:37:18 AM No.105805062
>>105805058
It doesn't make me want to gouge my eyes out so it's got that going for it. And preferring a language over yours doesn't mean I'm not a programmer
Anonymous
7/5/2025, 5:41:35 AM No.105805077
>>105805052
what are you talking about? they're basically the same. youre splitting cunt hairs over keywords and colons?
Replies: >>105805088
Anonymous
7/5/2025, 5:43:41 AM No.105805088
>>105805077
I don't know how to articulate it, I just know that Lua doesn't feel like a form a torture perfected by the CIA at Guantanamo.
Replies: >>105805100
Anonymous
7/5/2025, 5:45:32 AM No.105805100
>>105805088
did you learn lua before python?
Replies: >>105805106
Anonymous
7/5/2025, 5:46:31 AM No.105805106
>>105805100
I tried Python, hated it immediately, and learned Lua instead
Replies: >>105805118 >>105805150
Anonymous
7/5/2025, 5:48:20 AM No.105805118
>>105805106
some people juggle geese
Replies: >>105805124
Anonymous
7/5/2025, 5:49:02 AM No.105805124
>>105805118
How'd you know what I do for a side hustle?
Anonymous
7/5/2025, 5:53:09 AM No.105805150
In a decent world we'd be using something like Scala, D, Crystal, or even some variant of Clojure in a non-niche runtime (meme lang, but shadow-cljs mostly works). At this point i'll take either Deno/Bun or Go.
>>105805058
It's faster (not by much) and has a slightly better package management with luarocks. Doesn't choke that easily with multithreaded shit.
>>105805106
It's the annoyance of the ecosystem that does it for me. You can't just clone and tard handle it into a venv for anything serious. There's always a catch.
Replies: >>105805185
Anonymous
7/5/2025, 5:56:49 AM No.105805172
> chatjeetpt
> rewrite this code in C++
wow that was hard
literal dalit tier thread
Replies: >>105805201
Anonymous
7/5/2025, 5:58:46 AM No.105805185
>>105805150
yeah. trannies, not even once.
python 2.7 works like a charm.
python 3.x is dependency hell.
what happened? TOS and COC and forcing the old core devs out for being white men
Replies: >>105805214
Anonymous
7/5/2025, 6:01:08 AM No.105805201
>>105805172
despite the constant shilling on this board, AI translations are on par with retarded jeet interns. maybe some day it will get better. but its certainly a long way off for X-->python, and even longer for python-->X
Replies: >>105805211
Anonymous
7/5/2025, 6:02:40 AM No.105805211
>>105805201
Considering every single AI out there except DeepSeek (which was stolen and distilled from the other ones) was created substantially by Indians nobody cares about ur racism sir
Replies: >>105805225
Anonymous
7/5/2025, 6:02:45 AM No.105805214
>>105805185
Conda was the last straw i needed to uninstall Windows. Everything using that thing that's older than three years just rots. You basically would've been way better using a container since the beginning cause everything academic needs platform wheels.
Replies: >>105805234
Anonymous
7/5/2025, 6:04:16 AM No.105805225
1725227596366448
1725227596366448
md5: 14b1b48bb224b9114ed9ef0dd5d0e11e🔍
>>105805211
SAAAR WE IS DOCTOR AND CEO AND ENGINEER SAAAR
Anonymous
7/5/2025, 6:07:50 AM No.105805234
>>105805214
you dont understand anon, we have to use this new framework so we can pay our devs 600k/yr instead of 500k/yr and scale our big edge synergy nanoservice inclusion business
Anonymous
7/5/2025, 6:11:26 AM No.105805243
>>105801636 (OP)
Python is for little scripts that are a bit too complex or would be a bit too involved for bash.
Replies: >>105805286 >>105805333
Anonymous
7/5/2025, 6:18:48 AM No.105805286
>>105805243
anything with math. including loops.
Replies: >>105805333
Anonymous
7/5/2025, 6:31:03 AM No.105805333
>>105805243
>>105805286
As a rule of thumb, anything that needs a non-exclusive dependency like CUDA is better off writen in another language unless you're paid to deliver it. Is basically sits on the same pre-shit-hits-the-fan threshold as using bash arrays.