From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: is there a version of unix written in Ada Date: Thu, 01 Oct 2020 16:12:13 -0700 Organization: A noiseless patient Spider Message-ID: <87ft6xlewi.fsf@nightsong.com> References: <00cd3aaa-d518-43a2-b321-58d6fae70aebo@googlegroups.com> <57eb7a65-51ea-4624-b9dc-9c4dda0fee59n@googlegroups.com> <5f70fd3b$0$13541$426a74cc@news.free.fr> <87wo0d3iac.fsf@nightsong.com> <87sgb02l7b.fsf@nightsong.com> <875z7vyy1u.fsf@nightsong.com> <87wo0bkns3.fsf@nightsong.com> <87sgayl6o0.fsf@nightsong.com> <87o8lml1md.fsf@nightsong.com> <5f7627bd$0$5863$426a74cc@news.free.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="48b6a69cd5a7821c692db7c8bfac35a1"; logging-data="29436"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pTNuERSPa6w0XmBTuUtgs" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:+E3nyHTNImeAju1NCDVefs0uWW4= sha1:EHWdBfLLo7dmVG9t/dl2cJYlarM= Xref: reader02.eternal-september.org comp.lang.ada:60376 List-Id: DrPi <314@drpi.fr> writes: > Address translation is also a security feature. One process can't > access data of another process. What about this with Singularity ? The compiler statically verifies that you can't access data of other processes. All the code is written in a dialect of C# that is analagous to SPARK/Ada, that does the verification. Also, it's not a consumer operating system that runs all kinds of hostile applications, browsers, etc. > TLB tables are reloaded when switching from one process to another. If those tables are not there in the first place, there is nothing to reload. > I don't get the point on translation delay on every memory access > since the address translation is done by efficient specialized > hardware. It still adds a delay, especially in the case of a cache miss. > Have you had a look at Ressource manager, memory tab in Windows 10 ? This isn't about Windows. If your application needs data on disk, it's better to manage that yourself rather than leave it up to the OS, which knows nothing about your application's behaviour. That's in any rate similar to the argument that Ada users make against garbage collection. OTOH, it looks like Singularity is garbage collected, so there's that.