Conversation
Notices
-
Embed this notice
Pissed Hippo (sun@shitposter.world)'s status on Saturday, 14-Sep-2024 04:56:04 JST Pissed Hippo
it's too bad python fucking sucks or maybe I could use these gazillion cores to process multiple images simultaneously - kaia likes this.
-
Embed this notice
Pissed Hippo (sun@shitposter.world)'s status on Saturday, 14-Sep-2024 04:56:50 JST Pissed Hippo
I have tried to do concurrent programming in Python and it's basically unsuable. -
Embed this notice
Pissed Hippo (sun@shitposter.world)'s status on Saturday, 14-Sep-2024 04:57:02 JST Pissed Hippo
@graf yep even for that I use node.js instead lol -
Embed this notice
anime graf mays ?️? (graf@poa.st)'s status on Saturday, 14-Sep-2024 04:57:03 JST anime graf mays ?️?
@sun python is really, really good at quick 30 line one-off one-time use projects. that's all it's good for Pleroma-tan and Pissed Hippo like this. -
Embed this notice
Pissed Hippo (sun@shitposter.world)'s status on Saturday, 14-Sep-2024 04:57:54 JST Pissed Hippo
@Merc maybe it's gotten better but a couple years ago I tried doing concurrent work and the benefit wasn't enough to justify the changes -
Embed this notice
Mercurial "The Game" Black (merc@lab.nyanide.com)'s status on Saturday, 14-Sep-2024 04:57:55 JST Mercurial "The Game" Black
@sun if you're talking GIL it's optional in 3.13
If you're just speaking generally then yeah sorry. Idk use Cython or something.Pissed Hippo likes this. -
Embed this notice
Pissed Hippo (sun@shitposter.world)'s status on Saturday, 14-Sep-2024 04:58:55 JST Pissed Hippo
@Merc woah finally. nice -
Embed this notice
Pissed Hippo (sun@shitposter.world)'s status on Saturday, 14-Sep-2024 05:17:08 JST Pissed Hippo
@psnacks because all the AI and OCR libraries I'm using are in Python. -
Embed this notice
psnacks (psnacks@netzsphaere.xyz)'s status on Saturday, 14-Sep-2024 05:17:10 JST psnacks
@sun you could get a 20x speedup by using any other language, why would you try to do concurrency in python? -
Embed this notice
Pissed Hippo (sun@shitposter.world)'s status on Saturday, 14-Sep-2024 05:18:40 JST Pissed Hippo
@p @psnacks yep -
Embed this notice
p (p@raru.re)'s status on Saturday, 14-Sep-2024 05:18:42 JST p
they have python frontend, usually compiled binary backend
@sun @psnacks -
Embed this notice
Pissed Hippo (sun@shitposter.world)'s status on Saturday, 14-Sep-2024 05:22:59 JST Pissed Hippo
@psnacks I don't think the OCR part does because it's slow -
Embed this notice
psnacks (psnacks@netzsphaere.xyz)'s status on Saturday, 14-Sep-2024 05:23:01 JST psnacks
@sun most ai stuff should already use all cores or not? -
Embed this notice
~BitBun~ :bunRetro: (bitbun@raru.re)'s status on Saturday, 14-Sep-2024 07:08:03 JST ~BitBun~ :bunRetro:
@sun Every day I'm thankful that I don't have to write Python any more. :blobcatBlessUp:
Pissed Hippo likes this.