787
STOP WRITING C (lemmy.world)
submitted 10 months ago by Maven@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Hadriscus@lemm.ee 1 points 10 months ago
[-] dejected_warp_core@lemmy.world 13 points 10 months ago* (last edited 10 months ago)

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.

[-] frezik@midwest.social 6 points 10 months ago

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

[-] MinekPo1@lemmygrad.ml 1 points 10 months ago

its efficient in terms of compiler size ! nya

[-] MeanEYE@lemmy.world 6 points 10 months ago

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

[-] MatFi@lemmy.thias.xyz 5 points 10 months ago* (last edited 10 months ago)

Can be compressed very efficiently.

Which basically means: "You have to write more code than actually needed". It's more a con than a pro in my eyes.

[-] dejected_warp_core@lemmy.world 2 points 10 months ago

Hot take: As a VM with only eight instructions, it's very easy to code and securely sandbox. Maybe BF has utility as a compilation target?

[-] MinekPo1@lemmygrad.ml 1 points 10 months ago

decided to check : mandelbrot can be compressed by 87.5% by gzip on maximum compression strength

[-] Hadriscus@lemm.ee 1 points 10 months ago
[-] MeanEYE@lemmy.world 5 points 10 months ago

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

this post was submitted on 21 Jan 2024
787 points (93.4% liked)

Programmer Humor

32591 readers
970 users here now

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

Rules:

founded 5 years ago
MODERATORS