• 0 Posts
  • 10 Comments
Joined 2 years ago
cake
Cake day: June 21st, 2023

help-circle

  • I think beginners would find it a lot easier if “it’s like email” was closer to the start. But as it is you have to dig a bit before you get that particular bit of insight.

    Where do you sign up? Wherever suits you. Posteo, Mailbox, Tuta etc; there are plenty of others. You aren’t limited to emailing those on your server, you can email anyone anywhere. You don’t need an account on all email servers to email people on those servers. It’s the same with Lemmy. You’re on beehaw.org, I’m on lemm.ee, and the next post down (on my screen) is on lemmy.ca.

    What if you’re on Posteo but all your friends are on Mailbox? Well you can switch to Mailbox if you want but it’s not necessary. You can still email each other.

    Defederation: if for example everyone on scammersunited.com is a scammer, the admins of your email server might decide to block email from that instance by default. Federation’s just a fancy word for people on Tuta to be able to email people on Runbox.


  • Lower performance though. At each iteration through the string you need to compare the length with a counter, which if you want strings longer than 255 characters will have to be multibyte. With NTS you don’t need the counter or the multibyte comparison, strings can be indefinitely long, and you only need to check if the byte you just looked at is zero, which most CPUs do for free so you just use a branch-if-[not-]zero instruction.

    The terminating null also gives you a fairly obvious visual clue where the end of the string is when you’re debugging with a memory dump. Can you tell where the end of this string is: “ABCDEFGH”? What about now: “ABCD\0EFGH”?