this post was submitted on 25 Apr 2024
720 points (95.6% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/14869314

"I want to live forever in AI"

you are viewing a single comment's thread
view the rest of the comments
[–] vox@sopuli.xyz 21 points 7 months ago* (last edited 7 months ago) (3 children)

would've made more sense if it was rust

(or is the copy intential here?)

[–] SrTobi@feddit.de 15 points 7 months ago (1 children)

Plottwist: consciousness is : Copy

[–] flying_sheep@lemmy.ml 5 points 7 months ago

It's pinned and !Unpin, and only has private constructors.

Uploading is a matter of implementing Clone

[–] RustyNova@lemmy.world 9 points 7 months ago (1 children)
#[derive(Clone, Copy)]
struct Consciousness {...}

fn upload_brain(brain: Consciousness) -> Result<(), Error>
[–] xlash123@sh.itjust.works 4 points 7 months ago

If we're gonna have a dystopian future, then damn it, it's gonna be memory safe.

[–] marcos@lemmy.world 3 points 7 months ago

The semantics in Rust would be completely out of wack. What does ownership mean?

I guess the point of the joke is that consciousness is a shallow value.