Hi everyone, I want to take a shot at implementing a simple framework for functional reactive programming in Python. (It will be loosely based on a paper I read about a system called FrTime for DrScheme.) However, I'm not sure how to go about implementing certain components.
One basic component will be an object representing the current time (preferably down to, say, 10 ms). This time object should update itself autonomously. Other objects which somehow depend on the time object will be kept in a dependency graph, and automatically updated as the time object updates itself. I'm not sure what's the best way to implement this time object. I'm guessing it should run in its own thread, and whenever it updates, it should update the graph of its dependents in another thread. But naturally I'd like the timer to be efficient and precise (again, down to ~10 ms), and I'm not sure what my options are. I'd appreciate any suggestions. Thanks and regards, Aaron -- http://mail.python.org/mailman/listinfo/python-list