What is Nostr?
Jeff Forcier /
npub12pg…pcmy
2024-12-24 01:40:39
in reply to nevent1q…3sfv

Jeff Forcier on Nostr: nprofile1q…rhvyl I'm still quite new to it myself, but I got the sense that String ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq0fmsw3ukhmqnnsjmalfekl6j4cucxvfl50he9dmqcna36a99nf6smrhvyl (nprofile…hvyl) I'm still quite new to it myself, but I got the sense that String vs str vs arrays of bytes/int8s/whatever, was either a language weak point or a “I guess I'm dumb" weak point.

Like, code that would be absolutely trivial in Python is a bunch of slightly weird looking "gotta toss this into a string, then do Things to it, then call .as_str() for reasons”. I grok about half of why that's necessary (mutability, heap vs stack, etc).

Probably much easier for C heads?
Author Public Key
npub12pgy239ztp5murrva9ke9dk0t65h3suhl62v04raxvnm6gczgdhsz5pcmy