Re:Tcl is faster than Python for database benchmarking
by beiller on Tuesday November 01, 2022 @11:08PM
(#33431011)
Yeah the article felt intellectually honest and I enjoyed it, but was hoping for at least a footnote that multithreading is 1 solution. Async/await is another possible solution. There appears to be no shared state. But in fairness, python's state of multiprocessing, multithreading, and async/await just leaves too many options for a general language programmer to keep track of and perhaps it's just lack of knowing these things exist.
[ Parent
| on HN ]
Re:Tcl is faster than Python for database benchmarking
by yellowapple on Wednesday November 02, 2022 @01:35AM
(#33431750)
The article does indeed mention:
> (And although the Python test script could run in multiple processes HammerDB is an application simulating multiple virtual users in a GUI and CLI environment requiring the close interaction and control of using multiple threads).