← Home ← Back to /g/

Thread 105847121

120 posts 20 images /g/
Anonymous No.105847121 [Report] >>105847134 >>105847149 >>105847168 >>105847182 >>105847197 >>105847216 >>105847325 >>105847528 >>105847812 >>105848163 >>105848404 >>105848656 >>105848759 >>105848915 >>105849339 >>105851223 >>105852004 >>105852227 >>105853770 >>105855112 >>105856728 >>105856838
In 10 years, Python will be as dead as Perl
Not because of the many and manifest flaws in the language itself, but because the packaging system is complete dogshit. Worked well enough just three years ago. Now it's worthless for anything but the simplest uses.

>Laugh if you like, anons, but I watched Perl die with my own eyes
Anonymous No.105847134 [Report] >>105856610
>>105847121 (OP)
Scala inherits the earth.
Anonymous No.105847147 [Report]
Use a project manager like uv and it works perfectly.
Anonymous No.105847149 [Report]
>>105847121 (OP)
Oh no did someone make a project with 20 dependencies and get surprised when it blew up?
Anonymous No.105847168 [Report] >>105847306 >>105859627
>>105847121 (OP)
If you can't even use a virtual environment with python you might actually be dumber than a pajeet.
Anonymous No.105847182 [Report] >>105847194 >>105847236 >>105847259 >>105847322
>>105847121 (OP)
What the fuck are you people doing that causes pip to give you so much grief? How fucking hard is setting up a venv?
Anonymous No.105847194 [Report] >>105847372
>>105847182
When it come to distributing software python is by far the worst out of all top languages.
Anonymous No.105847197 [Report]
>>105847121 (OP)
lmao, npm is a piece crap as well but I won't deny it looks decent compared to pip.
Anonymous No.105847216 [Report] >>105847318 >>105848202 >>105848742
>>105847121 (OP)
Dumbest title today, but it's true pip is kind of shit. Python won't go anywhere because it's extensively used by scientists and for crappy scripts when you don't care that much about quality. There is no real alternative to Python. It's kind of simple and shitty but it does the job. Ruby was the only competition but it's dead.
Anonymous No.105847236 [Report] >>105849040
>>105847182
They're probably trying to use it on Windows or OSX.
Anonymous No.105847259 [Report] >>105847315 >>105847330
>>105847182
Just the fact you mentioned venv is already a massive non-obvious pain. Yes I know what it is and how to use it but try telling that to someone who knows nothing about venv and just wants a result to happen. That's why many users who aren't going to code just use pipx. At least that gives you a static binary and you don't have to know venv exists.
Anonymous No.105847306 [Report] >>105850808 >>105854791 >>105859316
>>105847168
>If you can't even use a virtual environment with python you might actually be dumber than a pajeet.
The problem is not that humans can't use a virtual environment, the problem is that nothing else can use the fucking virtual environment. It's dogshit from top to bottom.
Anonymous No.105847315 [Report] >>105847626
>>105847259
using a venv is much simpler than having multiple C library environments, but /g/ doesn't know about that because no one here actually knows how to code. i noticed all the python seethe skyrocketed when stable diffusion got released. i was in those threads watching /g/ fail to install it
Anonymous No.105847318 [Report] >>105847326 >>105851784
>>105847216
>Python won't go anywhere because it's extensively used by scientists and for crappy scripts when you don't care that much about quality
So was Perl. Perl is now just as dead as George Floyd is.
>There is no real alternative to Python.
Just a little while ago there was no real alternative to Perl.
Anonymous No.105847322 [Report]
>>105847182
>How fucking hard is setting up a venv?
Simplest thing in the world. Unfortunately, it fucking breaks everything.
Anonymous No.105847325 [Report]
>>105847121 (OP)
uv finally fixeded it, fellow Brahmans
Anonymous No.105847326 [Report]
>>105847318
George Flloyd wasn't ever alive. He aint real bro.
Anonymous No.105847330 [Report] >>105847353
>>105847259
>That's why many users who aren't going to code just use pipx
pipx is also dogshit for all but the simplest use cases.
Anonymous No.105847353 [Report]
>>105847330
You're right and there are very good reasons to have venv, but when you want shit done you use pipx.
Anonymous No.105847372 [Report] >>105847400
>>105847194
Can't you just make a container image like any other software. The only exception i can think of is aws lambda
Anonymous No.105847378 [Report] >>105847535
Who was he quoting?
Anonymous No.105847400 [Report] >>105851668
>>105847372
That might be fine handing off to other technical people but as soon as you want to distribute something to a normie that aint cutting it. Python need to be able to compile to a binary, shit even C# and Java are realizing this.
Anonymous No.105847460 [Report] >>105847513
uv solves this.
Anonymous No.105847513 [Report] >>105847527
>>105847460
>>uv solves this.
>Written in Rust
Nice try, mate
Anonymous No.105847527 [Report]
>>105847513
Why does it matter if it's made in Rust? Python is a DEI lang anyway.
Anonymous No.105847528 [Report] >>105847996
>>105847121 (OP)
perl is executable line noise. it was never going to survive.
Anonymous No.105847535 [Report]
>>105847378
Anonymous No.105847626 [Report]
>>105847315
Perhaps but it's a canon to kill a fly in most cases. We're all used to npm, maven, cargo, and other solutions that simply store locally or globally the versions we need, but here comes python with it's nonsensical venv that does have some pros but it's not that super useful and a giant pain. Just copy Haskell stack if you want to be all powerful. Yes I know there's poetry, pdm and uv, but it's a pain. Just saying.
simple.py No.105847812 [Report]
>>105847121 (OP)
>Now it's worthless for anything but the simplest uses.
Sounds based.
Go further than that, it should force us to write < 1000loc.
Anonymous No.105847996 [Report] >>105848025 >>105851246
>>105847528
>perl is executable line noise
Enough of this hackneyed phrase. Bad coders write bad code, and the flexibility of perl allows them to write exceptionally bad code; also unreadable code doesn't matter when you're writing a script that runs once
Anonymous No.105848025 [Report] >>105848053 >>105848171 >>105857201
>>105847996
my team at work has perl leftover from the 90s that we still use. im sure it was only meant to be run once and thrown away.
its indecipherable.
jeets. not even once.
Anonymous No.105848053 [Report] >>105848829
>>105848025
>its indecipherable.
I found Perl to be just fine, as long as I wrote code with the assumption that it had to be read by other humans. Unfortunately this attitude existed in about 0.37% of Perl programmers.
Anonymous No.105848163 [Report] >>105848798
>>105847121 (OP)
I hope with Python dies, it takes yml with it. Yml has to be the worst configuration language I've dealt with.
Anonymous No.105848171 [Report] >>105848417
>>105848025
>perl
>jeets
A white man wrote that and expected that you were at least as capable as him. Look how that turned out.
Anonymous No.105848202 [Report] >>105848806
>>105847216
lol you said Ruby is dead.
Anonymous No.105848404 [Report]
>>105847121 (OP)
skill issue
Anonymous No.105848417 [Report]
>>105848171
i understand how you would think that but the author signed and dated the code, as was common before source control took off
Anonymous No.105848656 [Report]
>>105847121 (OP)
What killed Perl was the Perl 6 debacle.
Anonymous No.105848742 [Report] >>105848764
>>105847216
Julia is better for scientific work
Anonymous No.105848759 [Report] >>105848776 >>105848783
>>105847121 (OP)
c++ is the same way, the base language is not equipped with the tools you need, so you have to navigate a labyrinth of libraries with different syntax to get it to perform how its advertised
Anonymous No.105848764 [Report]
>>105848742
nah bro
Anonymous No.105848776 [Report]
>>105848759
take it back to r*ddit кoмpaд
Anonymous No.105848783 [Report]
>>105848759
you can at least modify the imported library or wrap it to suit your project. python doesn't really get the same luxury
Anonymous No.105848784 [Report] >>105848815
Python 2.7 just works tough
Anonymous No.105848798 [Report] >>105848864 >>105850441
>>105848163
YAML is not a configuration language
Anonymous No.105848806 [Report]
>>105848202
I did. You have evidence it's not? There's very little programs written in Ruby out there and very little interest. I'm not saying it's bad, but it's not popular.
Anonymous No.105848815 [Report] >>105848827 >>105851716
>>105848784
Python 2 is dead. More dead than Ruby.
Anonymous No.105848827 [Report] >>105848861
>>105848815
lol
lmao even
Anonymous No.105848829 [Report] >>105852417
>>105848053
I loved Perl back then but the community made it point of pride that they could write unreadable code. The highest honor for a Perl programmer was to win the Obfuscation contest. That really wasn't that big of a deal in the early days of the web when CGI scripts were only asked to do the most basic tasks and on the deep back end most everything was plain text processing.
But as to why Perl "died", I suspect it was more about the eternal "two more weeks until Perl 6" state it got itself into than the issues with code readability.
Anonymous No.105848861 [Report] >>105848987
>>105848827
There are distros that don't even support python 2 anymore. It's deprecated. You shouldn't be using python 2 for anything.
Anonymous No.105848864 [Report] >>105848891
>>105848798
One of the most annoying things in the tech industry is the nerd obsession with finding all the ways to abuse a new resource and use it for things it was not intended to be used for. Once someone does it, there's going to be others who don't realize it was meant as a proof of concept and to show off, so they put that misuse into wide use. Next thing you know, you have people celebrating YAML being used incorrectly to make up for JSON being used incorrectly.
Anonymous No.105848891 [Report]
>>105848864
At least it's better than using XML for configuration
Anonymous No.105848915 [Report]
>>105847121 (OP)
Saar? How to convert pip for Windows? Please give EXE, thanks.
Anonymous No.105848987 [Report] >>105849283 >>105849345
>>105848861
i have many years of shit at work that was developed on python2. i'm not the one that broke backward compatibility, don't yell at me.
Anonymous No.105848996 [Report]
It would be hard to kill Python because it's heavily used at universities, similar to Matlab, unthinkable garbage that impressionable minds are told to use for a few years, then enter the industry thinking it's normal.
Anonymous No.105849040 [Report]
>>105847236
not that anon, but I'm using it on windows without troubles and I don't understand either
Anonymous No.105849157 [Report] >>105849305 >>105857201
I used python about a year ago to test some bs job related stuff out and it sucked. We needed some kind of excel or csv file as the final output and used python for the computational part and it required something called Panda frames or something and all I could think of was how IT was NEVER going to let us use this and the amount and time we were wasting VS just using powershell and shit code. And after this these dumb asses wanted cloud and AI computing on a literal closed system secure environment . Lol Python is great language for college and kids but it's literally worthless for 99% of jobs. I'll never see the appeal for something like Python, it must be a web dev thing.
Anonymous No.105849283 [Report]
>>105848987
That's fine and there's lots of code in old programming languages but that still means it's a dead. Not dead as nobody uses, but dead as in don't use it unless you don't have a choice. There's lots of code in cobol, schema, fortran, heck even Java 8 is a pain.
Anonymous No.105849305 [Report] >>105851940
>>105849157
> Python is shit
> Powershell is GOAT
I'm not sure if you're serious or not. Powershell is trash. You only found it useful because powershell has this communication protocol with Microsoft tools I forgot the same, but for general programming Python is many times better, and I'm not even that much of a fan of python.
Anonymous No.105849339 [Report] >>105849642 >>105849814 >>105851479
>>105847121 (OP)
So why exactly has Python gotten so much worse over time? It still uses pip like it used to but it feels worse now despite in theory using the same tools
Anonymous No.105849345 [Report] >>105849823
>>105848987
We did too at my previous employer. Easily millions of LoC, but we converted it all to Python3 in the span of about 18 months ~6 years ago. It's nice having a dev org that's not completely retarded and understands that tech debt needs to be resolved.
Anonymous No.105849642 [Report]
>>105849339
My biggest gripe is that the devs can’t into semgrep and introduce breaking changes into minor version bumps. Anyone with that little care for proper development standards isn’t going to make anything good
Anonymous No.105849814 [Report]
>>105849339
trannies took over, introduced a COC, and forced out all the old white men
Anonymous No.105849823 [Report]
>>105849345
no kidding. management here is... something.
Anonymous No.105850229 [Report] >>105850435 >>105855961
Perl programmer
mst has passed away
https://www.shadowcat.co.uk/2025/07/09/ripples-they-cause-in-the-world/
Anonymous No.105850435 [Report] >>105851016 >>105851646
>>105850229
vaxxed
https://x.com/shadowcat_mst/status/1435991344284119044
Anonymous No.105850441 [Report] >>105852464
>>105848798
Name one time people choose to use this shit for non-configuration. What moron would transfer data using YAML over JSON or XML. It's just asking for data corruption and security vulnerabilities.
Anonymous No.105850808 [Report] >>105851359
>>105847306
>nothing else can use the fucking virtual environment
what do you even mean by this have you ever even tried using venv or conda?
Anonymous No.105851016 [Report] >>105851458
>>105850435
why did I get vaxxed
why did I get vaxxed
why did I get vaxxed
Anonymous No.105851223 [Report]
>>105847121 (OP)
Who cares, it's always been the programming language of academia anyway, and they moved past it for teaching to something else.
Anonymous No.105851246 [Report] >>105851443
>>105847996
Show me good perl code, make sure I can read it.
Anonymous No.105851359 [Report] >>105852433
>>105850808
nta, but i did run into troubles with software expecting system-level python dependencies to be installed (gdb while trying to run ghidra compat scripts). But having a virtual env for each python project is a huge pain in the ass. especially since they can take up to an hour to setup and be done downloading dependencies
Anonymous No.105851443 [Report] >>105854910
>>105851246
my $nigger = "anon";
die $nigger;
die die die;
Anonymous No.105851458 [Report] >>105851537
>>105851016
I hope you're joking.
Anonymous No.105851479 [Report]
>>105849339
it turned into C++
Anonymous No.105851537 [Report]
>>105851458
I wish I was
Anonymous No.105851646 [Report]
>>105850435
I remember meeting him at a Perl conference over a decade ago. I think it was one of the ones in Chicago. A bunch of the UK guys were wearing kilts. Perl was still pretty widely used back then, and it was a good time to be a Perl programmer.
Anonymous No.105851668 [Report]
>>105847400
>Python need to be able to compile to a binary
Have you tried searching this? You may be pleasantly surprised.
Anonymous No.105851716 [Report]
>>105848815
You can still get Python 2 support from Red Hat and Canonical, among many others.
If you have a Py2 codebase that is worth keeping alive and secure today, there's no shortage of companies offering this kind of support.
Anonymous No.105851784 [Report]
>>105847318
>Just a little while ago there was no real alternative to Perl.
There were always real alternatives to Perl, except in some autists' deranged headspaces.
Anonymous No.105851940 [Report]
>>105849305
>Powershell is trash.
PowersHell
Anonymous No.105852004 [Report]
>>105847121 (OP)
This can't come soon enough, but what would replace Python?
Anonymous No.105852227 [Report]
>>105847121 (OP)
Miniconda ftw
Anonymous No.105852417 [Report] >>105852501
>>105848829
>"two more weeks until Perl 6"
Perl 6 is what happens when the guy in charge says "I'll design the logo".
Anonymous No.105852433 [Report] >>105852496
>>105851359
>they can take up to an hour to setup and be done downloading dependencies
Conda user spotted!
Anonymous No.105852435 [Report]
Perl is alive and well, stop spreading lies
Anonymous No.105852464 [Report] >>105852995
>>105850441
>What moron would transfer data using YAML over JSON
Umm... anon, JSON is literally YAML.
Anonymous No.105852496 [Report] >>105853651
>>105852433
i use venv. Last time I had noticed a project on github that their environment setup wasn't working and they straight up told me to use a dockerfile because apparently their dependencies are path sensitive and don't like being installed at a custom location.
Anonymous No.105852501 [Report]
>>105852417
Yeah, linguists don't have any business making a programming language, both for the design and the implementation.
Anonymous No.105852995 [Report]
>>105852464
I've created a brand new standard. It's called AnonIsAFaggot. It's a superset of YAML and XML. Amazing how it has been immediately adopted by almost every tech company in the world.
Anonymous No.105853179 [Report]
I don’t program but the ‘10 years’ caught my eye lurking this board. Do you really think anything in the programming world is predictable 10 years out? Even if I got 50 (you)s saying yes, I’d think you’re all delusional.
Anonymous No.105853651 [Report]
>>105852496
>their dependencies are path sensitive
Ahh, *that* kind of project...
I had the pleasure to work with a data scientist who did this kind of shit. It is not Python's fault when people do retarded things that go against best practices, those retards would mess up any programming language known to man.
Anonymous No.105853770 [Report]
>>105847121 (OP)
What's wrong with Perl?
Anonymous No.105854791 [Report]
>>105847306
retard
I have 50 different cuda drivers in 50 different conda environments

90% of my 4TB Nvme is cuda libs, and the other 10% is .ckpts in hidden directories
Anonymous No.105854910 [Report]
>>105851443
>my $nigger = "anon";
>die $nigger;
>die die die;
Anonymous No.105855112 [Report] >>105855177
>>105847121 (OP)
There are basically tiers of software
>quick n' dirty scripts
bash
>more sophisticated scripts and small, non-performant software
python
>real software
C/C++
Anonymous No.105855177 [Report] >>105855337 >>105855832
>>105855112
>>real software
>C/C++
that depends if libraries are imported
#include "ffmpeg.h" is not a lot better than importing modules in python
Anonymous No.105855337 [Report] >>105855367
>>105855177
nigger what
Anonymous No.105855367 [Report] >>105855590
>>105855337
you don't know what you don't know
Anonymous No.105855590 [Report] >>105855669
>>105855367
you don't import libraries in C
Anonymous No.105855669 [Report] >>105855795
>>105855590
you don't get to play smart after being so retarded
Anonymous No.105855795 [Report] >>105855918
>>105855669
dont project your retardation on to me, I'm not the one that said "import library" for C and C++
Anonymous No.105855832 [Report] >>105855918 >>105856114
>>105855177
Brb, reimplementing libcurl just because otherwise I'm not writing "real software"
Anonymous No.105855918 [Report]
>>105855795
I'm not the one that can't see the difference between importing ffmpeg and writing a fucking video decoder. Writing C/C++ programs means jack shit.
>>105855832
>the library does all the work but I'm writing a real software
Anonymous No.105855961 [Report] >>105855998 >>105856784
>>105850229
I find it funny that Peter Rabbitson has commented there, he just had to have the last word.
https://www.nntp.perl.org/group/perl.modules/2016/10/msg96174.html
Anonymous No.105855998 [Report]
>>105855961
what a drama queen
Anonymous No.105856114 [Report] >>105856175
>>105855832
libcurl is slow, bloated garbage, the only reason people use it is because TLS libraries are even slower and more bloated garbage.
Literally nobody needed or wanted this trash library during HTTP 1.1 times when you could just open socket directly and have things just work.
But muh companies needed means to extract your money le securely, so now even looking for funny cat pics online requires TLS.
Anonymous No.105856175 [Report]
>>105856114
they're videos these days
Anonymous No.105856610 [Report]
>>105847134
Just recently started working with Scala when I heard the guy that built Lichess did it singlehandedly and continues to do so using Scala. It's the everything language, powerful ML style type checking, pattern matching with a syntax that looks like Python. *Chef's kiss
Anonymous No.105856728 [Report] >>105857003
>>105847121 (OP)
why is there a packaging system
python always seemed like complete shit until i found winpython and realized you can, in fact, run it as a normal program that doesn't piss random files all over your system. what is the use case for making things more complicated than this.
Anonymous No.105856741 [Report] >>105857003
python, like perl is not designed to be distributable. It's great for writing things yourself and having it run where you expect it to run. Not for making software for end users.
Anonymous No.105856784 [Report]
>>105855961
I had no idea that DBIC drama had been going on. I wasn't writing a lot of Perl in 2016. By that point, I had become anti-ORM too, so I was rawdogging SQL.
Anonymous No.105856838 [Report]
>>105847121 (OP)
uv or poetry solve this issue
Anonymous No.105856930 [Report]
Use Nim instead. It's better in every way.
Anonymous No.105857003 [Report]
>>105856728
>why is there a packaging system
Same reason why every other language has one – to ease development and reuse code across projects.

>>105856741
>not designed to be distributable
...and like Java, C#, PHP, JavaScript...
See the pattern?
You can definitely distribute Python software to end-users, there are many ways of achieving this.
PyInstaller, py2exe, PyOxidizer
Anonymous No.105857201 [Report] >>105857231
>>105848025
That was always the joke about Perl: it's a write-only language.
>>105849157
I don't like Python (fucking whitespace for indentation? can't mix tabs and spaces?) and put off having anything to do with it until about a year ago, but since then I do have to admit that it has its place and with libraries like Pandas, Pytorch, Matplotlib and Numpy I can see why it's so big in "data science" and ML/AI.
I'd say it's more the modern equivalent of Visual Basic.
Anonymous No.105857231 [Report] >>105857770
>>105857201
>I'd say it's more the modern equivalent of Visual Basic.
I can easily take Python more seriously than the language that has "Dim" as a keyword
Anonymous No.105857770 [Report]
>>105857231
>DIMension
BASIC was invented in the 1960s.
Anonymous No.105859316 [Report]
>>105847306
Skill issue, sorry patels can't use Python
Anonymous No.105859627 [Report]
>>105847168
even with venv python projects have become a nightmare to run, I think its python devs that are pajeets in this cases.