|
|
|
|
|
by listic
5775 days ago
|
|
Care to explain your reasoning behind this? As I understand, the main appeal of using C as a scripting language is the fact that you use the same language in compiled and interpreted part of your application. Drawbacks of using C interpreter for scripting could include large footprint and external dependencies, but as far as I can understand, they are not the case here. So what is your reasoning for Forth? |
|
While not exactly a scripting language per se, Forth does have amazing interactive capabilities. It's extremely light-weight and it's easy to implement a new Forth on a new hardware architecture. Footprint issues aside, development time in Forth is usually shorter, and the ability to connect directly to a device's Forth "shell" and try out Forth words (functions), create new words, play around with hardware in real-time is invaluable.
Forth code is less readable if you don't know Forth, and occasionally Forth programmers write ugly code, but that is definitely the case for embedded C programmers too.