Better HN
topnewbestaskshowjobs
Log inSign up

simonhamp

1,069 karma · joined Nov 9, 2010 (16y ago) · 620 submissions

Software Engineer. Internet lover. Child of Britain. Resident of Gran Canaria.
Submissions

comment 1w ago · link · parent

For the past couple of months, I've been working on a protocol that lets your server apps securely drive the UI of your client apps so you can easily build apps that mix server-driven, generative UI with bundled, offline-first views and logic.

So you can get the flexibility of SSR with the power and performance of fully native UI (and none of the overhead of HTML, CSS and JavaScript).

Importantly: without you having to define and maintain your own custom approach – no API, no client SDKs; just a package on your server and a package in your client.

Think of it like Livewire/LiveView/HTMX/Datastar/ Inertia.js, but for apps not just the web, and fleshed out into a fully documented protocol.

I'm calling it The Asgard Protocol

I've built the first reference implementations of it to work in PHP with Laravel and SuperNative (linked in the README), but the protocol is completely language agnostic, which means clients and servers running completely different stacks could speak to each other.

The protocol is still in draft and very much open to feedback, comments, improvements and of course implementations in other languages and frameworks.

I would love your thoughts.

comment 1w ago · link · parent

It may be a power play for the top spot of what's essentially going to be the most valuable company in the AI future

But equally it could be as simple as very elaborate market manipulation (intentional stock tanking) so they can all 'buy low' and make trillions when it goes back up

Certain groups may need that right now given some recent political events... you know to get some money for the next big political event that's due in a couple of years...

comment 1mo ago · link · parent

it was supposed to be public. maybe it got reverted. the team were moving super fast

comment 1mo ago · link · parent

it's fully open source (https://github.com/nunomaduro/dev-null.sh/pulls) and received over 200 PRs in less than 48 hours

comment 1mo ago · link · parent

Here's a completely open document y'all can play around with

https://updown.laravel.cloud/5bd41bcc-28b0-4ba4-b5ce-db6ffa7...

6.

Show HN: UpDown – free multiplayer Markdown documents(updown.laravel.cloud ↗)

2 points · by simonhamp · 1mo ago · 1 comment

comment 1mo ago · link · parent

Awesome story! Thanks for sharing. I will now go and have a listen

comment 2mo ago · link · parent

You need to check out what we've been building with SuperNative - it's one codebase, but you end up with two truly native apps.

comment 2mo ago · link · parent

But if you could get slick native mobile apps with less code (i.e. higher quality abstractions), that would be better

comment 2mo ago · link · parent

Yep. It's a full copy of the state of the origin

comment 2mo ago · link · parent

Just use copy-on-write clones. They're way more flexible, faster and easier to reason about.

I don't get spending all this time on tooling that tries to ease working with worktrees when they're just not the right abstraction for the way we're working now.

comment 2mo ago · link · parent

You don't have to ditch cross-platform building entirely just to escape dependency hell

comment 2mo ago · link · parent

Agree to a point, but human resource is literally the main cost in most businesses, so there's that

Conway's law also plays a big part here and it's kind of TBD to see if agentic development will minify or magnify its effects

comment 2mo ago · link · parent

100% with you. I'm fed up of having my M3 36GB run out of memory because I have Chrome, Slack, Discord and Claude all open at the same time

That's why I'm building SuperNative

comment 2mo ago · link · parent

I hate to break it to you, but we already have it: it's called PHP

comment 2mo ago · link · parent

Seems like you've never had to worry about accessibility in hybrid apps...

comment 2mo ago · link · parent

Hallelujah!

One other person in this place gets it: "fewer tokens, faster progress"

Electron, Tauri, React Native/Expo, Flutter (and countless others) are the wrong kind of abstractions, built for a time pre-AI, solving pre-AI problems

We need a new post-AI abstraction that embraces this opportunity!

That's why we're building SuperNative

comment 2mo ago · link · parent

> you don't get native look-and-feel

You answered your own question

comment 2mo ago · link · parent

We're only where we are in the world of computing because of abstraction layers

It's not the layers that are the problem; they're the point.

It's the quality of those layers. React is just a poor abstraction layer

comment 2mo ago · link · parent

Working on this problem for the next version of NativePHP Desktop. Have dropped Electron entirely

comment 2mo ago · link · parent

Is more code the right goal?

comment 2mo ago · link · parent

We're doing it with PHP... we call it SuperNative (https://nativephp.com/blog/supernative)

comment 2mo ago · link · parent

What if you could have both great performance and UX for each platform AND a single codebase?

comment 2mo ago · link · parent

It's the cost of water processing and delivery, infra (plumbing) maintenance, chemical treatment...

comment 2mo ago · link · parent

I'm working to solve this...

comment 2mo ago · link · parent

Why would they need to worry about hiring for specific skills at all? As AI progresses, isn't the only skill that matters that you can drive it effectively (which encompasses testing and review) without needing oversight?

comment 2mo ago · link · parent

More code means more people. That's not peanuts

comment 2mo ago · link · parent

As the builder of a post-AI, cross-platform native app building framework like React Native, I 100% believe this to be a backwards move.

I've written up a load of thoughts about that here[1], but in summary for the Shopify case, they're basically going to be spending a ton more than they have to by switching back to multiple apps and I'd predict another swing back to better cross-platform tooling in the coming years.

[1]: https://nativephp.com/blog/why-not-write-it-twice

12345
21