News for hackers. Stuff that matters.
Re:Why Does Windows Have Terrible Battery Life? by nbevans on Monday October 21, 2013 @09:01AM (#6585150)
I would argue that the Windows NT kernel is both newer and more maintainable for Microsoft than OSX is for Apple. At the core of OSX is a ton of legacy Unix monolith written in the 70s that I suspect very few in Apple dare ever touch.

This can be seen by the fact that Microsoft has never shied away from improving their OS kernel. Recent stand-out improvements such as ASLR, UAC, TRIM support for SSDs, timer coalescing etc. These are all things that OSX took years to get after Windows got them.

Re:Why Does Windows Have Terrible Battery Life? by snowwrestler on Monday October 21, 2013 @10:38AM (#6585831)
> At the core of OSX is a ton of legacy Unix monolith written in the 70s that I suspect very few in Apple dare ever touch.

The Darwin kernel is regularly updated; for example Apple replaced Unix init and cron with launchd in 2005, achieved full POSIX compliance in 2007, and went to full 64-bit in 2009.

http://en.wikipedia.org/wiki/Darwin_%28operating_system%29

Re:Why Does Windows Have Terrible Battery Life? by KMag on Tuesday October 22, 2013 @08:56AM (#6591491)
I admit I'm not super familiar with Darwin internals, but on most *NIX systems, init and cron are userspace programs. Does launchd need some special syscalls?
Re:Why Does Windows Have Terrible Battery Life? by twoodfin on Monday October 21, 2013 @10:36AM (#6585815)
At the core of OSX is a ton of legacy Unix monolith written in the 70s that I suspect very few in Apple dare ever touch.

I don't think this is true at all. Sure, there's always been a BSD-style environment for compatibility, but Apple has never been shy about ripping and replacing legacy Unix-y infrastructure (see: launchd) or about adding new, "deep" APIs close to the plumbing (see: libdispatch).

Re:Why Does Windows Have Terrible Battery Life? by vor_ on Monday October 21, 2013 @02:24PM (#6587286)
Darwin wasn't written in the 70s, and the foundations are regularly updated. The source code is publicly available. Your speculation that few in Apple dare touch it, as if it's some indecipherable monstrosity, is nonsense.
Re:Why Does Windows Have Terrible Battery Life? by nbevans on Monday October 21, 2013 @03:25PM (#6587657)
Why is it so slow to add new features and technologies then? It took them, what, like 3 years? To add TRIM support for SSDs? Their first attempt at ASLR was woeful and badly broken and even that was a year after Vista got it.
Re:Why Does Windows Have Terrible Battery Life? by vor_ on Monday October 21, 2013 @08:44PM (#6589150)
They're not slow to add features. Some may arrive after a competitor, but every release of OS X sees low-level feature additions and updates. They're documented by Siracusa's mega-reviews as well as the OS X release notes. Nearly Apple's entire product line has been dependent on the flexibility of that foundation, from the PowerPC Macs to the Intel transition to the ARM squeeze, not to mention the recent ARM64 port. So, I don't understand why you think Apple can't or won't work on the foundation or why you believe it's a monolithic relic written in the 1970s, unless you're just referencing some vague bias against Unix in general.
Re:Why Does Windows Have Terrible Battery Life? by nbevans on Tuesday October 22, 2013 @08:31AM (#6591357)
You're really digging in on this aren't you? I wrote very clearly that it was only a suspicion clearly in an attempt to explain why they are so much slower at improving their OS kernel than Microsoft is. So any time somebody makes a suspicion you'll arrive and interpret it as though it was a statement of fact? Noted.

Meanwhile, you make woolly justifications of their slowness by making contradictions like this: "They're not slow to add features. Some may arrive after a competitor" Comments like these are not helpful and do not add anything to the conversation.

They're slow. The reasons why this is the case is still not entirely clear. But even OSX fans get frustrated sometimes at how slow they are to add features that other operating systems got years before. The most vocal recent one I can think of was probably the TRIM support for SSDs.

[deleted]
Re:Why Does Windows Have Terrible Battery Life? by fetbaffe on Monday October 21, 2013 @09:55AM (#6585512)
Windows UAC is the best I have used on any platform. What I can remember it was not that good on OSX. Not even Ubuntu gets this right. However the permission system on Windows is a hassle.

I always have a normal user account and an seperate admin account. The normal account does not have sudo permission. This setup on Ubuntu and what I can remember on OSX is not hassle free because a lot of installers and apps assumes normal user has some sort of sudo.

Unfortunately Windows 8.1 dumped UAC in the toilet when forcing the Windows 8.1 update to be downloaded from the store, which made your local admin account useless.

Re:Why Does Windows Have Terrible Battery Life? by aroch on Monday October 21, 2013 @10:57AM (#6585945)
>This setup on Ubuntu and what I can remember on OSX is not hassle free because a lot of installers and apps assumes normal user has some sort of sudo.

On OSX you get an elevated privileges login prompt for any installer needing to write to / and even for many write protected folders inside your own homedir. You can grant rights as any user you want simply by entering that username (it's automatically populated with the current user)

Re:Why Does Windows Have Terrible Battery Life? by jasomill on Monday October 21, 2013 @02:26PM (#6587302)
This is true for properly written installers and apps, but since not everything is properly written, a related problem does crop up from time to time: an installer or app assumes the user has permissions to something that the "admin" group usually has access to, and therefore doesn't bother using the correct API to elevate. Even here, though, in the typical cases of installers and updaters, there are easy workarounds that at least don't require logging out or giving additional rights to the logged-in user: fast user switch or login(1) to an admin user, then retry from there.

The only thing Windows does differently here is that it provides a silent, non-admin workaround (filesystem and registry virtualization) for buggy applications, which works, but which can be problematic in other ways. Most notably, while OS-level workarounds are a clear win for older and otherwise unsupported software, they reduce motivation for developers to fix bugs in current software papered over by Windows' workarounds.

Re:Why Does Windows Have Terrible Battery Life? by aroch on Monday October 21, 2013 @03:00PM (#6587502)
I don't think I've run into an installer that doesn't properly elevate since 2005... Most just shove things into .pkg with PackageMaker and everything's correct
Re:Why Does Windows Have Terrible Battery Life? by hannibal5 on Monday October 21, 2013 @09:56AM (#6585520)
For mobile applications Windows has been constantly behind Android and iOS. One part of Nokia's problems was that MS could not deliver drivers for new hardware. For example, Nokia could not move to high resolution screens because Windows could not handle them. Being constantly 6-12 months behind because software is not up to dates was devastating.
Re:Why Does Windows Have Terrible Battery Life? by nbevans on Monday October 21, 2013 @10:13AM (#6585646)
Stop comparing Windows, a desktop OS, to mobile-first optimised OSes like Android and iOS. Even Windows RT is not technically mobile-first optimised like those two.

Windows Phone 8 vs Android/iOS would be a fair comparison. Because WP8 has undergone the same treatment and has been optimised for high battery efficiencies whilst still retaining the Windows NT kernel at its core.

WP8 has always had support for high-resolution displays and Nokia et al have not had issues with it. WP7.x was a different story but that was a different OS kernel (WinCE not NT). During this time Microsoft was busy creating a minimised edition of the Win8 kernel that would be suitable for use on a smartphone, much like the work Apple did to OSX in order to create iOS.

Re:Why Does Windows Have Terrible Battery Life? by bal00ns on Monday October 21, 2013 @11:48AM (#6586267)
If Microsoft markets Windows as a mobile platform I'll compare it to the existing competition. Sure, it might not be fair, but ultimately I'm looking for results, not fairness.
Re:Why Does Windows Have Terrible Battery Life? by nbevans on Monday October 21, 2013 @12:15PM (#6586459)
http://windows.microsoft.com/en-gb/windows-8/meet

Search in a page with plenty of marketing blurb for "mobile". Zero results.

So since they aren't marketing it as how you perceive perhaps you should cut them some slack.

Re:Why Does Windows Have Terrible Battery Life? by briandh on Monday October 21, 2013 @12:59PM (#6586753)
They market Windows 8 tablets side-by-side with the iPad.
Re:Why Does Windows Have Terrible Battery Life? by dsr_ on Monday October 21, 2013 @09:05AM (#6585188)
And of course the smashing success of WinFS.
Re:Why Does Windows Have Terrible Battery Life? by nbevans on Monday October 21, 2013 @10:06AM (#6585590)
I don't really think that WinFS was a core OS kernel feature. It was built on top of SQL Server, so I doubt it even had a kernel-mode component either.

ReFS would be a better example. And that's just another example of how Microsoft is keeping their core technology up to date. Apple meanwhile is still using HFS+ which even Linus Torvalds called out as being utterly crap.

Re:Why Does Windows Have Terrible Battery Life? by theandrewbailey on Monday October 21, 2013 @10:26AM (#6585725)
What doesn't Tovalds call out as being utterly crap?