Can a simple a==b 'hang' in and endless loop?

Grant Edwards grante at visi.com
Thu Jan 19 12:42:40 EST 2006


On 2006-01-19, Fredrik Lundh <fredrik at pythonware.com> wrote:

>> > It is precisely this power that makes C such a dangerous
>> > language to program in -- it's what makes it so easy to crash
>> > your program, any other program running on the same machine,
>>
>> Nonsense.  Under Windows 3.0 that may be true, but on any real
>> OS, you can't "crash any other program running on the same
>> machien" in C, assembly, Python, or Lisp.
>
> given that it's trivial to create fork bombs and memory monsters in all
> those languages, I think you might need to define the term "real OS".
>
> (or do you run all your programs in a virtual sandbox ?)

I guess I never called that sort of DOS attack "crashing"
another program.  If that's the sort of think he's talking
about, those are just as trivial to do do in Python as they are
in C.

-- 
Grant Edwards                   grante             Yow!  Is a tattoo
                                  at               real, like a curb or a
                               visi.com            battleship? Or are we
                                                   suffering in Safeway?



More information about the Python-list mailing list