[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture


View post   

File: 44 KB, 338x450, alice_toj.png [View same] [iqdb] [saucenao] [google]
8921225 No.8921225 [Reply] [Original]

Have you noticed how Perl threads suck compared to Ruby or Python?
Well, the explanation is once again very simple.
Ruby and Python threads are subject to the Global Interpreter Lock, which lets you take it easy by not giving a single fuck about thread synchronization most of the time.

>> No.8921243

>>8921225
That results to sloppy code that as it expands creates the potential for race conditions up the wahzoo.

>> No.8921249

>>8921225
>saging the OP post

>> No.8921255

Viral marketing for Asagi.

>> No.8921267

>>8921255
But Asagi is written in JAVA

>> No.8921342

>>8921225
I wish Python didn't have GIL. Every time I spend hours parallelizing my program, I feel like I have wasted my time because none of it will matter in real performance anyway.

>> No.8921358
File: 280 KB, 700x700, 1303056600976.jpg [View same] [iqdb] [saucenao] [google]
8921358

>> No.8921362

>>8921342
Don't use an interpreted language if you want performance. And don't mention Psyco please.

>> No.8921383

>>8921362
It don't normally need performance (for a desktop application). Besides, I like Python's ease of use and accessible standard library. Regardless, a bit of performance when necessary would be ``nice to have''.

>>
Name
E-mail
Subject
Comment
Action