Live data from Hacker News

Google’s not-so-secret new OS

techspecs.blog

531–540 of 561 posts

Re: Google’s not-so-secret new OS

#531
post #182

Earlier quoted context omitted.

Phones and desktops are completely different form factors with different constraints. Running an Android app on Windows would be a horrible experience.

I don't know. I think many "tablet" apps would work fine on the Surface 4 (if they got scaling right). I still think touch screens is the future - also on desktops (there either in tablet form or "drafting table" form). I think editors more like acme and less like vim might rise up. Along with new input types like the power bar and surface wheel.

What does acme do to help on touch screens? I while ago I toyed around creating a vim keyboard for android, instead of having a virtual keyboard popup it show commands/motions instead. I abandoned the idea, but if text edition on a touch screen ever becomes feasible then I think the virtual keyboard has to go.

Re: Google’s not-so-secret new OS

#532
post #160

Earlier quoted context omitted.

Phones and desktops are completely different form factors with different constraints. Running an Android app on Windows would be a horrible experience.

I'm not saying that the app would have exactly the same UI on a phone and a desktop computer - the developer is free to customise the UI for the device.

At that point it's less complicated to have multiple apps than a single all form factors one.

Re: Google’s not-so-secret new OS

#533

Earlier quoted context omitted.

"Linux's lack of a driver ABI." RedHat Enterprise Linux actually solved this with their kABI. This allows vendors to ship binary driver RPMs for kernels in the same RHEL major version (eg, RHEL 4, RHEL 5, etc). However, this entails a major effort on the part of RHEL, as it forces them to carefully backport improvements from upstream in a slow and careful way, so as to avoid breaking binary compatibility. The RHEL kA…

So, taking a tangent here... If you fork, and that includes backporting security fixes upstream won't, you need a new version. Obviously, you can't just take .28, apply a fix, and call it .29... But you have to do something.. ideally something that indicates binary ABI compat with upstream .28, (so software vendors can just decide, your .28, you get .28 features. Maybe something like SemVer needs a model for versioni…

It has been several years, but I'm sure there was a version. However, part of the problem was that it wasn't just RHEL that backported stuff. Other distros (like SLES) did similar things. In the end, it was just easier to do a configure-ish script to see if a function foo() took 3 or 4 arguments than it was track N-different version numbers.

And you're right, if you always build on the base version, then you have greater compat. However, you also loose out on the backported features, many of which were important for performance.

Re: Google’s not-so-secret new OS

#534
post #48

Earlier quoted context omitted.

As much as I'd like to see it, I don't think Windows will ever quite get there. Not, at least, in any recognisable form. They value backwards-compatibility way to much (which is to be commended in some ways, but won't save them here). While they seem to have everything lined up to be able to turn it into something, developers seem too reluctant to get on-board too. Apple will have to go through all of the growing pai…

> developers seem too reluctant to get on-board too Might be limited to your specific environment though. As a counter-example among the people I know there are far more .NET devs than the total sum of iOS/Mac/Android devs.

I'm not referring to .NET. I know tonnes of people getting on board to .NET train. I'm referring to the UWP apps. Nearly no one seems to be getting on board that.

Re: Google’s not-so-secret new OS

#535
post #415
post #255

Earlier quoted context omitted.

I wonder how much of the performance issues are related to Android being Java vs iOS being C? The old Blackberry OS was also implemented in Java and I remember well the spinning hourglass and the odd pauses in its UI.

Not much, modern devices and modern Android runtime is fast enough that GC and Java aren't a problem. There's bunch of other issues around though, mostly coming from the fact that devices use problematic and slow I/O controllers, apps do blocking I/O and OEMs add bloat and misconfigure behaviour of the OS to prioritize their services at the expense of apps you're actually using. But bad I/O is the killer (e.g. fun th…

Wow, this was a major TIL for me.

I don't read about Android and iOS [hardware] nearly as much as I'd like to, and HN doesn't seem to generally cover the subject too well. What are some sources you could recommend I read to stay updated?

Re: Google’s not-so-secret new OS

#536
post #423
post #363

Earlier quoted context omitted.

> There's one design decision in Linux that makes this slightly harder than it needs to be in this situation: Linux's lack of a driver ABI. This is just an excuse. The reality is the manufacturers still have the mentality that once something is sold their responsibility ends. We see the exact same results on certain OS's that do have stable ABI's. You've probably made a transaction recently on a device that uses an o…

> The reality is the manufacturers still have the mentality that once something is sold their responsibility ends. Not my experience. I have three hardware devices that worked on Windows, Linux and FreeBSD 5-10 years ago, and now only work on Windows and FreeBSD. (Amusingly enough one of them is a windows CE device)

Isn't that another example of manufacturers not supporting their hardware? Are the windows/FreeBSD drivers still maintained or do they just still work?

Re: Google’s not-so-secret new OS

#537
post #363

Earlier quoted context omitted.

> There's one design decision in Linux that makes this slightly harder than it needs to be in this situation: Linux's lack of a driver ABI. This is just an excuse. The reality is the manufacturers still have the mentality that once something is sold their responsibility ends. We see the exact same results on certain OS's that do have stable ABI's. You've probably made a transaction recently on a device that uses an o…

So if we had a stable ABI the manufacturer writes a driver, ships, and forgets about it, and the driver just continues working when I update the OS. Thus, with what you describe, the argument can be made that the Linux driver model doesn't appropriately take into consideration the incentives and needs of hardware manufacturers.

Until there is a security flaw found in the driver. Then what do you do? The linux driver model is much better for users and security.

Re: Google’s not-so-secret new OS

#538
post #511
post #506

Earlier quoted context omitted.

iOS devices routinely ship with batteries ~60% the size of flagship android devices and have competitive amount of battery life. If apple chose to ship an iphone with a 3000mah battery like what can be found in Android flagships it would absolutely crush the competition in terms of battery life.

Maybe it would, maybe it wouldn't. Without research into this it's all just conjecture.

LG G4: 3000mAh

HTC One M9: 2840mAh

iPhone 6: 1810mAh

iPhone 6 Plus: 2915mAh

In streaming video playback, the iPhone beats out all of the other devices.

Galaxy S6: 6.3 hours

LG G4: 6 hours

HTC One M9: 5.5 hours

iPhone 6: 8.8 hours

iPhone 6 Plus: 11.1 hours

http://www.trustedreviews.com/opinions/which-phone-has-the-b...

Re: Google’s not-so-secret new OS

#539
post #536
post #423

Earlier quoted context omitted.

> The reality is the manufacturers still have the mentality that once something is sold their responsibility ends. Not my experience. I have three hardware devices that worked on Windows, Linux and FreeBSD 5-10 years ago, and now only work on Windows and FreeBSD. (Amusingly enough one of them is a windows CE device)

Isn't that another example of manufacturers not supporting their hardware? Are the windows/FreeBSD drivers still maintained or do they just still work?

I think I quoted the wrong line. They're not maintained, but they still work because Windows and FreeBSD have stable driver ABIs.

Re: Google’s not-so-secret new OS

#540

Earlier quoted context omitted.

I'm sure they could. Although it seems they would much rather move away from the Linux kernel altogether. Who knows what sort of ABI stability timescales they are aiming for in the replacement kernel.

The pertinent question is how Google think they're going to convince Qualcomm to write drivers for their new OS, and not just have exactly the same problem they have now. Qualcomm probably quite like the current arrangement where they get to deprecate everyone else's gear on their own schedule.

With wall street's love for next-quarter accounting, I'm sure Qualcomm will consider the offer, even if it's a one-time bump.

Qualcomm is dominating the SoC industry, in part due to how it uses its IP. Fortuitously, Qualcomm are being sued by the DoJ and Apple for anti-competitive practices in multiple jurisdictions and this might blow the SoC field wide open, depending on the rulings. If other chip makers can license Qualcomm's patents on a FRAND basis, Google could offer the deal to MediaTek if Qualcomm declines.

Post reply on HN