Hacker News new | past | comments | ask | show | jobs | submit login

It's a Windows app - if you are worried about overhead, you wouldn't be running Windows in the first place.

But to answer your question, I am sure this has plenty of overhead, but given there are no real alternatives, people still accept it. Better to waste some CPU time that have some totally unresponsive game.




The alternative is called Windows Job Objects, and it allows for limiting CPU and memory usage, among others.

There are numerous libraries and launchers on github; my favorite is [1].

CPU limits are only for Windows 8 or greater though, so for people still on Windows 7 or earlier, then okay, this post is relevant for them.

[1] : https://github.com/lowleveldesign/process-governor


Thanks for this, this seems the proper way to accomplish it




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: