HNHacker News
TopNewBestAskShowJobs

hermitwriter

57 karma · joined July 27, 2016

submissionscomments
hermitwriter··on Shopify is moving from React Native back to Swift and Kotlin
I'd challenge you to determine which of the top app store(s) apps are react native vs not -- plenty of app store awards have gone to react native apps -- bad software is bad software. plenty of you ios devs write shit software. I've done this job almost 40 years and no language or platform has ever prevented people from building shitty software or for that matter gotten in the way of writing good software. good engineers can figure it out.

source: ios dev since it was possible -- I am not even pro react native, I am just pro merit based arguments -- you aren't making any

hermitwriter··on Shopify is moving from React Native back to Swift and Kotlin
Derp. Read it again.
hermitwriter··on Shopify is moving from React Native back to Swift and Kotlin
Your data is out of date. React Native performs within spitting distance of raw native now because in the last 2 years... it basically became native - it's now false dichotomy
hermitwriter··on Shopify is moving from React Native back to Swift and Kotlin
100%
hermitwriter··on Shopify is moving from React Native back to Swift and Kotlin
So disagree. The benefits you get from leveraging a framework as as important today as they have ever been -- strong frameworks, fewer tokens, faster progress.
hermitwriter··on Shopify moves back to Native from React Native
srsly
hermitwriter··on Shopify is moving from React Native back to Swift and Kotlin
I've been around long enough to see this argument come and go under a lot of different names. This time it's AI. Maybe AI really does change the economics. But this post doesn't demonstrate it.

Talk to me in a year.

The side-by-side comparisons? Whoopty do. It's different code. Of course agents can produce two implementations that look the same today. That's not the hard part.

The hard part is keeping them the same.

Feature parity isn't an implementation cost. It's a divergence cost. It accrues over years across experiments, analytics, accessibility, edge cases, bug fixes, platform behavior, and a thousand little decisions which current agents aren't great at tracking.

Agents can write code fast but they aren't a panacea.

The load-bearing sentence in the whole post is this:

"Shared specifications, tests, and review checkpoints dramatically reduced the cost of maintaining parity."

Okay. For how long? By how much? Got any numbers to share? How will these hold up under contact with customer?

You haven't maintained parity yet. You've built prototypes. You're making a claim about a cost that compounds over time based on what it costs at t=0.

The other thing missing is the counterfactual. They keep comparing this rewrite to what a rewrite would have cost before coding agents. But what if you point those same agents at the existing RN codebase?

If agents make software development cheaper, they make RN development cheaper too. And now you're modifying one implementation instead of generating, testing, reviewing, and reconciling two.

The tooling section makes this even stranger. They find that agents are bad at driving simulators, so they pull business logic out of the UI, make it runnable headlessly, and expose a CLI.

That's a good idea! Do that!

But that's an architecture change, not an argument for native. You can make an RN codebase agent-friendly without rewriting five apps.

Then you get to "Preventing slop," which is probably the most important section in the post. Just pointing an LLM at the codebase doesn't work. They had to build Helix, with ordered checkpoints, test proofs, visual diffing, adversarial reviewers, and human gates.

So what they've actually demonstrated is that Shopify has enough engineering resources and agent infrastructure to make maintaining two codebases look economically plausible.

Maybe it is! For Shopify.

That's a much narrower claim than "AI changes the economics of cross-platform development."

And where are the numbers?

For a post about reevaluating costs from first principles, there's remarkably little cost data. Engineer hours? Review time? Defect rates? Parity failures? Agent spend? Ongoing maintenance? Anything?

They even say RN performance isn't the problem. "React Native apps can be fast. Ours are."

So there's no product crisis here. No performance crisis. There's an internal cost argument, with no numbers, being used to justify rewriting five apps used by millions of merchants.

And in isolation I'd probably just shrug and say: Shopify made a bet. Let's see how it goes.

But it's harder to view it entirely in isolation when they brought Tailwind on yesterday too.

Shopify used to be one of the great stewards of the broader ecosystem. What worries me about the recent direction isn't any single technology choice. It's the appearance that, following the recent tech leadership changes, we're starting to see decisions driven more by the preferences of the people now making them than by demonstrated technical merit.

Maybe that's an unfair read. I hope it is. But posts like this don't help, because if you're going to make a sweeping technical argument for a major change, show the evidence.

The part I actually find convincing is much less exciting: Shopify is tired of paying the upstream tax. They've spent years working on RN performance, improving the framework, dealing with dependencies and upgrades, etc.

Fair enough. That's a real cost. Being an RN framework developer or dependent is -- or has been -- awful -- it's like trying to fly a kite in a hurricane. The web team has been super disciplined and also ridiculously slow. The RN team changes apis in .. questionable ways with regards to compatibility

But it's not new, and it has very little to do with LLMs.

And let's not get me started on taking this kind of dependency for your business on companies who still don't have any idea how much to charge for their tools and are all operating (on a per token basis) at a loss. They're swapping some framework dependency for dependency on coding models whose capability, pricing, and terms they don't control.

None of this means they're making the wrong decision. Maybe they're right. Maybe in three years this looks obvious.

But that's exactly the point.

Come back in a year and show me parity bugs, engineering hours per feature, experiment drift, accessibility regressions, review burden, model spend, and how much human work it takes to keep the implementations aligned.

Right now they've shown that AI makes rewrites cheaper.

Whoopty do.

hermitwriter··on AI doesn't generate working products, that's still your job
It's funny this post was AI generated.
hermitwriter··on How Apple designs a virtual knob (2012)
It's hard to replicate the "coolness" factor though of a true studio control board. It begs to be touched and knobs beg to be turned...
hermitwriter··on How Apple designs a virtual knob (2012)
Designing 3D real-world interactions for 2D screens is fun. Literally fun. Rarely useful.
hermitwriter··on Next.js 14
This isn't the most robust characterization.

For people with medium and high end devices, SPAs are mostly fine. For those with low end devices (which is a large part of the world), SPAs sometimes don't work well and this is true of many UI frameworks.

Real human beings benefit with you ship less code. And, if people are paying for data, which a lot of people still do, this matters.

hermitwriter··on Next.js 14
Underrated comment.
hermitwriter··on Using AI to Animate Children’s Drawings
my dream neighborhood. I wonder if all the garages are just stuffed with a bunch of crap and people keep the planes parked in the driveway.
hermitwriter··on Hydrogen: React-based framework for building custom storefronts
You can always roll your own. When someone else rolls it for you, they are free to decide what can and cannot exist there.

If you built your own shopping mall, you could decide whether or not to allow a Hooters on the property. This seems pretty fair to me.

hermitwriter··on Hydrogen: React-based framework for building custom storefronts
So you're saying that if a company is successful they should be penalized? That sounds like an awful incentive structure for any industry.

The standard for anti-trust is that the company must behave in an anti-competitive way. I think this probably makes more sense.

hermitwriter··on A terrible schema from a clueless programmer
I wonder how many people here are throwing stones while living in glass houses.
hermitwriter··on As teens left Facebook, it planned to target 6-year-olds, documents show
Good point. I do think then we should be careful then attributing _to_ something without proof.
hermitwriter··on As teens left Facebook, it planned to target 6-year-olds, documents show
A magazine is not interactive. It's a unidirectional feedback flow. Magazine photos are also at a specific higher standard than the totality of Instagram pictures.

IOW, they are not equivalent. I'm sure we can glean something from those studies, but to get an answer to the question we're asking now, you'd need a better study than Facebook's own.

[edited for clarity]

hermitwriter··on As teens left Facebook, it planned to target 6-year-olds, documents show
An independent study of the effects of Social Media (instagram, FB, TikTok, whatever) needs no insider information. We're studying the effect, not the company.

Hypothesis: Instagram causes teenage girls to have a lower opinion of their bodies than they would otherwise have without Instagram.

Study: Have 2 cohorts of teenage girls rate their appearance or happiness with their bodies. The two cohorts are separated by those who use Instagram and those who don't. Run independently, of course.

This study is incredibly flawed (like the original) b/c it is self-reported happiness (incredibly subjective, ephemeral, and prone to bias) and subject to the same issues as all qualitative research. The only way to get any semblance of reliable data is with a _large_ set in each cohort. Even then, the data raises more questions than answers it provides. But, you could say after this study whether 'it seems Instagram may be harmful.'

It is also flawed for other reasons but you get the point. You don't need insider info to study the effect of something.

hermitwriter··on As teens left Facebook, it planned to target 6-year-olds, documents show
In said study, Facebook acknowledges problems with the study itself as do other researchers without a dog in the fight. Let's see an independent study show the same thing.
hermitwriter··on As teens left Facebook, it planned to target 6-year-olds, documents show
Nope. I just don't believe hyped up spin; especially when the deliverers of the content are biased. I like research, and facts.
hermitwriter··on As teens left Facebook, it planned to target 6-year-olds, documents show
Most of her claims make a gigantic leap to conclusions. I'm asking for a source that shows, for example, a suicide that was _because_ of Facebook. Radicalization trends as another example have been on the rise in the US long before FB or social media, and there are many other countries where FB exists but radicalization is on the decline.

There is plenty wrong with FB, but this all seems like trying to pin a root cause to something b/c we need something to blame. Maybe correlation, but I don't see the causation.

hermitwriter··on As teens left Facebook, it planned to target 6-year-olds, documents show
Source on those claims? Not "the media" but actual sources that haven't been debunked?
hermitwriter··on Senators Blast Facebook for Concealing Instagram's Risks to Kids
I feel this way about HN. I open it every day, and check back far more than Facebook. Maybe we'll have a senate hearing someday about HN. :P
hermitwriter··on Senators Blast Facebook for Concealing Instagram's Risks to Kids
Except like all of these services, people actual do engage more with a curated feed. I just wish there were at least an option to go chronological.
hermitwriter··on Relay Hooks: Improved React APIs for Relay
yeah good point. I've used this on a project and this shaved off >150ms of critical path rendering... much better user experience.

awesome to not have this officially supported. Time to upgrade :D

hermitwriter··on Calvin and Hobbes Search Engine
HN killed it.
hermitwriter··on Zero-Bundle-Size React Server Components
I don't know. I use next.js and love it. But I have to implement two static methods for every thing I want to fetch... This also locks me into next.js...
hermitwriter··on Finally a way to get your script read and get your movie made
I heard about it at Fantasia Film Festival. I am hoping to see some feedback on it. I think it sounds very interesting but kind of sounds too good to be true ...