News for hackers. Stuff that matters.
Re:Ask HN: What do you want to tell Microsoft? by pierrefar on Friday September 17, 2010 @06:22AM (#1700629)
I would start with a version of Windows that is not backward compatible with really old APIs (i.e. removing a lot the old cruft) and making the remaining OS be super fast and have low memory usage.

I ask for this because although computers are getting faster all the time, booting and using Windows these days is still an exercise in patience, even on my high end laptop.

Re:Ask HN: What do you want to tell Microsoft? by makecheck on Friday September 17, 2010 @06:53AM (#1700677)
I would add specifically that virtualization is overdue. Apple's strategy back in the day was pretty good: sandbox the entire old OS so that users can still get most things to "just work", but then support only a subset of APIs on the new OS. Apple also kept the old OS as-is (i.e. ugly), while using all the nice new technologies and look-and-feel as bait to encourage developers to move.
Re:Ask HN: What do you want to tell Microsoft? by pierrefar on Friday September 17, 2010 @06:59AM (#1700687)
Yes very good point. Build a good foundation OS and then virtualise for backwards compatibility.

I think .net is a good bait for such a new system. From the little interaction I've had with C# devs, they seem to like it.

Re:Ask HN: What do you want to tell Microsoft? by limmeau on Friday September 17, 2010 @07:26AM (#1700727)
There is already the XP mode in Windows 7, which boots a virtualized XP for compatibility.
Re:Ask HN: What do you want to tell Microsoft? by pierrefar on Friday September 17, 2010 @08:16AM (#1700842)
Thanks. Didn't know that.

Hopefuly this means that implementing the idea I'm talking about is not too much of a stretch from the current code.

Re:Ask HN: What do you want to tell Microsoft? by petewailes on Friday September 17, 2010 @06:25AM (#1700638)
What would you consider a maximum acceptable boot time?
Re:Ask HN: What do you want to tell Microsoft? by pierrefar on Friday September 17, 2010 @06:33AM (#1700646)
As low as possible, and ideally virtually instantaneous. From a cold boot, I'd put a cap of 10-15 seconds tops.
Re:Ask HN: What do you want to tell Microsoft? by Yaggo on Friday September 17, 2010 @07:31AM (#1700737)
Why would anyone reboot a system, instead of putting it to sleep¹? (Except when restart is required by an upgrade.)

[1] Powered-off-and-ram-image-stored-to-disk type of sleep.

Re:Ask HN: What do you want to tell Microsoft? by stuhacking on Friday September 17, 2010 @08:29AM (#1700871)
My work laptop (Vista `Enterprise') takes longer to wake from hibernate than it does to cold boot.
Re:Ask HN: What do you want to tell Microsoft? by AndrewDucker on Friday September 17, 2010 @09:24AM (#1701031)
But that's hibernate - Sleep takes less than 2 seconds to recover from for me.
Re:Ask HN: What do you want to tell Microsoft? by Yaggo on Friday September 17, 2010 @11:41AM (#1701510)
I don't know how Apple does it, but both my iMac and MacBook wake up in a second. I guess they keep the ram powered up and only save it to disk (hibernate) when running out of battery (or after certain amount of hours?). Anyway, they are totally silent and consume very little energy when sleeping. That's how it should be.

I love how the difference between sleep and hibernate is abstracted away in Apple's implementation.

Re:Ask HN: What do you want to tell Microsoft? by cgomez on Friday September 17, 2010 @03:47PM (#1702567)
Yep, Apple laptops keep the RAM powered up until the battery level dips down to 20%, then it writes the contents to disk when the machine sleeps. It's called Safesleep and you can tweak this if you'd like by using a utility called Smartsleep.
Re:Ask HN: What do you want to tell Microsoft? by Yaggo on Monday September 20, 2010 @08:09AM (#1708490)
Actually, according to the following sources, the content is written to disk _before_ entering sleep. This can be done very quickly because most of the data is already in swap file.

http://support.apple.com/kb/HT1757?viewlocale=en_US http://www.macworld.com/article/53460/2006/10/safesleep.html http://moishelettvin.blogspot.com/2006/11/windows-shutdown-c...

Re:Ask HN: What do you want to tell Microsoft? by stuhacking on Friday September 17, 2010 @11:41AM (#1701511)
The OP specifically mentioned saving RAM to disk. I don't trust the battery in this work laptop to hold the state in RAM overnight.