From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,39579ad87542da0e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.188.98 with SMTP id fz2mr5476728wic.4.1369279396183; Wed, 22 May 2013 20:23:16 -0700 (PDT) Path: fw11ni1136wic.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.139.MISMATCH!xlned.com!feeder7.xlned.com!newsfeed10.multikabel.net!multikabel.net!newsfeed20.multikabel.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Seeking for papers about tagged types vs access to subprograms Date: Wed, 15 May 2013 12:10:49 +0200 Organization: cbb software GmbH Message-ID: <1e9nri1tcuovy.dipjnhgzg9se$.dlg@40tude.net> References: <12gn9wvv1gwfk.10ikfju4rzmnj.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2013-05-15T12:10:49+02:00 List-Id: On Tue, 14 May 2013 16:00:46 -0400, Robert A Duff wrote: > "Dmitry A. Kazakov" writes: > >> IMO, RSX and VMS were precursors of type-safe (one could say an OO) file >> system which never came to life. > > I'd love to see a type-safe file system. I've thought a lot about > how to design such a thing, and I don't think it's easy. Ada types > don't work, because they vanish when the program exits, whereas files > out-live programs. They would continue to live in the OS. Files could be viewed as persistent objects. I agree that in existing Ada would be difficult, because it does not properly separate representation, which you would like to be able to change as the OS evolves. E.g. record members should be operations etc. Then Ada lacks protection against intentional misuse. It should allow making private stuff memory protected. There are general issues with typed OS interfaces. E.g. when putting stuff into a DLL, it does not work well unless drastically limited to very primitive set of subprograms and basic types like int and char *. I think that CS in general is not ready for this, as any innovation in the area of OS design was trumped down by Linux and Windows for decades. The focus was shifted to services and garbage protocols. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de