Post AQqHrFUCWZrXSxRdsu by sixohsix@icosahedron.website
 (DIR) More posts by sixohsix@icosahedron.website
 (DIR) Post #AQqHrFUCWZrXSxRdsu by sixohsix@icosahedron.website
       2022-12-21T20:18:19Z
       
       0 likes, 0 repeats
       
       Python has match/case statements now. My god.Also "love" how every language is just a mess of "async" "await" all over the place. I'm sure we won't regret this weird pollution in the same way we regret exceptions. No way.
       
 (DIR) Post #AQqHrFxyjrgKxJNQIa by piggo@piggo.space
       2022-12-21T20:22:23.979070Z
       
       0 likes, 0 repeats
       
       @sixohsix rust's biggest mistake, imo. Especially when used in libraries, it's awful
       
 (DIR) Post #AQqJ89IItn5R8hVDWK by cpsdqs@icosahedron.website
       2022-12-21T20:27:46Z
       
       0 likes, 0 repeats
       
       @piggo @sixohsix imo it Could have been ok had the keyword generics initiative existed back then (i.e. functions that are generic over async and non-async contexts). swift has this(sometimes?) and it makes it actually bearable!!
       
 (DIR) Post #AQqJ8AYeCVkp3g9mdM by piggo@piggo.space
       2022-12-21T20:36:40.375151Z
       
       0 likes, 0 repeats
       
       @cpsdqs @sixohsix that looks annoying to use ... but on the other thand, creating a tiny single use tokio runtime just to block on an async function is really not something i feel great about
       
 (DIR) Post #AQqJCYv3ZFITlwjWKG by piggo@piggo.space
       2022-12-21T20:37:29.617685Z
       
       0 likes, 0 repeats
       
       @cpsdqs @sixohsix honestly just spawn a thread and sync with crossbeam_channel and parking_lot, works great, and when you're allocating strings all over the place anyway, the performance drawbacks won't matter