3 ms·
Fair enough. I certainly understand Taylor series. 40+ years ago I experimented with series approximations using the programmable HP calculators of the day to
by OldGuyInTheClub 3y ago
Fair enough. I certainly understand Taylor series. 40+ years ago I experimented with series approximations using the programmable HP calculators of the day to see how my functions compared to the builtins. I intended to say that I would struggle to write something worth using. Poor wording to say the least.
I had no idea FORTH could invoke libraries from C. I got the impression it would be used on systems where space is at a premium precluding the installation of other higher-level languages.
- coldtea 3y agoYeah, it can, via it's favorite method for everything: adding params to the stack, and getting the return value there! Here's for GForth for example: https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Calling-C-Functions.html https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Cal... There are even bindings to C/C++ GUI libraries and so on. Running at constrained systems is just a common deployment scenario, but nothing in Forth necessitates it. You can even run it under Windows.