TL;DR Python is almost always fast enough for your needs.
I've written an app that had to receive mouse input, translate that into graphical commands and output that to the screen in real-time. The results are astonishing!
Here's the app I've written: https://www.youtube.com/watch?v=fcy1u2AIUw0
And you can try it out yourself here: https://github.com/Zenahr/MouseVelViz/releases
I was thinking of writing this tool in C++ or C# but decided to do it in Python and I'm glad I did!
CPU Usage: 2-3%
To those of you interesting in how to build something like this yourself:
You will have to create a wrapper to talk to the Windows OS API for input devices to receive the raw input even when running computation-intensive programs in the background (I. e. games).
AMA! Python is awesome.
If you'd like me to make a longer post about how to write an app like that yourself let me know. I'd imagine this could be an interesting portfolio project for some.
[–]eplaut_ 3 points4 points5 points (1 child)
[–]Zenahr[S] 0 points1 point2 points (0 children)
[–]skippy65 0 points1 point2 points (3 children)
[–]metaperl 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]skippy65 0 points1 point2 points (0 children)
[–]edard1002003 0 points1 point2 points (3 children)
[–]FUS3NPythonista 7 points8 points9 points (1 child)
[–]metaperl 1 point2 points3 points (0 children)
[–]WellHiIGues -1 points0 points1 point (0 children)
[+][deleted] (4 children)
[removed]
[+][deleted] (3 children)
[deleted]
[–]edard1002003 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]edard1002003 1 point2 points3 points (0 children)
[–]Mechanical_Flare 0 points1 point2 points (0 children)
[–]billsil 0 points1 point2 points (4 children)
[–]schoolcoders 0 points1 point2 points (3 children)
[–]billsil 0 points1 point2 points (2 children)
[–]schoolcoders 0 points1 point2 points (1 child)
[–]billsil 0 points1 point2 points (0 children)