Live data from Hacker News

Web based Windows XP desktop recreation, built with React

winxp.now.sh

121–130 of 156 posts

Re: Web based Windows XP desktop recreation, built with React

#121
post #83

This loads super fast on a phone and is very responsive. Modern js done right can provide top tier interfaces. So many frontend let performance go by the way side when making interactive web apps. And performance can also be UX, how things appear and the flow of the loading. Things like placeholder boxes [1] with the same size so the load isn’t janky is one good hack. The sort of thing you don’t have to care about wi…

My goto test: Does it crash my virtual machine? Some of the most basic websites trigger a serious (and still unresolved after years...) bug where the rendering stutters to a halt until virt-manager and all my VM windows crash. Just basic landing pages with weird animated backgrounds, etc. Nothing rich. This app? It works almost flawlessly with little jank and doesn't even stress my browser. And it has a much richer U…

It's not a much richer UX. It'a very simple actually, very static.

Re: Web based Windows XP desktop recreation, built with React

#123

Does this work for anyone on mobile? When I try to click on things it doesn't seem to register, for example- the start button.

I’m on an ipad, and yes. Not perfect but decent. Paint recognizes touches. Have to quickly double-tap the start button, but other than that it works

iPad runs a heuristic to convert touches into clicks or hovers.

Re: Web based Windows XP desktop recreation, built with React

#126

Earlier quoted context omitted.

Yeah, this is amazing. Works great even on iPhone. Going to save this one for the next time someone says React is slow. This worked instantly for me (just like my website, I wonder if they are using Gatsby or something else for static pre-rendering).

Well... You're comparing performance of almost 20 year old computers to your current machine. It takes 3 seconds to start paint. The webpage is 'only' using 85-101MB ram to do nothing. Remind you that the requirements were: 233MHz CPU + 64MB RAM Let's say you're running a late 2019 macbook pro 13". That's: 16384MB RAM, and 1400-3900 MHz cpu (x8 threads) with 8MB cache. Which includes branch etc etc. All that aside, i…

No, I was specifically talking about load time which is instant (compared to the majority of the internet which is not).

Also, as far as hardware is concerned, I am comparing a 14 year gap between a desktop computer of 2001 to a 2015 iPhone 6s - a 5 year old phone that still runs on battery for about 6 hours.

But that has nothing to do with load time and why most websites today can’t load in under 1 second (or even 10 seconds).

I’ve heard many complain about React performance, yet I have seen React with ssr or static rendering perform amazingly well.

My site for example loads as fast as hacker news on first page load, and then faster because of static rendering and pre-fetching, yet it has unlimited interaction.

I imagine if I profiled the performance of this demo, it would be similar.

Post reply on HN