I'm not that familiar with ACE, so I can't really comment. These days, I prefer programming in Java over C++, I see Java as a "better C++". I don't miss seg faults and other cryptic messages that are experienced with C++. C++ has its place, but I usually choose Java over C++.
Implementing Ptolemy II in Java gave us an opportunity to do a redesign from the ground up. For example, Ptolemy II handles mutations of the model connections on the fly. Ptolemy Classic could have been modified to do that, but it would have required quite a bit of work. We can run Ptolemy II models in security sandboxes, which would be difficult, if not impossible to do with Ptolemy Classic. Ptolemy Classic did use pthreads, but supporting different versions of the various C++ compilers was a real time sink. _Christopher -------- > Yes, one of the reasons to use Java was for threading. Other reasons > include an improved security model, the package system, being able to > manipulate the byte codes etc. > > I find threading under Java to be a little easier than under C++ if > only because getting a C++ threading package working under different > platforms can be tricky. For example, SystemC-2.0.1 had their own > threadin package that just did not work under Cygwin, though it worked > fine everywhere else. SystemC-2.1 solves this problem by allowing > the user to choose pthreads, which works well under Cygwin. In your opinion do you think ACE (Adaptive Communication Environment) http: //www.cs.wustl.edu/~schmidt/ACE.html tackles the threading under C++ much be tter since ACE makes programming in a multi-threaded environment much simple r? Had ACE been available for Ptolemy Classic, would it have prevailed? What if SystemC-2.0.1 was to use ACE instead of QuickThreads and fibers? Be tter alternative? Thanks for your links and input, Hiren --------------------------------------------------------------------------- - Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED] -------- ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]