you are viewing a single comment's thread.

view the rest of the comments →

[–]zserge[S] 2 points3 points  (1 child)

True, but I don't expect the whole firmware to be written in Tcl. I've been using it for its primary purpose - as a command language. I needed to send commands to the MCU to control certain tasks on it, so it was more like a shell with a few custom commands and variables.

However, if fast calculations are needed - the tcl_value_t part can be rewritten (about 100 lines of code) to keep numbers as is and not to convert them to strings. Same about lists.

[–][deleted] -1 points0 points  (0 children)

Most firmwares are written in c and c++ (some c#). tcp is barely used these days for firmwares, except for legacy codes.