You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This part of the RM and language in general, regardless of the material, book or otherwise, is very, very terse and technical, and very challenging for non-native english speakers, let alone those with those with a poor imagination like me. Not that it's ill-defined, but concurrency naturally is complex.
What I found lacking were diagrams (we need less blocks of text and more graphics !) and simple use cases illustrating, among other things, the different queuing and tasking policies and other pragma and facilities related to concurrency and priorities, including the latest Ada 2012 and Ada 2022 typically not included in older manuals. Yes the Barnes covers it as it covers everything, but we are not meant to learn Ada from it.
This would make this part of Ada more or much more approachable, I think.
The text was updated successfully, but these errors were encountered:
Thanks for reaching out. In my mind the quickest wins would be:
Adding sequence diagrams for task communication patterns
Including real-world analogies for each concept
Creating a visual task lifecycle diagram
Adding intermediate examples between the basic and advanced concepts (simple producer/consumer patterns, basic resource management, common synchronization patterns)
Implement a solution to the problem of the Readers and Writers using protected objects. In this problem, exclusive write-access to a resource is required although multiple tasks can have read-only access. This is trivial to implement using a protected object (a function is used for reading and a procedure for writing) as long as there are no requirements for preventing starvation. State the requirement that your solution fulfils.
Yypically, I do know what Renders and Writers is about, I read the damn chapter well enough times, but this sounds like having to come up with both a non-obvious problem (a specific case with requirements) and the solution and I don't have enough imagination.
One reason might be, we are meant to eat up a whole other, very theoretical book on concurrency. STEEP. Material like yours would come in handy to kick start learners, self-taught ones in particular, then making learning from primary sources (RM and Barnes') much easier.
Knowing how Ada is barely taught at all anymore nowaday in Unis, this is vital.
This part of the RM and language in general, regardless of the material, book or otherwise, is very, very terse and technical, and very challenging for non-native english speakers, let alone those with those with a poor imagination like me. Not that it's ill-defined, but concurrency naturally is complex.
What I found lacking were diagrams (we need less blocks of text and more graphics !) and simple use cases illustrating, among other things, the different queuing and tasking policies and other pragma and facilities related to concurrency and priorities, including the latest Ada 2012 and Ada 2022 typically not included in older manuals. Yes the Barnes covers it as it covers everything, but we are not meant to learn Ada from it.
This would make this part of Ada more or much more approachable, I think.
The text was updated successfully, but these errors were encountered: