Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-16 Thread Steffen Märcker
I can definitely second all the points. If you want to verify your design formally, Vereofy (http://www.vereofy.de) is another model checker that focuses on communication and coordination. Best, Steffen Am .10.2019, 08:49 Uhr, schrieb Richard O'Keefe : (1) Be very clear in your design about

Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-15 Thread Richard O'Keefe
(1) Be very clear in your design about which objects are shared and which are not. (2) Immutable objects can be shared safely. Mutable ones are much much harder to work with. (3) Lazy initialisation does not work well in concurrent programming, *except* when you are constructing an immutable

Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-15 Thread David Mason
sometime. > > > > Vince > > > > > > From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of  > > Christopher Fuhrman > > Sent: Tuesday, 15 October 2019 11:39 AM > > To: Any question about pharo is welcome > > Subject: Re: [Pharo-use

Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-15 Thread Noury Bouraqadi
; Vince > > > From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org > <mailto:pharo-users-boun...@lists.pharo.org>] On Behalf Of Christopher Fuhrman > Sent: Tuesday, 15 October 2019 11:39 AM > To: Any question about pharo is welcome <mailto:pharo-users@lists.p

Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-14 Thread Vince Refiti
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of Christopher Fuhrman Sent: Tuesday, 15 October 2019 11:39 AM To: Any question about pharo is welcome Subject: Re: [Pharo-users] Concurrency Best Practices + Tests EXTERNAL: Do not click links or open attachments if you do

Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-14 Thread Tim Mackinnon
Noury - I happened to notice in a recent article about the Rust scheduler (it caught my eye) it had a section on concurrent testing and a tool they write called Loom to test all possible permutations and catch errors. This might be an avenue of investigation for your work ? An idea any way. htt

Re: [Pharo-users] Concurrency Best Practices + Tests

2019-09-04 Thread Ben Coman
On Wed, 4 Sep 2019 at 21:32, Noury Bouraqadi wrote: > Hi everyone, > > Can I get your input on the following questions : > > - What are your best practices and recommendations for developing and > testing concurrent software? > I haven't any formalized advice, but just a scattering of thoughts:

[Pharo-users] Concurrency Best Practices + Tests

2019-09-04 Thread Noury Bouraqadi
Hi everyone, Can I get your input on the following questions : - What are your best practices and recommendations for developing and testing concurrent software? - How to discover need for synchronization/critical sections/ when doing TDD? - How to write code to avoid dead-locks? Noury