Re: How to develop a random number generation device



On Sat, 15 Sep 2007 07:14:28 -0700, MooseFET <kensmith@xxxxxxxxx>
wrote:

On Sep 14, 8:54 pm, Nobody <nob...@xxxxxxxxxxx> wrote:
On Fri, 14 Sep 2007 22:27:47 -0400, krw wrote:
Nothing the OS does can prevent machine code from overrunning a
buffer.

Absolute nonsense. Perhaps buffer overruns can't be prevented
using C++, but they *can* be prevented.

Not by the *OS*.

Sure it can. Not in Windows and not with C++, perhaps. An OS can
surely make it impossible to write safe code and a real OS is
required to make safe code possible.

That doesn't address the issue, which was whether the OS can prevent
buffer overruns.

Of course it does.

Please explain how "An OS can surely make it impossible to write safe
code and a real OS is required to make safe code possible" addresses the
question of whether the OS can prevent buffer overruns.


You seem to be confusing "Windows" and an "OS".

Clearly the design of Windows can never be fixed; it was bungled from
Day 1. I wonder what will be next?

I like the idea of a multicore CPU that has a processor per task, with
no context switching at all. One CPU would do nothing but manage the
system; it would be the "OS". Other CPUs would run known-secure device
drivers and file systems. Finally, some mix of low-power and
high-performance CPUs would be assigned to user tasks.

Microsoft's approach to multicore is incompatible with this
architecture. In a few years we'll have, say, 1024 processors on a
chip, and something new will be required to manage them. It will be a
thousand times simpler and more reliable than Windows.

John



.



Relevant Pages

  • Re: How to develop a random number generation device
    ... question of whether the OS can prevent buffer overruns. ... to write safe code" or "a real OS is required to make safe code possible". ... I'm not talking about process isolation. ...
    (sci.electronics.design)
  • Re: How to develop a random number generation device
    ... Perhaps buffer overruns can't be prevented using ... required to make safe code possible. ... Actually, with the *nix permissions system, that's pretty much ...
    (sci.electronics.design)
  • Re: How to develop a random number generation device
    ... Perhaps buffer overruns can't be ... required to make safe code possible. ... A buffer overrun is where a process trashes its own memory. ... The links to extended explanatory data seem to be good as well. ...
    (sci.electronics.design)
  • Re: How to develop a random number generation device
    ... question of whether the OS can prevent buffer overruns. ... to write safe code" or "a real OS is required to make safe code possible". ... Requiring the use of a higher-level ... language simply means that a programmer has to make some effort to get ...
    (sci.electronics.design)
  • Re: How to develop a random number generation device
    ... question of whether the OS can prevent buffer overruns. ... to write safe code" or "a real OS is required to make safe code possible". ... Requiring the use of a higher-level ... language simply means that a programmer has to make some effort to get ...
    (sci.electronics.design)