HackerTrans
TopNewTrendsCommentsPastAskShowJobs

random_mutex

no profile record

comments

random_mutex
·2 mesi fa·discuss
Is clanker defined behavior in this case
random_mutex
·4 mesi fa·discuss
Magic comments have no place in a programming language
random_mutex
·5 mesi fa·discuss
A panic in Rust is easier to diagnose and fix than some error or grabage data that was caused by an out of bounds access in some random place in the call stack
random_mutex
·5 mesi fa·discuss
There is use after free
random_mutex
·6 mesi fa·discuss
Because of compiler support
random_mutex
·6 mesi fa·discuss
Most likely LLMs are better at writing react
random_mutex
·6 mesi fa·discuss
It doesn't compile so no victory
random_mutex
·6 mesi fa·discuss
If you delve, pun intended, into the stdlib you'll find out it's a pleasure to run away from it.
random_mutex
·6 mesi fa·discuss
I find the error story a horror one, mainly because it's quite easy to omit an error check when the err variable is reused which leads to weird crashes and garbage data, same happens when the error is explicitly ignored.
random_mutex
·6 mesi fa·discuss
I wouldn't call tuples or error types weird, they're just poorly designed under the pretense of keeping the language (and first of all the compiler) simple.

It's not Go who popularized channel based concurrency, it's Erlang and Elixir.