Re:Why Lisp? (2015)
by lanstin on Tuesday October 26, 2021 @08:04PM
(#29008036)
Lisp compiles to native code, TCL is forever parsing the strings it passes around.
[ Parent
| on HN ]
Re:Why Lisp? (2015)
by kevin_thibedeau on Tuesday October 26, 2021 @08:13PM
(#29008094)
> TCL is forever parsing the strings it passes around.
No it isn't. Tcl has had dual-ported objects and a bytecode interpreter for over 20 years.
Well I learned something. But if you represent a list as a lift of strings wouldn’t it have to parse them as Argv in the c implementation? It has been a while but only 17 years since I wrote TCL commands but each one started with a list of strings. Maybe the byte code interpreter doesn’t work with older C extensions? But the main selling point of TCL was easy extension.