|
MononcQc posted:afaik that’s like go’s main demographic googlers
|
# ? May 17, 2020 06:55 |
|
|
# ? Apr 17, 2024 18:56 |
|
https://github.com/golang/go/issues/9 this ticket covers almost every aspect of open source. you got your: corporate devs who dgaf peanut gallery pileon months of inactivity from devs when a resolution is obviously obtainable closed as unnecessary because it’s had no activity from devs for months the only thing it’s missing is a fork
|
# ? May 17, 2020 07:03 |
|
Nomnom Cookie posted:https://github.com/golang/go/issues/9 lol of course they didn’t even google their own name before pushing it out
|
# ? May 17, 2020 16:34 |
|
PIZZA.BAT posted:lol of course they didn’t even google their own name before pushing it out how could they, it's an ungoogle-able name!
|
# ? May 17, 2020 16:59 |
|
https://twitter.com/deepinthebuild/status/1262403613478936577
|
# ? May 18, 2020 16:36 |
|
threads are great but most languages and ecosystems do not provide the tools to use them effectively
|
# ? May 18, 2020 16:57 |
|
Bloody posted:threads are great but most languages and ecosystems do not provide the tools to use them effectively
|
# ? May 18, 2020 17:47 |
|
most of the time when someone wants to code a multi-threaded thing what they really need is async and that's easier than ever at least
|
# ? May 18, 2020 17:50 |
|
Cold on a Cob posted:most of the time when someone wants to code a multi-threaded thing what they really need is async and that's easier than ever at least Also, I think there usually needs there to be multi-threading somewhere (even if it's not in your own code) for async stuff to work. mystes fucked around with this message at 17:57 on May 18, 2020 |
# ? May 18, 2020 17:54 |
|
Cold on a Cob posted:most of the time when someone wants to code a multi-threaded thing what they really need is async and that's easier than ever at least otoh blocking is easy and 3000 threads is not very many
|
# ? May 18, 2020 18:06 |
|
mystes posted:Unless you, say, want parallelism rather than concurrency, which is slightly useful considering that cpus have lots of cores, now. yes. i'm not arguing against the usefulness of multi-threaded processing, either behind an abstraction or directly used. but stick to the abstraction if you can it is really cool that i can do a proper multi-threaded coding block easily and safely in c# so easily now though, parallel.foreach ftw
|
# ? May 18, 2020 18:22 |
|
threads are terrible. it's the lowest level interface for parallelism possible. duhhhh i have one program but multiple cpus wat do??? oohhh i know, genius idea: let's just have multiple program counters! bing bong so easy. sure you're consigning yourself to a lifetime of deadlocks and data races as the multiple program counters bounce around your awful codebase and slobber all over each other's memory, but at least they're doing it in parallel!!!
|
# ? May 18, 2020 18:29 |
|
DELETE CASCADE posted:threads are terrible. it's the lowest level interface for parallelism possible. duhhhh i have one program but multiple cpus wat do??? oohhh i know, genius idea: let's just have multiple program counters! bing bong so easy. sure you're consigning yourself to a lifetime of deadlocks and data races as the multiple program counters bounce around your awful codebase and slobber all over each other's memory, but at least they're doing it in parallel!!! haha pthread_create() go brrrrrrrr
|
# ? May 18, 2020 18:29 |
|
maybe it's hard if you're stupid
|
# ? May 18, 2020 18:32 |
|
i'm extremely dumb and since i've acknowledged it around ten years ago my code has become 100x better going into something basically assuming you're going to gently caress up somehow makes you better at the thing vOv
|
# ? May 18, 2020 18:34 |
|
Cold on a Cob posted:i'm extremely dumb and since i've acknowledged it around ten years ago my code has become 100x better that said, 100 * 0 = 0
|
# ? May 18, 2020 18:34 |
|
CRIP EATIN BREAD posted:maybe it's hard if you're stupid yeah maybe it’s because i actually understand when/why/how to use threads but they’ve never been an issue for me. occasionally you hit the weird edge case race condition or object pointer fuckery but they’ve never been some sort of headache for me otoh i do clustered computing for a living so maybe i just have a lot of practice
|
# ? May 18, 2020 18:50 |
|
otoh i’ve seen other people’s threaded code that were total nightmares but what aspect of coding isn’t susceptible to idiots?
|
# ? May 18, 2020 18:51 |
|
tak posted:words for most tasks the ecosystem is more important than the language this is why you get badlang defenders, they aren't actually defending the language, instead all the effort into getting a good setup
|
# ? May 18, 2020 18:53 |
|
even if you've got a doctor who can hook you up with some really good anaesthetic your still pounding nails into you're dick but yeah i broadly agree. even C++ and PHP have been shamed into cleaning up the worst of their respective loving stupidities.
|
# ? May 18, 2020 19:16 |
|
Bloody posted:threads are great but most languages and ecosystems do not provide the tools to use them effectively it’s me, I’m the tool who uses them ineffectively Cold on a Cob posted:most of the time when someone wants to code a multi-threaded thing what they really need is async and that's easier than ever at least nah, I’ve very rarely wanted anything other than actual parallel execution, and even when async would have been suitable it’s just really hard to write compared to the equivalent sequential code don’t loving make me decide individually which methods need to be called in a different way. definitely don’t make me turn everything into future/callback soup. easier than ever? maybe, but that doesn’t mean easy imo threading isn’t actually any harder to get right as long as you avoid shared mutable state, don’t try to get clever, and rethink your life choices if you ever have to do manual locking
|
# ? May 18, 2020 20:48 |
|
async code is Real Easy in both goodlangs and badlangs nowadays
|
# ? May 19, 2020 00:02 |
|
woah I actually literally said this morning "there's no real need to run this in a separate thread and multi threading will definitely create a disaster so probably should be async or whatever"
|
# ? May 19, 2020 00:12 |
|
redleader posted:async code is Real Easy in both goodlangs and badlangs nowadays easy way to turn one off Robles into several
|
# ? May 19, 2020 07:44 |
|
Boiled Water posted:easy way to turn one off Robles into several beg pardon?
|
# ? May 19, 2020 12:19 |
|
redleader posted:beg pardon? codecamp: hamburglar edition
|
# ? May 19, 2020 12:24 |
|
Soricidus posted:it’s me, I’m the tool who uses them ineffectively i mean i should have specified i was talking about coders in general, enthusiasts that actually pay attention and discuss coding at length often have jobs/tasks that need something more. 99% of code is CRUD and LOB poo poo that usually doesn't need concurrent processing but can benefit from async.
|
# ? May 19, 2020 14:28 |
|
the only people benefiting from async are the ones forced to use a maimed runtime. javascript and python primarily
|
# ? May 19, 2020 15:40 |
|
redleader posted:beg pardon? one problem into several if you have a severe fever
|
# ? May 19, 2020 20:51 |
|
Nomnom Cookie posted:the only people benefiting from async are the ones forced to use a maimed runtime. javascript and python primarily bbbut how can you ~scale~ without async
|
# ? May 19, 2020 22:43 |
|
there is s sweet spot between a database that's too stupid and a database that's too smart. i'm fighting with one on the "too smart" end of the spectrum and let me tell you, i'd really really really like to have a dba to throw this over the wall to
|
# ? May 19, 2020 22:45 |
|
code:
|
# ? May 19, 2020 22:48 |
|
redleader posted:bbbut how can you ~scale~ without async quite easily
|
# ? May 19, 2020 23:22 |
|
redleader posted:bbbut how can you ~scale~ without async
|
# ? May 19, 2020 23:26 |
|
redleader posted:bbbut how can you ~scale~ without async fibers there’s a reason java is moving towards reintroducing something like green threads, rather than jumping on the async/await bandwagon it’s all equivalent deep down ofc
|
# ? May 20, 2020 01:00 |
|
Soricidus posted:fibers oh god
|
# ? May 20, 2020 01:11 |
|
the cycle. it's true
|
# ? May 20, 2020 01:11 |
|
mystes posted:One unikernal running in a VM for each request, obviously. hello i am a silicon valley venture capitalist with a dubious grasp on many technical concepts and i would like to throw money at you
|
# ? May 20, 2020 02:28 |
|
Soricidus posted:fibers now all the jvm has to reinvent is supervisor trees and its convergence towards erlang will be complete
|
# ? May 20, 2020 02:31 |
|
|
# ? Apr 17, 2024 18:56 |
|
redleader posted:hello i am a silicon valley venture capitalist with a dubious grasp on many technical concepts and i would like to throw money at you Blockchain
|
# ? May 20, 2020 02:44 |