News for hackers. Stuff that matters.
Re:Extending Tcl by davidw on Sunday May 13, 2018 @02:08PM (#17060130)
Tcl - or Ruby, Python without NumPy (which is an extension) or most scripting languages are not the right tool for the job for number crunching.
Re:Extending Tcl by ptrott2017 on Sunday May 13, 2018 @04:13PM (#17060801)
As DavidW points out Out of the box Tcl (like most scripting languages) was never designed for numeric processing. If you want to do numerics and number crunching in Tcl use one of the extensions such as Vectcl or the Mathemtcl. Tcl's C APi makes writing extensions (or wrapping existing libs) pretty straight forward too.
Re:Extending Tcl by gaius on Sunday May 13, 2018 @03:09PM (#17060428)
Right - both Python and Tcl/Tk are intended to offload heavy processing to C functions that they stitch together with high level controls.