2 ms·
C it's highly machine dependant. Something like Scheme, CL or even Forth would be preferable. At least with some bare metal Forth you can inspect the machine
by anthk 1y ago
C it's highly machine dependant.
Something like Scheme, CL or even Forth would be preferable.
At least with some bare metal Forth you can inspect the machine from high level to ASM levels.
- codr7 1y agoI agree Forth could make a more optimal first language to learn. I often recommend beginners to learn all of Forth, C, Lisp & SmallTalk. Because they're all conceptually clean local maximums in the language design space.
- anthk 1y agoWith Forth (Starting Forth and Thinking Forth) and Lisp (especially CLOS or Scheme with SICP) you cover them all. Even Subleq+Eforth it's fine, you'll learn EForth (it can be set at muxleq.fth/subleq.ftj with some compatibility with do...loop and floats) and Subleq as a VM. It's highly documented and it even has a book to play with. EDIT: as a nice example, I had some pas.f example with a Pascal triangle. In order to get it working under eforth, I just had to define .r as u.r on top like: : .r u.r ; and that was it. It ran on both PForth and EForth. Eforth on a subleq (muxleq for performance) under an n270 Atom netbook.