this post was submitted on 25 Apr 2024
749 points (100.0% liked)

Programmer Humor

22729 readers
1430 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 2 years 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
[–] [email protected] 22 points 1 year ago* (last edited 1 year ago) (3 children)

would've made more sense if it was rust

(or is the copy intential here?)

[–] [email protected] 15 points 1 year ago (1 children)

Plottwist: consciousness is : Copy

[–] [email protected] 5 points 1 year ago

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

Uploading is a matter of implementing Clone

[–] [email protected] 9 points 1 year ago (1 children)
#[derive(Clone, Copy)]
struct Consciousness {...}

fn upload_brain(brain: Consciousness) -> Result<(), Error>
[–] [email protected] 4 points 1 year ago

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

[–] [email protected] 3 points 1 year 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.