1. A method of utilizing a helper thread to perform an asynchronous computation for retrieving data at a port, the method comprising: creating a set of helper thread binaries along with a set of main thread binaries within an application code space by linking object code generated from compiled source code of an application, wherein the set of helper thread binaries includes instructions for polling one or more of software sockets and hardware ports for an incoming data event that indicates that data is now available at a particular port at which the incoming data event is detected; executing the set of helper thread binaries; executing the set of main thread binaries; in response to a helper thread of the set of helper thread binaries detecting an incoming data event at a port during polling of the one or more software sockets and hardware ports, asynchronously executing instructions in the set of helper thread binaries that compute incoming data needed by the set of main thread binaries and retrieve from the port the needed data that will be necessary to continue execution of a main thread represented by the main thread binaries; and providing the needed data to the main thread.