far like the future, bright like the soul

trans programmer & gamedev, occasional multimedia creator, amy rose kinnie

nd/adhd/(possibly) autism

<3 @fiffle & @milly

this

This


email
amywrightmail (at) protonmail (dot) com

while overall i'm enjoying programming in rust, i've noticed that eventually i'm starting to get struct members whose type signatures are just lots and lots of generic parameters. where in other similar languages i would merely pass a pointer to an array around and account for null manually, in rust i must say i want an Option<Arc<Mutex<Box<[u8]>>>> or something to that degree. i'm aware that this is the price to pay for compile-time memory safety, it just gets a little tiring over time ^^;


You must log in to comment.

in reply to @amy's post:

or newtype structs! often those are even nicer because then you can start writing impl glue for accessing the inner type more easily and then oops the language just bullied you into refactoring it into what you actually meant it to be