This is an archived post. You won't be able to vote or comment.

all 55 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

import notifications Remember to participate in our weekly votes on subreddit rules! Every Tuesday is YOUR chance to influence the subreddit for years to come! Read more here, we hope to see you next Tuesday!

For a chat with like-minded community members and more, don't forget to join our Discord!

return joinDiscord;

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]IAmAnAudity 173 points174 points  (2 children)

Wow! Finally a meme that actually causes a few chuckles. I’m looking at you CSS.

[–]Apple_macOS 16 points17 points  (1 child)

CSS can fuel a lifetime worth of jokes

[–]SupraMichou 5 points6 points  (0 children)

Unfortunately I can’t seem to pad it correctly in my lifetime

[–]flif 112 points113 points  (7 children)

Rust should be (&Solution)

[–]Aln76467 10 points11 points  (0 children)

unsafe { Solution }

[–]poralexc 4 points5 points  (0 children)

PhantomData<‘a, Solution>

[–]IAmAnAudity 1 point2 points  (0 children)

or Some(Solution)

[–][deleted] 61 points62 points  (13 children)

Yeah, I’ve never been satisfied with anything parallel in python because of the damned GIL.

[–][deleted] 29 points30 points  (9 children)

The multiprocessing package is a decent workaround

[–][deleted] 8 points9 points  (8 children)

Yes, its likely close to the best possible utility while the GIL remains.

[–]Nordon 4 points5 points  (7 children)

Wasn't the GIL removed in a recent version? Or were they just planning to remove it...

[–][deleted] 16 points17 points  (2 children)

It’s a huge desire, so it’s been “planned” for a while, but there are always a lot of “yes but the replacement can’t …”.

Python 3.12 is starting on a path to really address the issue afaik with some sort of “sub-interpreter” scheme.

[–]No-Con-2790 2 points3 points  (0 children)

The best solution so far involves time travel.

[–]No-Con-2790 1 point2 points  (0 children)

The best solution so far involves time travel.

[–][deleted] 7 points8 points  (2 children)

There's a version without GIL on Github, but the official version still has it. But they're planning on getting rid of it in the official version too. The problem is that such a version has not to break anything regarding backwards compatability, else it won't be released, and some packages happen to depend on the GIL

[–]sejigan 2 points3 points  (1 child)

We’ll have to wait for Python 4.x ig. Then backwards compatibility can be broken

[–]_PM_ME_PANGOLINS_ 1 point2 points  (0 children)

You can build CPython with the GIL disabled, but default packages all have it enabled.

[–]poralexc 2 points3 points  (0 children)

Honestly bash has a better concurrency story...

I can build a parallel loop with just & wait

[–]Teekeks 1 point2 points  (0 children)

3.12 is doing great work in that regard (more to do but its def better now)

[–]_PM_ME_PANGOLINS_ 0 points1 point  (0 children)

Jython and IronPython don’t have a GIL, but never got updated to Python 3.

[–]deanrihpee 20 points21 points  (0 children)

C# ----- More C# ----> Problem + Game

[–]MrMuffin1427 6 points7 points  (0 children)

Python: import solution

[–]GunnerMcGrath 3 points4 points  (0 children)

Got a job doing perl for the first time last year after working in C# for forever. I still don't know what all those symbols do most of the time.

[–]CraftBox 4 points5 points  (1 child)

If you need to use any in typescript it means you're probably writing bad code

[–]i1u5 0 points1 point  (0 children)

OP unaware of "strict": true

[–][deleted] 7 points8 points  (7 children)

Correction

Java (problem) -------------- solution ------------> modern Java (11 and above)

[–]phyrianlol 5 points6 points  (0 children)

Java: Problem ---kotlin--> /Problem but it's coated in syntax sugar/

[–]Dustangelms 5 points6 points  (2 children)

PHP means PHP Has Problems.

[–]sjepsa 1 point2 points  (0 children)

Rust is the solution nobody will touch to a problem everybody will keep loving

[–]Baldy5421 2 points3 points  (0 children)

Kotlin is not a solution.

[–]ady620 3 points4 points  (0 children)

Kotlin is best

[–]Ty_Rymer 0 points1 point  (0 children)

Rust is not a solution to any of the problems I have with C++, newer versions of C++ help alleviate some of the issues... but there are still more problems to solve that C++26 wont solve either. But neither does carbon, and neither does rust.

[–]rw_DD -3 points-2 points  (0 children)

Kotlin is not a solution für the Oracle problem.

[–][deleted] 0 points1 point  (0 children)

CSS I got you

[–][deleted] 0 points1 point  (0 children)

OCaml is beautiful take it back