Re: How to develop a random number generation device
- From: "Rich Grise, Plainclothes Hippie" <eatmyshorts@xxxxxxxxxxxxxxx>
- Date: Fri, 14 Sep 2007 19:47:06 GMT
On Fri, 14 Sep 2007 11:47:32 -0700, John Larkin wrote:
On Fri, 14 Sep 2007 04:13:48 +0100, Nobody <nobody@xxxxxxxxxxx> wrote:
On Thu, 13 Sep 2007 19:06:18 -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.
I can't prevent them, but it could and should trap them and abort the
offending task, with no possibility of subsequent damage.
Under a decent OS, bad code should only hurt itself.
Actually, with the *nix permissions system, that's pretty much
how it works anyway. The user can only write to subdirectories where
he has write permission, which saves disk files; as far as allocating
memory, it seems like you'd need either a hardware memory manager, or
check every freaking instruction - hey, maybe that's why they need 3 GHz
processors to add 2 + 2 these days! ;-)
Cheers!
Rich
.
- References:
- Re: How to develop a random number generation device
- From: John Devereux
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Devereux
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- From: krw
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- From: krw
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- Prev by Date: Re: Piezo drive?
- Next by Date: Re: Stupid Job Interview Questions
- Previous by thread: Re: How to develop a random number generation device
- Next by thread: Re: How to develop a random number generation device
- Index(es):
Relevant Pages
|
Loading