Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A lot of the usual criticisms don't apply. This code will never be JIT-compiled. Instructions take either 1 or 2 cycles depending on whether memory is accessed, so there's no pipelining or caching concerns.

Actually in this thing the top two elements of the stack are held in registers. So if you wanted to use the ANSI C compiler instead of FORTH, you might just think of it as a two-register machine (there are actually quite a few more) with a few special stack-manipulation instructions.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: