It's 2006. I'm working with threads in C and it's awful
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko
pthreads! The "g" is for "good" -
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko how do threads even work on C, function pointers?
-
@eniko
pthreads! The "g" is for "good"@silvermoon82 @eniko fozzie bear dot gif
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko Why so awful ??
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko 2011 - present: I'm working with threads in C++ and it's great (mostly)
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko Well, yes... But rest assured, threads in C++ are awful. Threads in Java are awful. Threads in Python are double-plus awful.
And they're still needed, so have an ice cream (or other treat) every time you added tread-using code to your project.
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko this is why I use thread pools in languages that support them ootb, combine their results in the main thread, and pretend that no other use cases exist.
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko Hey, consistency ain't nothing to be dismissed lightly.
-
undefined oblomov@sociale.network shared this topic
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko Sorry to use the R-word, but... Rust?
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko oh goddesses, you were suffering with C back in 2006? oh wow! (2006 I was still dreaming I would be a writer)
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko I’ll join in with a bit of paraphrasing.
It’s 1987. I’m forking this process in C and my library code isn’t reentrant….
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko It's 2026. [...] C [...] i[...]s awful
-
@eniko how do threads even work on C, function pointers?
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko in my head-canon, that's the reason we got erlang, go, rust.......
(it's 1996 and threads in C is awful, it's 1986 and threads in C is awful......)
-
-
@khleedril @eniko
Are they though?
Threads have a lot more problems than memory issues
-
It's 2006. I'm working with threads in C and it's awful
It's 2016. I'm working with threads in C and it's awful
It's 2026. I'm working with threads in C and it's awful
@eniko sounds like threads should be called dreads.
-
@khleedril @eniko
Are they though?
Threads have a lot more problems than memory issues
-
@eniko 2011 - present: I'm working with threads in C++ and it's great (mostly)