teleporter (thelemmy.club)
submitted 3 months ago* (last edited 3 months ago) by to c/comicstrips@lemmy.world
 
you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 3 months ago (3 children)
$me = "🧍"; 
$stillMe = & $me; 
unset($me);
print($stillMe); // wohoo, teleportation rocks!!!

$me = "🧍"; 
$copyOfMe = $me; 
unset($me); // πŸ’€ this sucks!!!
print($copyOfMe); // wait, what happened?
  • source
  • hideshow 3 child comments
  • [–] 6 points 3 months ago* (last edited 3 months ago) (2 children)

    the reference never changed position in memory, so nothing actually happened during the teleportation process other than a re-labelling.

    For real teleportation, that memory has to physically change position. I would do it gradually though, bit-by-bit, synchronized, and very fast.

    The idea is that if you slow it down, you witness half-yourself getting destroyed exactly as you witness your other half getting created, with the only carry-over being a single 1 or a 0

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 3 months ago* (1 child)

    So teleportation is like going into the woodchipper feet first? Ok, now I slowly understand McCoys problems with that invention.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 3 months ago

    woodchipper suggests that each piece in the chipper is identifiable as it goes in, i.e. the carryover buffer size is large enough to identify pieces of the source.

    I'm talking about a buffer size of 1 bit. Literally a 1 or a 0. It's as identifiable as a coin flip.

  • source
  • parent