boomer dad
The Worst Things For Sale is Drew's blog. It updates every day. Subscribe to the Worst Things For Sale RSS!
Started out as Friday but became a Monday and thus the weekend became confusing. I baked a flourless cake and wept over a Sunday dinner that felt more like Tuesday’s leftovers, like the whole leftover menu from the whole week. Why do we bother naming the days anyway — it reminds us we once had […]
No doubt — this is a crazy, scary, sad, worrying time for everyone. Most of us are sheltering in place and trying our best to adjust to a new reality. While we are not performing heroic deeds like all the frontline healthcare workers and first responders, grocery store employees and delivery drivers, we can all … Continue reading nine cool things on a tuesday (stay home, save lives edition)
One thing that astonishes many foreigners visiting Malta for a shorter or longer period of time is all the fireworks going on both day and nights. What many visitors to the islands don’t know is that people die or are seriously wounded every year due to accidents with manufacturing fireworks. About a year ago almost a whole family was tragically wiped out in an explosion in connection with manufacturing fireworks. An independent inquiry has warned that Malta would experience at least one large-scale fatal fireworks accident in this year or the next. An inquiry for public consultation is opened and still pending. This week a new accident took place where three people were hurt, one of them is in a critical condition, in connection with making fireworks. It should be said that the responsible people were licensed to make fireworks. It seems like it is far too easy to obtain permission to make fireworks without very strict rules about where a factory might be placed and what chemicals should be allowed.
Safe Dynamic Memory Management in Ada and SPARK by Maroua Maalej, Tucker Taft, Yannick Moy:
Handling memory in a correct and efficient way is a step toward safer, less complex, and higher performing software-intensive systems. However, languages used for critical software development such as Ada, which supports formal verification with its SPARK subset, face challenges regarding any use of pointers due to potential pointer aliasing. In this work, we introduce an extension to the Ada language, and to its SPARK subset, to provide pointer types (“access types” in Ada) that provide provably safe, automatic storage management without any asynchronous garbage collection, and without explicit deallocation by the user. Because the mechanism for these safe pointers relies on strict control of aliasing, it can be used in the SPARK subset for formal verification, including both information flow analysis and proof of safety and correctness properties. In this paper, we present this proposal (which has been submitted for inclusion in the next version of Ada), and explain how we are able to incorporate these pointers into formal analyses
For the systems programmers among you, you might be interested in some new developments in Ada where they propose to add ownership types to Ada's pointer/access types, to improve the flexibility of the programs that can be written and whose safety can be automatically verified. The automated satisfiability of these safety properties is a key goal of the SPARK Ada subset.