luck/life/kidkboom
Грязные башмаки располагают к осмотрительности в выборе дороги. /*/ Muddy boots choose their roads with wisdom. ;
You're ruining my perception of the reality right now, you know that?
Well, I might be a bit one-sided here in my vision of the current world's state, but I learn a lot from the history. Every great power develops in a 'life-cycle'. It raises, it becomes powerful and then it collapses. I've never learned things to be otherwise throughout the whole history of mankind. And it's not some foreign or competitive power that usually brings down empires. It's their own population. When someone starts thinking that nothing bad can happen he's in trouble. I think that the modern USA has been living in this 'state of mind' for quite a long time already. No, I wish you all the luck in the world, but I couldn't think of anything that can help US to continue its way of living. Changes are imminent, it's just a matter of time.
Send me a PM if you need me.
Speaking as a programmer, you don't think everything is always going to be ok, but you don't care about it too much as long as you know there are exception handlers in your code for different kinds of sh*t, and if something goes wrong they'll manage to handle the situation. So, the only thing you should care about is your exception handlers being up to date and able to handle the kinds of sh*t they're meant to.
Honestly speaking, there are not many KINDS of sh*t that could happen to a country, and I think the US "exception handlers" are working well for now.
I'm a bit sorry for this parallel, but I assumed you were gonna get me right.
I think, when the app attempts to allocate another portion of memory, and runs across lack of free memory, the exception handler for this kind of thing will just run another process, copy the image into its address space, copy some critical information from the address space of the process having trouble, and the whole thing will start again. If there are some problems with system resources in general, the handler can always terminate a few other processes to get the resources it needs. It does have all the required privileges to do that.
Offtopic mode
Some questions:
1) As a programmer, do YOU always include exception handlers for the 'out of memory' error? Do you make them so sophisticated that they even try to terminate other processes? Do you handle 'access denied' errors within your 'out of memory' exception handler when it tries to terminate something?And how terminating other processes will help you in getting more virtual address space for your particular application?
2) Ever heard of interlocked (cross-referenced) resources with no accessible valid handlers?
Send me a PM if you need me.
1. Speaking about me, I don't ALWAYS do that. But technically it's absolutely real, and not as difficult and sophisticated as you may think. "Access denied" can be handled locally, without an exception handler for that; in addition, ever heard of such things as OS kernel, drivers, R0? If so, you must not have any questions on the further.
2. Specify the kind of resources.
LOLOL i read this thread from work, was gonna go home and type.. pretty much what you said =))
The ridiculous foreign debt is like a giant memory leak, and so far we've already dished out all RAM access and most of the virtual memory ... =\ Where do we get 2/3x our countries' worth to pay back to foreign debtors? <checks wallet>![]()
luck/life/kidkboom
Грязные башмаки располагают к осмотрительности в выборе дороги. /*/ Muddy boots choose their roads with wisdom. ;
Russian Lessons | Russian Tests and Quizzes | Russian Vocabulary |