DEV Community

Cover image for Writing a Brainfuck Interpreter in Rust (and WebAssembly)

Writing a Brainfuck Interpreter in Rust (and WebAssembly)

Shritesh Bhattarai on December 02, 2017

Rust recently added support for WebAssembly and I wanted to try it out. So, I wrote a brainfuck interpreter in Rust that compiles to WebAssembly. Y...
Collapse
 
ben profile image
Ben Halpern

Oh my goodness

Collapse
 
lschultebraucks profile image
Lasse Schultebraucks

That is exactly what I thought πŸ˜„

Collapse
 
eljayadobe profile image
Eljay-Adobe

For the people that have delicate sensibilities, I always censor the word to B***fuck.

Collapse
 
luke profile image
Luke Barnard

Next up: Writing a React App in Brainfuck

Collapse
 
buntine profile image
Andrew Buntine

Well, Brainfuck has been proven Turing-complete. So, at least theoretically, it's totally possible to write an equivalent framework in Brainfuck. :)

Collapse
 
mangekalpesh profile image
Kalpesh Mange

'Brainfuck' is it!? Or am I not seeing things correctly here?! πŸ˜‚