Maven (famous)@lemmy.world to Programmer Humor@lemmy.ml · vor 3 JahrenSTOP WRITING Clemmy.worldimagemessage-square92fedilinkarrow-up1110arrow-down14
arrow-up1106arrow-down1imageSTOP WRITING Clemmy.worldMaven (famous)@lemmy.world to Programmer Humor@lemmy.ml · vor 3 Jahrenmessage-square92fedilink
minus-squaredejected_warp_core@lemmy.worldlinkfedilinkarrow-up1·edit-2vor 3 JahrenFor 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.
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up1·vor 3 JahrenFor demonstrating to CS freshmen that Turing Completeness isn’t that remarkable of a language feature: very highly efficient.
Is brainfuck efficient ?
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.
For demonstrating to CS freshmen that Turing Completeness isn’t that remarkable of a language feature: very highly efficient.