News for hackers. Stuff that matters.
Re:Show HN: Austin-Tui – Spy inside a running Python program... by p403n1x87 on Tuesday October 27, 2020 @10:04AM (#24907512)
Running Python is not a performance cost. The meaning behind "no performance cost" is that a tool like this is unlikely going to impact the performance of the application that is being profiled. The fact that Python is not a "fast" programming language is then a different matter.
Re:Show HN: Austin-Tui – Spy inside a running Python program... by dTal on Tuesday October 27, 2020 @11:27AM (#24908317)
The point is that it's only possible in the first place because Python leaves so much performance on the table. You can't snoop inside a C++ program in the same way - unless you throw a bunch of sleep() calls everywhere to slow it down, and then hey presto you can!

Or, to put it another way, taking Python from 500x SlowerThanCee to 501x is "negligible", but taking C from 1x to 2x slower isn't.

Re:Show HN: Austin-Tui – Spy inside a running Python program... by p403n1x87 on Tuesday October 27, 2020 @11:30AM (#24908353)
true that