As promised, I got around to implementing bf in Go.
Surprisingly is seems to outperform the C implementation (time says real 4m24.731s vs real 6m2.560s), on my rather old Laptop (Fedora 23).
I wrote the eval function to work with the abstract io.Reader and is.Writer interface, so that it could be extended to work as a server, so that's a thing that could be done in the future.
I hope all is ok, so just complain if something is wrong.
As promised, I got around to implementing bf in Go.
Surprisingly is seems to outperform the C implementation (time says
real 4m24.731s
vsreal 6m2.560s
), on my rather old Laptop (Fedora 23).I wrote the eval function to work with the abstract
io.Reader
andis.Writer
interface, so that it could be extended to work as a server, so that's a thing that could be done in the future.I hope all is ok, so just complain if something is wrong.