On 4/13/05, Tony Weeg <[EMAIL PROTECTED]> wrote: > found a link from christians blog, where it appears some > pondering on this topic happened... > > http://www.markme.com/cantrell/archives/003363.cfm
That was quite a while ago and really highlighted, in my mind, that a lot of people don't really 'get' multi-threaded programming (I did Occam and CSP back in the day and it was a pretty serious mind shift from regular programming - I also wrote a compiler that targeted farms of Inmos Transputers to allow complex calculations to be performed in parallel). Much of what was being suggested in that thread on Christian's blog was way too low-level to be useful to most CF programmers, in my opinion. Even the asynchronous CFML gateway is too low-level as it stands for the sort of things people claim they want to do with multi-threading. Java 5 has a fairly nice concurrency library based on the concept of "futures". When I was at SD West last month, there was also a talk on generic threading in C++ using a similar concept. I think that would be a good approach for CF, using a concurrency library that wraps the CFML gateway. I intend to build such a library (and make it freely available of course) - as soon as I get a bit of spare time. The basic concept would be a generic gateway CFC that managed invocation of user-specified CFCs / methods and a generic "future" CFC that would be used inline in your CFML code to spawn concurrent threads and to join the results back together. I'm planning to have a proof of concept up and running within a week. Let me know off-list if you think you'd be interested in beta testing it when I have it ready. -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202799 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

