Hi
Our company Velare Technologies just released the beta version of our ATC Threading Java framework (http://www.velare.com/product/atct.htm)
It’s a very interesting technology that can be used for development of various types of asynchronous processes, including game scripting.
ATCT is a pure Java framework based on Execution Context Reification mechanism, allowing operations with “pickled threads” using a simple API. Developers can use ATCT as flow language for programming of long running interruptible processes. Standard tools and OOP techniques can be used for main application development, as well as for script development. The framework makes possible to use various types of script level thread management such us Green Threads and Fibers.
The following is a simple code example for asynchronous method call:
public class HelloWorld implements ATCRunnable {
public String getStringToPrint() throws ATCSignal // this is asynchronous method
{
return null;
}
public void run() throws AISignal {
System.out.println(getStringToPrint());
}
public static void main(String[] args) throws Throwable {
HelloWorld t = new HelloWorld();
ATCThread atct = new ATCThread(t);
//mc represents a call to getStringToPrint
MethodCall mc = atct.start();
//value "Hello World!!!" will be used to continue the execution and will appear in the print out.
atct.resume("Hello World!!!");
}
}
The framework is available free for download.
Thanks in advance for any feedback.
Serguei Mourachov
smourachov at velare.com