On Mon, Jan 25, 2010 at 10:17 AM, Aai <[email protected]> wrote: > just curious. Is a task like 'dining philosophers' possible/impossible > in J? If impossible what should J have to solve this sort of tasks?
The problem is trivial in J, since J does not allow into the language the concurrency problems which are implicitly being addressed by this task. This issue could be circumvented by using multiple J processes and OS mechanisms to communicate, but in that case most of the work would be in creating the underlying mechanics. It is not clear that the J community would be addressed well by either of these approaches. Though if someone had the energy to pursue both of them that might be worthwhile. FYI, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
