Java > Scala

Somedude lovelydear at mailmetrash.com
Fri Dec 2 14:52:19 PST 2011


Le 02/12/2011 23:44, Nick Sabalausky a écrit :
> "Somedude" <lovelydear at mailmetrash.com> wrote in message 
> news:jbbk0c$2ug3$1 at digitalmars.com...
>> Le 02/12/2011 23:27, Timon Gehr a écrit :
>>> On 12/02/2011 10:50 PM, Somedude wrote:
>>>> Le 02/12/2011 22:44, Timon Gehr a écrit :
>>>>> It feels like 5 minutes if you are accustomed to open the text editor
>>>>> and start working.
>>>>>
>>>>> But I am sure there is something to IDE's, as many programmers seem to
>>>>> like them.
>>>>
>>>> The thing is, when you work in Java, you need 2Gb of RAM to be
>>>> comfortable. Then you simply never close your IDE, so that's really not
>>>> an issue at all (we don't turn off the PC at work).
>>>
>>> So you waste even more energy? How is that not an issue?
>>
>> Even with a simple text editor, I wouldn't turn it off, because I don't
>> feel like having to reopen every single window that was open the day
>> before each morning. At best, I would put it in "hibernate" mode (or
>> whatever that's called), i.e the RAM is still alive while the rest of
>> the computer is off, so I don't have to reboot. That's what I usually do
>> at home.
>> I know it's not a very good habit, yet I am one of the most conscious at
>> work. Some others don't even bother to turn off the screen.
> 
> Hibernate saves the RAM (and presumably other hardware state) to HDD and 
> then turns the machine entirely off, RAM and all. Then, when you turn it 
> back on, it just restores it all from the disk, which is much faster than 
> letting everything go through the usual startup routines. It is pretty 
> nifty. I don't use it personally because I've had problems with it (possibly 
> b/c I'm on XP), but it is pretty clever.
> 
> 
I'm on XP SP3 too and it works.

Maybe it's not Hibernate I use because it doesn't save on disk: it's
much faster than writing (or reading) 2 Gb on disk, and if I unplug, I
need to reboot and it says that there windows wasn't turned off
properly. I'm pretty certain the RAM is still on, and the rest of the
computer is off. When I turn it on, it's ready in matters of 2 or 3 seconds.


More information about the Digitalmars-d mailing list