Hacker News new | ask | show | jobs
by chubot 1638 days ago
Yeah I'd like to see that too. One site I think that does a fantastic job is sourcehut. It actually has a little bit of JS, e.g. for the builds page to stream results, but it's fast and light, and measured to be fast.

And it's a pretty big and functional site.

https://sourcehut.org/

https://forgeperf.org/

I've looked at the source code and it's very straightforward Flask apps and Jinja templates, and hand-written JavaScript.

https://sr.ht/~sircmpwn/sourcehut/sources

For people who don't remember, the result is very similar to how Google looked ~15 years ago -- Google News, Froogle, search results, etc. The underlying tech was different, but the result is the same. Google just used C++ and the "google-ctemplate" language.

----

I wish that every food ordering app was written like this.

I mean all they are doing is displaying a list of pictures and then providing a checkout experience -- it's literally eBay from 1998, but 1000x slower.

It would also be like 10x faster than a native app on phone if it were written like that.

In fact Google has a lightning food ordering app right on the search results page that proves the point! However I tend not to use it because I don't think it's good to let the search provider "hijack" the traffic intended for restaurants. i.e. presumably the restaurant will put their preferred vendors on their sites, which is almost never Google, and is instead some really slow and janky app :-(

1 comments

+1 for sourcehut. The people there have been making great, lightweight software for a lot of stuff. Despite looking simple they are often really powerful.