Re:Tcl is faster than Python for database benchmarking
by tyingq on Wednesday November 02, 2022 @07:37AM
(#33434139)
The tcl threads are shared nothing with message passing...each thread is a separate interpreter. So it's not obviously better or different than any other language running multiple processes with message passing via mmap or similar.
[ Parent
| on HN ]
Re:Tcl is faster than Python for database benchmarking
by BiteCode_dev on Wednesday November 02, 2022 @08:35AM
(#33434712)
nmap has a serialization cost, and sharing complex data structures is hard with it.
It's also different than multiprocesses as it will likely take less RAM.
Python is explorer multiple interpreters for these reasons. Python 3.8 SharedMemory works well, it's far from transparent.