News for hackers. Stuff that matters.
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.
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).

Re:Tcl is faster than Python for database benchmarking by cmacleod4 on Thursday November 03, 2022 @03:10PM (#33455875)
This is the critical point that most commenters are missing or ignoring!
Re:Tcl is faster than Python for database benchmarking by beiller on Thursday November 03, 2022 @11:57PM (#33462005)
Eh yes overlooked that but doesn't touch on async methods. I think there is an async postgres connector out there.