memesearch
How Rust and C See Strings

How Rust and C See Strings

Download Find similar pictures
Text on the meme
How We See Strings Rust C &str String &[u8] &[u8; N] Vec<u8> &u8 OsStr OsString Path PathBuf CStr CString &’ static str char *
What it means

A woman labeled Rust and a man labeled C point toward a spectrum of string-related types. The joke is that Rust distinguishes many kinds of strings and byte representations, while C sees them all more simply as a char pointer. People send this as a programming joke about Rust’s detailed type system versus C’s low-level approach.

Objects
Tags
Source
Type
image
Size
576×680 · 43.6 KiB
Mood
sarcastic
Language
en
Added

Similar memes