memesearch
Rust Versus C Binary Size

Rust Versus C Binary Size

Download Find similar pictures
Text on the meme
Rust C main.rs fn main() { println!("Hello, World!"); } TERMINAL — 3 INPUT VALUE WEBOUTPUT $ cat main.rs $ ls -la $ wc -c main $ ./main Hello, World! main.c #include <stdio.h> int main(int argc, char *argv[]) { printf("Hello, World!\n"); } TERMINAL — 3 INPUT VALUE WEBOUTPUT $ cat main.c $ gcc main.c $ ls -la $ wc -c main $ ./main Hello, World! 3.52 MiB 15.57 KiB
What it means

A side-by-side comparison shows nearly identical Hello World programs written in Rust and C. The joke is that the Rust executable is dramatically larger than the C executable, poking fun at Rust’s compilation overhead and binary size for a trivial program. EN: A side-by-side comparison shows nearly identical Hello World programs written in Rust and C. The joke is that the Rust executable is dramatically larger than the C executable, poking fun at Rust’s compilation overhead and binary size for a trivial program.

Objects
Tags
Source
Type
image
Size
800×581 · 90.9 KiB
Mood
sarcastic
Language
en
Added