this post was submitted on 21 Jan 2024
9 points (90.9% liked)

Programmer Humor

32469 readers
440 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 9 months ago (1 children)

Just use brainfuck for everything. The entry barrier for the programming industry needs to be higher anyway.

[–] [email protected] 0 points 9 months ago (2 children)
[–] [email protected] 0 points 9 months ago* (last edited 9 months ago) (1 children)

For the programmer? Very no.

For saving space if run via interperter? No.

For running compiled for conventional CPUs? No.

Compared to CISC instruction sets? Absolutely no.

BF might be highly efficient if crunched down to a bit-packed representation (3 bits per instruction) and run on an FPGA that understands it.

[–] [email protected] 0 points 9 months ago

For demonstrating to CS freshmen that Turing Completeness isn't that remarkable of a language feature: very highly efficient.

[–] [email protected] 0 points 9 months ago (1 children)

Can be compressed very efficiently. I do dread the thought of writing a driver in brainfuck.

[–] [email protected] 0 points 9 months ago (1 children)
[–] [email protected] 0 points 9 months ago

Hardware is complex and mysterious enough without added complexity of an esoteric language.