This shows you the differences between two versions of the page.
can_i_use_dci_in_a_system_with_parallelism_or_asynchrony [2014/03/11 13:08] gazoot |
can_i_use_dci_in_a_system_with_parallelism_or_asynchrony [2015/04/22 21:59] (current) gazoot |
||
---|---|---|---|
Line 4: | Line 4: | ||
DCI provides no explicit facilities for either multithreading or parallelism. Neither does procedural programming or object-oriented programming. Parallel and multithreaded programs nonetheless exist in both procedural and object-oriented programming languages. There is no fundamental reason why they can't exist in a DCI implementation. | DCI provides no explicit facilities for either multithreading or parallelism. Neither does procedural programming or object-oriented programming. Parallel and multithreaded programs nonetheless exist in both procedural and object-oriented programming languages. There is no fundamental reason why they can't exist in a DCI implementation. | ||
- | Regarding function callbacks, lambda expressions or similar asynchronous concepts, there is no hindrance using them in DCI. | + | Regarding function callbacks, continuations or other asynchronous-related concepts, there is no hindrance using them in DCI. For example in web applications, an AJAX request in a RoleMethod can simply use another RoleMethod as callback. |