[Esug-list] Concurrency Best Practices + Tests

Stéphane Ducasse stephane.ducasse at inria.fr
Sat Sep 7 12:03:19 EDT 2019



> On 7 Sep 2019, at 10:42, Andres Valloud <avalloud at smalltalk.comcastbiz.net> wrote:
> 
> On 9/6/19 23:24 , Stéphane Ducasse wrote:
>> Now it would be nice to read his questions and reply to them and not
>> just tell him “oh do not use concurrency”
> 
> I did not say that at all --- yet you are complaining to me :).

Not to you in particular. To everybody :)

>> The questions are essentially how do we test? how does concurrent
>> programming fit in TDD.
> 
> A sharper and more open minded question might be "what is the best way 
> to build reliable programs using concurrency flavor XYZ?”.

No you see you are interpreting the questions of Noury. 
Again and now this is you: why do you use “sharper” do you imply that the
questions of noury were not sharp. :(


The point of noury is what is the way to approach concurrency when doing TDD.
Now how to build reliable ….

Imagine that DrTDD should be extended to support concurrent programming. 
Then this is the question that we want to get answer. 


Stef


>> Stef
>> 
>>> On 6 Sep 2019, at 02:32, Andres Valloud
>>> <avalloud at smalltalk.comcastbiz.net <mailto:avalloud at smalltalk.comcastbiz.net>
>>> <mailto:avalloud at smalltalk.comcastbiz.net <mailto:avalloud at smalltalk.comcastbiz.net>>> wrote:
>>> 
>>> TL; DR: generally, developing a good sense of what to do ***before
>>> writing a single line of code*** works really well.
>>> 
>>> On 9/4/19 6:32 , N. 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?
>>>> 
>>>> - How to discover need for synchronization/critical sections/ when
>>>> doing TDD?
>>>> 
>>>> - How to write code to avoid dead-locks?
>>>> 
>>>> Thanks for your help,
>>>> Noury
>>>> _______________________________________________
>>>> Esug-list mailing list
>>>> Esug-list at lists.esug.org <mailto:Esug-list at lists.esug.org> <mailto:Esug-list at lists.esug.org <mailto:Esug-list at lists.esug.org>>
>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org <http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org>
>>>> .
>>>> 
>>> 
>>> _______________________________________________
>>> Esug-list mailing list
>>> Esug-list at lists.esug.org <mailto:Esug-list at lists.esug.org> <mailto:Esug-list at lists.esug.org <mailto:Esug-list at lists.esug.org>>
>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>> 
>> --------------------------------------------
>> Stéphane Ducasse
>> http://stephane.ducasse.free.fr
>> http://www.synectique.eu / http://www.pharo.org
>> 03 59 35 87 52
>> Assistant: Julie Jonas
>> FAX 03 59 57 78 50
>> TEL 03 59 35 86 16
>> S. Ducasse - Inria
>> 40, avenue Halley,
>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>> Villeneuve d'Ascq 59650
>> France
>> 
>> 
>> 
>> _______________________________________________
>> Esug-list mailing list
>> Esug-list at lists.esug.org <mailto:Esug-list at lists.esug.org>
>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org <http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org>
>> 
> 
> _______________________________________________
> Esug-list mailing list
> Esug-list at lists.esug.org <mailto:Esug-list at lists.esug.org>
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org <http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org>
--------------------------------------------
Stéphane Ducasse
http://stephane.ducasse.free.fr
http://www.synectique.eu / http://www.pharo.org 
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.esug.org/pipermail/esug-list_lists.esug.org/attachments/20190907/f7744ecc/attachment.html>


More information about the Esug-list mailing list