Better HN
topnewbestaskshowjobs
Log inSign up

Aleman360

831 karma · joined Nov 21, 2014 (12y ago) · 205 submissions

Submissions

comment 10y ago · link · parent

Writing an outline of a book is more analogous.

comment 10y ago · link · parent

Not sure if I agree. I find that coming up with good interfaces is often more of a creative challenge than the implementation. API's are worthy of some sort of protection since ease of use is a definite competitive advantage.

Also, you can easily screw your perf with bad interfaces (especially in C++). E.g., not templatizing, requiring extra allocations, type impedance mismatches, vtable bloat, etc. The interface certainly affects how the machine executes your code.

comment 10y ago · link · parent

Sounds like Windows 8 where the desktop was an "app" on the Start screen.

comment 10y ago · link · parent

They can just change their name.

comment 10y ago · link · parent

In a word where most new code is JavaScript, just use auto everywhere. It will be OK.

comment 10y ago · link · parent

> If it were only localism, there would be localities that were fantastic at investing in their own infrastructure.

Seattle. Great water, renewable energy, lots of transit investment.

comment 10y ago · link · parent

I love it when people use generic names and then add a two word comment describing what it is.

I also love it when people use primitives for time spans along with the units in the name or comment instead of TimeSpan/std::chrono.

comment 10y ago · link · parent

You may be paying for it even if not using it, but you have to account for the environmental savings. But people care less about stuff that's harder to measure.

comment 10y ago · link · parent

Agreed, they're all same-ish now.

comment 10y ago · link · parent

Seems like a leaky abstraction. Did their interfaces have a way to account for differences in latency and failure modes, or was that hidden?

comment 10y ago · link · parent

> Say if I press Cmd+Space on a Mac and type "Facebook" in Spotlight, it immediately begins downloading the native OS X Facebook app

That's exactly what Windows 10 does.

http://imgur.com/EqvATwL

comment 10y ago · link · parent

That's more likely explained by the fact that PS4 launched $100 cheaper and is more powerful.

comment 10y ago · link · parent

UWP has XAML which is native and declarative. It's what the Windows version of React Native targets.

comment 10y ago · link · parent

Silverlight is actually a descendant of WPF.

WPF > Silverlight > UWP

All your skills are transferable.

comment 10y ago · link · parent

UWP has the latest version of XAML, implemented natively this time and with a faster rendering backend. WPF lives on in spirit.

comment 10y ago · link · parent

Because the grip and weight balance will make one-handed reading more comfortable.

comment 10y ago · link · parent

Performance should be a pretty big concern for UI frameworks. Would be interesting to see some benchmarks.

comment 10y ago · link · parent

https://github.com/ReactWindows/react-native/blob/ReactWindo...

Looks like it evaluates the JS and creates XAML elements programmatically using C#.

comment 10y ago · link · parent

Yea, looking at this made me realize how uncomfortable my Paperwhite is one-handed. When laying down I usually end up holding it awkwardly with my thumb underneath and my pointer finger straight up the bezel. It's fallen out of my hand too many times to count.

Price aside, this is a worthwhile upgrade simply for the ergonomics.

comment 10y ago · link · parent

Runtime heap usage.

comment 10y ago · link · parent

Runtime memory usage and startup perf is better for C++ XAML apps.

comment 10y ago · link · parent

Why does this generate C# instead of C++?

comment 10y ago · link · parent

And now your messenger app needs a launcher, switcher, notification manager, search, per-app settings pages, etc. And maybe its own process model/scheduler, to prevent rogue apps from slowing down the messenger app. And apps within the messenger app now need to be cross-messenger-platform on top of being cross-webview-platform.

comment 10y ago · link · parent

Let me get this straight.

- The phone OS has a shell, usually written in native code.

- The messenger app runs on top of the shell, usually written on top of some type of VM.

- The messenger app contains a web browser that renders other apps, written in js.

comment 10y ago · link · parent

First browsers became OS's, now you want messenger apps to become OS's?

How many layers of cruft do we need?

comment 10y ago · link · parent

I just use a scratch piece of paper and toss it at the end of the day.

Anything that's useful enough to keep is useful to other people too, so that goes into the team wiki.

1234567