comp.lang.ada
 help / color / mirror / Atom feed
From: Bojan Bozovic <bozovic.bojan@gmail.com>
Subject: Re: Ada-Oriented GUI
Date: Thu, 22 Mar 2018 04:03:29 -0700 (PDT)
Date: 2018-03-22T04:03:29-07:00	[thread overview]
Message-ID: <fbcf852e-619d-4317-b0c3-dee54f13bafe@googlegroups.com> (raw)
In-Reply-To: <a3709b19-e0db-4da2-be9f-459d8d595941@googlegroups.com>

On Thursday, March 22, 2018 at 11:58:12 AM UTC+1, Bojan Bozovic wrote:
> On Wednesday, March 21, 2018 at 10:51:01 PM UTC+1, Randy Brukardt wrote:
> > "Dan'l Miller" <optikos@verizon.net> wrote in message 
> > news:0a1e0664-f657-4596-9672-5440ebe4caf2@googlegroups.com...
> > ...
> > >I never said that it wouldn't be.  I was saying that rarely is a design
> > >tied to absolutely running nontrivial amounts of non-UI code on the Main 
> > >thread.
> > 
> > Conventional sequential programs ran all of their code (UI and otherwise) on 
> > a single thread.
> > 
> > Requiring the program to be executed around the GUI forces anything 
> > substantial into tasks (threads), with all of the problems that entails 
> > (deadlock/livelock/data races/nondeterminism/required synchronization). 
> > Since Ada already defines the purpose and definition of the environment task 
> > (what you're calling the main thread), requiring using it for the GUI forced 
> > the entire program to be used by the GUI. And the GUI is necessarily a tiny 
> > part of any program that Ada is very appropriate for (that is, programs that 
> > need to be close to the metal and/or verifiable - a GUI itself being neither 
> > of these).
> > 
> > The problem with Claw was that it implicitly dragged those tasking issues 
> > into even sequential programs. Insisting on the GUI being primary makes 
> > those problems even worse. I'd like to see a design where the GUI was truly 
> > secondary (I couldn't figure it out, and I'm done caring personally).
> > 
> >                    Randy.
> 
> But I can imagine cases where gui would need to be verified, together with the OS itself, banking applications and applications used in hospitals to queue patient records come to mind. You're absolutely correct that applications shouldn't be designed around gui, but gui agnostic, but its all in vain if the OS itself isn't verified and nobody will bother (here's an idea, make one verified - as much as possible - posix/unix system for general use, market real time version to embedded developers which traditionally use Ada commercially, verified to DO-178C, ISO 26262 and other standards for automation, transportation and industrial use, use drivers that aren't verified from Linux or some *BSD for general use and have verified drivers for boards used in safety critical domains. There is also a problem with formal methods not being integrated in the language itself, so it's programming in Z or B with tools that generate Ada or C source, where, ideally, such intermediate steps needn't be taken. Whether programmer would use formal methods in a language or not it would depend on actual needs of a project. I havent (yet) read the book on Alphard by Shaw, Wulf and London, but they had that idea to have code verification in a language itself which could be paired with modern theorem provers. In my ideal world there wouldn't be any bugs in code, as the damage done by buggy code and hackers exploiting is enormous already. Verification would make hacking obsolete.

Not queue but handle. English is a distant second language to me, and I hope you will forgive my error.

  reply	other threads:[~2018-03-22 11:03 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-18 13:33 Ada-Oriented GUI Jeffrey R. Carter
2018-03-19  2:03 ` Dan'l Miller
2018-03-19 14:10   ` Dan'l Miller
2018-03-21  9:49     ` Alejandro R. Mosteo
2018-03-21 13:58       ` Dan'l Miller
2018-03-21 18:43         ` briot.emmanuel
2018-03-21 19:17           ` Shark8
2018-03-21 22:40             ` Randy Brukardt
2018-03-21 23:52               ` Shark8
2018-03-22  6:50                 ` briot.emmanuel
2018-03-22 16:56                   ` Shark8
2018-03-23 16:29               ` Shark8
2018-03-23 22:59                 ` Randy Brukardt
2018-03-23 23:43                   ` Mehdi Saada
2018-03-26 22:09                     ` Randy Brukardt
2018-03-27  7:27                       ` Dmitry A. Kazakov
2018-03-27 23:58                         ` Randy Brukardt
2018-03-28  7:09                           ` Dmitry A. Kazakov
2018-03-22 17:34         ` Alejandro R. Mosteo
2018-03-22 17:50           ` Dan'l Miller
2018-03-22 18:58             ` Shark8
2018-03-23 12:06             ` Alejandro R. Mosteo
2018-03-20 16:41 ` Dan'l Miller
2018-03-20 21:34   ` Randy Brukardt
2018-03-21  2:22     ` Dan'l Miller
2018-03-21 21:50       ` Randy Brukardt
2018-03-22  8:45         ` Dmitry A. Kazakov
2018-03-22 10:58         ` Bojan Bozovic
2018-03-22 11:03           ` Bojan Bozovic [this message]
2018-03-21  8:25 ` Dmitry A. Kazakov
2018-03-21 14:30   ` Dan'l Miller
2018-03-21 15:57     ` vincent.diemunsch
2018-03-21 17:33       ` Dan'l Miller
2018-03-21 16:27     ` Dmitry A. Kazakov
2018-03-21 17:04       ` Dan'l Miller
2018-03-21 17:42         ` Dmitry A. Kazakov
2018-03-21 18:19           ` Dan'l Miller
2018-03-21 19:11             ` Simon Wright
2018-03-21 19:51               ` Dan'l Miller
2018-03-21 20:11                 ` Dmitry A. Kazakov
2018-03-21 20:33                   ` Dan'l Miller
2018-03-21 22:16                   ` Dan'l Miller
2018-03-22  9:12                     ` Dmitry A. Kazakov
2018-03-22 14:57                       ` Dan'l Miller
2018-03-22 15:46                         ` Bojan Bozovic
2018-03-22 14:00                     ` Dan'l Miller
2018-03-22 17:29                   ` Alejandro R. Mosteo
2018-03-21 21:58             ` Randy Brukardt
2018-03-26 21:20               ` G. B.
2018-03-21 22:33             ` Randy Brukardt
2018-03-22  1:43               ` Dan'l Miller
2018-03-22 23:47                 ` Randy Brukardt
2018-03-23  2:37                   ` Dan'l Miller
2018-03-23 22:42                     ` Randy Brukardt
2018-03-24  7:47                       ` Simon Wright
2018-03-23  9:05                   ` Jeffrey R. Carter
2018-03-23  9:48                     ` Bojan Bozovic
2018-03-23 10:20                     ` Alejandro R. Mosteo
2018-03-27 18:32                     ` Killing software and certification (was: Ada-Oriented GUI) Alejandro R. Mosteo
2018-03-27 19:25                       ` Killing software and certification Dmitry A. Kazakov
2018-03-28 13:54                         ` Alejandro R. Mosteo
2018-03-28 14:23                           ` Dmitry A. Kazakov
2018-03-28 17:06                             ` Alejandro R. Mosteo
2018-03-28 19:35                               ` Dmitry A. Kazakov
2018-03-28 15:47                           ` Jeffrey R. Carter
2018-03-28 17:02                             ` Dennis Lee Bieber
2018-03-28 17:59                             ` Dan'l Miller
2018-03-27 19:41                       ` Killing software and certification (was: Ada-Oriented GUI) Dan'l Miller
2018-03-28  0:04                         ` Randy Brukardt
2018-03-28  2:27                           ` Dan'l Miller
2018-03-28 13:54                           ` Killing software and certification Alejandro R. Mosteo
2018-03-28  0:21                       ` Killing software and certification (was: Ada-Oriented GUI) Jere
2018-03-28 13:54                         ` Killing software and certification Alejandro R. Mosteo
2018-03-23 12:31                   ` Ada-Oriented GUI Alejandro R. Mosteo
2018-03-23 12:59                     ` Dmitry A. Kazakov
2018-03-23 16:16                       ` Dan'l Miller
2018-03-23 17:18                         ` Dmitry A. Kazakov
2018-03-23 18:31                           ` Dan'l Miller
2018-03-23 20:06                             ` Dmitry A. Kazakov
2018-03-23 20:48                               ` Mehdi Saada
2018-03-23 21:18                                 ` Dmitry A. Kazakov
2018-03-24 11:36                       ` Alejandro R. Mosteo
2018-03-24 13:12                         ` Dmitry A. Kazakov
2018-03-28 14:09                           ` Alejandro R. Mosteo
2018-03-28 15:02                             ` Dmitry A. Kazakov
2018-03-28 18:07                               ` Alejandro R. Mosteo
2018-03-29  7:58                                 ` Dmitry A. Kazakov
2018-04-02 22:13                               ` Robert I. Eachus
2018-04-03  8:31                                 ` Dmitry A. Kazakov
2018-04-03 22:32                                   ` Robert I. Eachus
2018-04-04  7:30                                     ` Dmitry A. Kazakov
2018-03-25 12:57                         ` Jeffrey R. Carter
2018-03-24 16:33                   ` Dan'l Miller
2018-03-26 22:29                     ` Randy Brukardt
2018-03-27  0:15                       ` Dan'l Miller
2018-03-27  6:08                       ` Dennis Lee Bieber
2018-03-27  7:52                         ` Simon Wright
2018-03-27 14:48                           ` Dennis Lee Bieber
2018-04-01 17:37                       ` Robert I. Eachus
2018-03-25 19:19 ` Andrew Shvets
  -- strict thread matches above, loose matches on Subject: below --
2018-03-23 22:48 Randy Brukardt
2018-03-24  7:51 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox