News for hackers. Stuff that matters.
Re:The Nintendo Switch uses my open source code by Cthulhu_ on Monday November 23, 2020 @11:07AM (#25188196)
Quite likely; iirc the Playstation's UI (and store) are also made with web technology, and its performance is just so bad.

For a product that is responsible for billions in revenue every year, I would expect them to have some of the best native developers working on it. Instead, they sorta wrangled web technology to sorta work. I don't understand why the performance is so bad on the PS4 of all things, given how it's a pretty decently specced machine.

They, and many other companies, should really look at the iPhone's early success - a BIG factor there was native code, meaning they could run on a single core machine for years while Android was struggling to push device specs up just to get their UI to feel performant.

And Apple's wasn't even optimal; they used objective-c which adds some overhead with every single function call (simplified: 'can I call this method on this object? Yes? Then call the method on the function call'. Only fixed with Whole Module Optimization in Swift iirc).

But it made such a huge advantage in terms of performance and battery life, Apple was easily five years ahead of any competition.

Re:The Nintendo Switch uses my open source code by offtop5 on Monday November 23, 2020 @11:46AM (#25188645)
When minimum viable product becomes the actual product.

To be blunt it's probably more cost-effective for them to hack something like that together, then to take time to actually fix it. If you bought a ps4/5 you're effectively stuck with using that interface. I think they're moving to flutter now, but this is just how big companies work.

Not enough customers are going to not buy a PS4 because the web store is a little clunky.

Re:The Nintendo Switch uses my open source code by da_big_ghey on Monday November 23, 2020 @01:58PM (#25190257)
> moving to flutter

Wow, I'm surprised to see it used in that large of a capacity that soon. I was under the impression that it was still a somewhat-glitchy prototype (especially in any non-mobile uses), but maybe it's time to give it another look. Thanks for mentioning this.

Re:The Nintendo Switch uses my open source code by offtop5 on Monday November 23, 2020 @02:16PM (#25190499)
Using Flutter web right now for a side project.

It's already miles better than React.

Dart itself is absolutely a pleasure to work with. No Babel !

Source for Sony using Flutter

https://devclass.com/2020/10/29/sony-takes-a-flutter-on-embe...

Re:The Nintendo Switch uses my open source code by falcolas on Monday November 23, 2020 @12:17PM (#25189037)
Another justification for purchasing disks, I guess. A much more solid 'ownership' model for games, the loading speed's about the same (since most things are installed to SSD, instead of read from the disk), can purchase second-hand... yup. Disks for me, thanks.
Re:The Nintendo Switch uses my open source code by colejohnson66 on Monday November 23, 2020 @12:28PM (#25189172)
I thought that too with my Switch: use cartridges when I can, but it got frustrating swapping them out when it was docked. So I started doing digital only purchases onto a 256 GB microSD card, and it’s so much better (IMO). I haven’t noticed a difference in load time either.

It doesn’t help that game updates go onto the SD card, not the cartridge. So updates to the whole game basically make your cartridge a DRM dongle.

Re:The Nintendo Switch uses my open source code by Shacklz on Monday November 23, 2020 @11:23AM (#25188379)
Did you ever try to use the playstation platform (network? store? whatever they call it) in the browser?

It's absolutely atrocious; I don't think this has much to do with them using webtechnology, it's just an atrocious heap of spaghetti (and probably, guessing from the weird settings syncing and authentication, an architectural nightmare).

The ball of mud would roll faster if it were written in C++, for sure, but it would still be a ball of mud.

Re:The Nintendo Switch uses my open source code by kuschku on Monday November 23, 2020 @11:13AM (#25188259)
> They, and many other companies, should really look at the iPhone's early success - a BIG factor there was native code,

?????? Honestly I don't understand this argument - the iPhone didn't even support apps at launch, only the 2007 equivalent of today's PWAs, pinned websites.

Re:The Nintendo Switch uses my open source code by projektfu on Monday November 23, 2020 @10:09PM (#25194860)
Right, like is that the reason that Symbian succeeded?
Re:The Nintendo Switch uses my open source code by markjgx on Monday November 23, 2020 @04:05PM (#25191889)
The slowness of the store UIs on consoles is largely attributed to fact they are running their Javascript engines in interpreter mode, for security reasons.