spacestr

đź”” This profile hasn't been claimed yet. If this is your Nostr profile, you can claim it.

Edit
CodingInLondon
Member since: 2023-02-03
CodingInLondon
CodingInLondon 2d

C: how do we store a string? let’s use a char*, it’s efficient. “But it’s dangerous! What it is passed around and outlives the original string?” C++98: let’s use a std::string instead. “But it’s expensive to copy and return” C++11: move semantics. “But it’s not backwards compatible with char * without a copy!” C++17: std::string_view “But it’s dangerous! What it is passed around and outlives the original string?”

CodingInLondon
CodingInLondon 17d

It’s all in there

Welcome to CodingInLondon spacestr profile!

About Me

Former finance C++ dev writing about the merge of mining into the energy grid 🔋

Interests

  • No interests listed.

Videos

Music

My store is coming soon!

Friends