News for hackers. Stuff that matters.
Re:Actively exploited sandbox RCE in all Chromium versions by grishka on Friday September 04, 2026 @09:43PM (#49572266)
Running code by itself isn't that bad, it's the fact that browser developers have decided for some reason that this code needs to be as performant as possible, so, JIT.

I don't get it! The way JS is typically used, it doesn't even benefit from JIT all that much. Making ajax requests, doing stuff with strings, and moving DOM elements around doesn't need every CPU clock cycle to be used as optimally as possible. It's exceedingly rare for websites to actually be doing something that needs raw performance. And SPAs will be slow no matter what.

Re:Actively exploited sandbox RCE in all Chromium versions by varenc on Friday September 04, 2026 @11:10PM (#49572746)
I disagree about JIT performance not mattering. I enabled "Lockdown Mode" on iOS which disables the JIT for the mentioned security reasons, and it causes a very noticeable lagginess on many sites. Of course, the primary cause is the unnecessary JS monstrosities wasting CPU cycles. But practically speaking I can say that disabling the JIT results in a very subpar experience of many JS heavy pages.
Re:Actively exploited sandbox RCE in all Chromium versions by Rohansi on Friday September 04, 2026 @11:36PM (#49572861)
It will also increase power consumption because your CPU has to do more work to run the same code.
Re:Actively exploited sandbox RCE in all Chromium versions by timr on Saturday September 05, 2026 @01:00AM (#49573213)
That's largely because a lot of developers have made the devil's bargain of replacing standard web stuff with badly re-implemented JS versions of same. People did it because they could, but never considered if they should.

See most of the ecosystem around React, for reference. It's idiotic that things like URL management are done in Javascript. Or form controls. I guarantee that if we stopped doing this kind of stuff, JIT wouldn't matter.

To some extent this is just saying "developers will depend upon the performance given to them", and that's true, but it's also true that as soon as things like V8 and Node appeared, JS became ubiquitous. Pandora's container, if you will.

Re:Actively exploited sandbox RCE in all Chromium versions by grishka on Saturday September 05, 2026 @02:35AM (#49573697)
> See most of the ecosystem around React, for reference.

I've never used React myself, but what I've heard about it makes me question my own sanity. So are you going to tell me that instead of just updating the DOM tree directly I'm going to apply the changes to my data, then pass the entire model to the framework, which would then diff it with the previous version to get the changes back out, it would then call my functions that return components, and it would then diff the virtual DOM to find out what changed, and only then would it update the actual page? Why the fuck would anyone ever want that? What's so hard about simply changing the innerText or inserting elements or whatever?

Oh and now Google and Apple are insisting that this is the way to do UIs in native apps as well, with Compose and SwiftUI respectively.

The way the front end developer community seems to largely encourage learning top-down isn't helping either. I'll forever remember that one guy we made a small project with. He learned React but had no clue what "send a request" and "pass a parameter" means, and I had to explain him how to use XHR.

Re:Actively exploited sandbox RCE in all Chromium versions by leptons on Saturday September 05, 2026 @03:33AM (#49574065)
The DOM is the slowest part of the browser. It's not Javascript, it's the DOM. React is an attempt to manage the slowness of the DOM. One seemingly small change to a page (like setting innerText) can have many ripple effects with reflow on mamy parts of a page.

With thousands of DOM elements on a page, the DOM becomes a bottleneck. This isn't the fault of front-end developers, and it's not really the fault of browser developers. HTML/CSS/JS is a very powerful system, but it's also complex and can cost a lot of compute. When you understand this, then the reasons for React and other front-end frameworks become easier to accept.

Re:Actively exploited sandbox RCE in all Chromium versions by exe34 on Saturday September 05, 2026 @04:06AM (#49574259)
You may not need react. If you want to make the smallest possible change to the dom to reduce latency, then make the smallest possible change to the dom. Choose solidjs. (Not a sponsored post).
Re:Actively exploited sandbox RCE in all Chromium versions by grishka on Saturday September 05, 2026 @04:24AM (#49574380)
> One seemingly small change to a page (like setting innerText) can have many ripple effects with reflow on mamy parts of a page.

I haven't looked into how browsers actually do it, but my mental model for it is that if something changes, this merely sets a flag on that element or its parent that its layout is not valid any more. Then, on next vsync, all the elements that have this flag set have their layout recalculated, potentially going up the tree as necessary. The only exception is if your script tries to get any layout-related property, e.g. offsetWidth. Then, as if as part of the getter of such a property, the layout recalculation will run immediately.

That is to say, if you need to make a lot of changes to the DOM, you should make them within one JS invocation so only one layout pass happens sometime after you're done.

Re:Actively exploited sandbox RCE in all Chromium versions by timr on Saturday September 05, 2026 @06:34AM (#49575163)
OP here. The steel-man argument for React is not that it is faster at rendering. It cannot be, because it ultimately relies on the same DOM that everyone else does to do the job, and it has to set up a massive JS data structure to do what it does, which uses a lot of memory and has big GC costs. Arguments that assert that the React virtual DOM are faster than the native/shadow DOM are simply wrong [1]. Even the React team admits this [2] (though back in the day, they made a number of puffed-up claims about speed that never made sense).

The principle argument in favor of React today are developer ergonomics. People don't have to manually alter individual elements anymore -- they just describe state, and React takes care of the UI change set. On top of that, you have components, etc., that are debatably more pleasant to work with, and at the least create an ecosystem advantage for users of the framework. One can certainly see the argument for something like facebook, where there are probably dozens of different things changing independently at any given time.

But that said, one really has to question whether React makes sense anymore, given LLMs. Back when the alternative was that someone had to bespoke code every UI component, it might have been worth taking the hit of having to adopt the entire React ecosystem. But now that LLMs are writing the code, there's really no argument for developer ergonomics, and suddenly, things like "rewriting URL handling in JS" are pure liabilities.

[1] Though sadly, many front-end devs don't know this.

[2] https://rossenahuh.netlify.app/React/react-concept-1---virtu...

Re:Actively exploited sandbox RCE in all Chromium versions by grishka on Saturday September 05, 2026 @08:40AM (#49575983)
Well, I'm an old-school guy. I'm all for developer ergonomics, as long as they don't affect the runtime. I use PostCSS and TypeScript in my own projects precisely for this reason, because they both make things more convenient for me yet leave no trace in the finished product that the users see.

> But now that LLMs are writing the code

Hopefully that's a temporary state of affairs and everyone will eventually go back to writing code by hand. I've never even considered using an LLM to get my job done, the whole idea is as alien to me as are these types of UI frameworks. To me, the best language to describe what you want from a computer isn't English, it's a programming language.

Re:Actively exploited sandbox RCE in all Chromium versions by leptons on Saturday September 05, 2026 @02:16PM (#49579170)
>But now that LLMs are writing the code, there's really no argument for developer ergonomics, and suddenly, things like "rewriting URL handling in JS" are pure liabilities.

The popular coding AIs go down all the time. Last week all of them were down at the same time. If there's a bug causing losses of thousands or millions of dollars per minute, do we really want to let the LLM write incomprehensible code?

Re:Actively exploited sandbox RCE in all Chromium versions by marcosdumay on Saturday September 05, 2026 @10:27AM (#49576823)
> Why the fuck would anyone ever want that? What's so hard about simply changing the innerText or inserting elements or whatever?

It's so that you have the page reflecting your data at all times.

The browsers should have been written this way, instead of having byzantine update functions with all forms and a pair of *Text to rule them all. But creating it in Javascript is a really bad idea.

Re:Actively exploited sandbox RCE in all Chromium versions by tgv on Saturday September 05, 2026 @03:00AM (#49573872)
The problem is not url management. That should happen just once or twice during the life cycle of a page. If it takes 0.1ms or 1ms doesn't have any impact on the usability.

One of my problems was that I wanted to show data in the browser. It is a convenient delivery platform, after all. However, Chrome (and Chrome in particular) has tremendous trouble displaying large pages. A 400x400 table takes a long time to render. I could solve that in JavaScript. I had to, really.

So, as practically always, the problems stem from a combination of factors, and bad programming definitely is one of them.

Re:Actively exploited sandbox RCE in all Chromium versions by vickychijwani on Saturday September 05, 2026 @01:35AM (#49573386)
That's largely because a lot of developers have made the devil's bargain of replacing standard hardware and OS primitives with badly re-implemented C versions of same. People did it because they could, but never considered if they should.

See most of the ecosystem around modern systems software, for reference. It's idiotic that things like memory layout and bit-level hardware management are done in C abstractions. I guarantee that if we stopped doing this kind of stuff, compiler optimizations wouldn't matter.

To some extent this is just saying "developers will depend upon the performance given to them", and that's true, but it's also true that as soon as things like compilers and standard libraries appeared, C became ubiquitous. Pandora's container, if you will.

Re:Actively exploited sandbox RCE in all Chromium versions by timr on Saturday September 05, 2026 @01:55AM (#49573467)
> It's idiotic that things like memory layout and bit-level hardware management are done in C abstractions. I guarantee that if we stopped doing this kind of stuff, compiler optimizations wouldn't matter.

Cute, but no, not even close to a good metaphor. The C example is abstracting away fundamental complexity in a new platform. The other is completely re-writing -- in duplicate and slightly broken -- what the platform gives you for free. There's nothing about implementing form controls or URL management in JS that is more abstract. It's just different; a downstream bad decision that branches off a long tree of other bad decisions.

The equivalent level of idiocy in a C-related metaphor would be...I dunno...if you decided that you didn't like the way that header files worked, and decided to keep the C compiler, but build an external header-file management system in Fortran [1] that calls the C compiler for you. Or even closer to the JS metaphor, you shipped a special C compiler that had an embedded interpreted language that only activated at compile time, and you then used that language to allow any user to fundamentally change the syntax of C.

(It hopefully shouldn't be lost on you that this exact approach to language features has been repeatedly tried in the javascript world, including right now, with package management. But see also: typescript, coffeescript before that, Dart, etc. Javascript is a mess, and history repeats itself with regularity about every 5 years.)

[1] ...and then you re-write that about sixty times, each time being slightly incompatible with the last, and all having different fundamental incompatibilities with C headers.

Re:Actively exploited sandbox RCE in all Chromium versions by cookiengineer on Saturday September 05, 2026 @01:23AM (#49573325)
you are talking about the effect, not the cause.

Sites are slow because with all that excess performance they do more tracking, instead of keeping the website as-is.

Because that's the only thing business managers can come up with in that situation. It's a misaligned goal of users vs businesses.

In my opinion the "user agent" behavior of browsers is long gone, because they're not acting on behalf of their users anymore. They're acting on behalf of businesses.

Re:Actively exploited sandbox RCE in all Chromium versions by mark_l_watson on Saturday September 05, 2026 @08:28AM (#49575892)
I have used Lockdown mode also. Not that inconvenient but I didn’t mind the slight no JIT slowdown. I did find not seeing some images annoying.
Re:Actively exploited sandbox RCE in all Chromium versions by cute_boi on Friday September 04, 2026 @09:54PM (#49572332)
Agree. Chrome should just disable JIT by default and boom many website owner will start to optimize their website.
Re:Actively exploited sandbox RCE in all Chromium versions by andrekandre on Friday September 04, 2026 @10:30PM (#49572529)
jira and confluence come to mind...
Re:Actively exploited sandbox RCE in all Chromium versions by macintux on Friday September 04, 2026 @10:51PM (#49572639)
I suspect the people who agree to buy Jira & Confluence are not particularly heavy users of them. At least, that's the only explanation I can fathom for their continued sales.
Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Saturday September 05, 2026 @10:40AM (#49576983)
Enterprise Software
Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Friday September 04, 2026 @11:19PM (#49572795)
Is it their app’s features that are slow, or the analytics bolted on top?
Re:Actively exploited sandbox RCE in all Chromium versions by shakna on Saturday September 05, 2026 @12:16AM (#49573025)
[delayed]
Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Friday September 04, 2026 @11:18PM (#49572789)
> SPAs will be slow no matter what.

Uh…no?

You’re presumably talking about specific terrible prebuilt frameworks - not someone building a nice vanilla SPA.

Re:Actively exploited sandbox RCE in all Chromium versions by grishka on Friday September 04, 2026 @11:53PM (#49572933)
At this point SPA pretty much implies React. But even if you optimize everything the best you could and avoid any third-party runtime dependencies, it's still going to be significantly more work to make API requests and do client-side rendering vs just rendering HTML server-side.
Re:Actively exploited sandbox RCE in all Chromium versions by dvdkon on Saturday September 05, 2026 @04:09AM (#49574279)
Not always. Consider an SPA that connects via WebSockets and streams in data, adding points to a chart. The JS-less alternative would be refreshing an SVG or even the whole page once a second. The SPA is clearly more efficient here (unless someone screws it up badly).
Re:Actively exploited sandbox RCE in all Chromium versions by grishka on Saturday September 05, 2026 @04:28AM (#49574418)
I wouldn't consider that an SPA at all, it's just a page with an interactive element. An SPA is something that renders everything client-side and uses a generic client API to talk to the backend. A telltale sign of an SPA is that the first thing you see when you open it is some sort of loading indicator instead of the actual page you're visiting.
Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Saturday September 05, 2026 @10:41AM (#49576994)
No, the telltale sign of a SPA is that it’s an app that’s a single fucking page, lol

Please stop changing the definitions of explicit words and phrases - to anyone reading this!

Re:Actively exploited sandbox RCE in all Chromium versions by preg_match on Saturday September 05, 2026 @02:27PM (#49579287)
Right but the implication of a SPA is that it’s an application which has many logical pages, but only one real page. The logical pages are constructed by dynamically updating the DOM using JavaScript. As opposed to navigating to a new, server-provided page.

For example, a search function. For a MPA, each search query would be a new page. For a SPA, each query is a new logical page, served on the same real page.

Technically yes, a SPA may have minimal client side rendering. But then it’s not doing much of anything at all - it’s just a site. When people say SPA, they typically mean an application with client side rendering.

Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Saturday September 05, 2026 @03:47PM (#49580030)
> it’s just a site

sigh

…does someone else want to finish this up?

Re:Actively exploited sandbox RCE in all Chromium versions by preg_match on Saturday September 05, 2026 @04:22PM (#49580307)
This reply means basically nothing to me or anyone.

To expand on what I mean, if the implication isn’t obvious: a SPA with no client side rendering is just a single HTML page. It’s a document, not an application.

So SPA naturally implies client side rendering.

The difference between a SPA and MPA isn’t the amount of pages, they both have about the same amount of logic pages. It’s about where those pages are rendered. Dynamically on the front end, or on the back end.

EDIT: okay okay to expand, my website has a contact form. With JS enabled, the form submit displays a little box that says “thank you for submitting”. With JS disabled, it navigates you to a “thank you for submitting” page.

Both are the same logic page, they have the same function. One page is just rendered client side, and one server side. Most websites or applications are hybrids. There’s very few true single page applications, and very few true multi page applications. Most SPAs have multiple real pages for different things. Most MPAs combine multiple logic pages into one real page.

Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Saturday September 05, 2026 @07:19PM (#49581697)
Single HTML files / pages can be fully-featured, full-purpose-fulfilling applications.

> Most websites or applications are hybrids.

and some are emphatically not.

But…where were you going with that?

Re:Actively exploited sandbox RCE in all Chromium versions by preg_match on Sunday September 06, 2026 @02:36PM (#49589464)
The features of HTML are still greatly limited. You can’t really create applications with just one HTML page and no client-side rendering. You can play a video, sure, but that’s not an application. You can also do magic with CSS but that’s an experimental fun thing, not a thing people actually do.

As soon as you, say, use JS to update the DOM or a canvas, I consider that client-side rendering. That you can do, and that would be a SPA.

But I’m curious, what are some examples, even hypothetical, of applications consisting of one HTML page? I don’t think I’ve ever seen it.

Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Sunday September 06, 2026 @11:47PM (#49593651)
You can inline the following in one HTML page:

CSS (.css) JavaScript (.js) Plain Text (.txt) HTML (.html) SVG (.svg) Raster Images (.png, .jpg, .jpeg, .gif, .webp, .bmp) Audio (.mp3, .wav, .ogg) Video (.mp4, .webm) JSON (.json) PDF (.pdf)

plus bring in other source resources as needed.

To answer your question:

The installer for GrapheneOS / Google Pixel phones is an “SPA” (or “webapp”).

I’ve seen bespoke fitness trackers of all kinds,

appliance control apps,

budget and pace-tracking stuff,

basically all of what computer programs used to do - before we started dynamically loading a ton of extra stuff onto the screen that nobody needed to do the task they came to do.

Re:Actively exploited sandbox RCE in all Chromium versions by preg_match on Tuesday September 08, 2026 @05:41PM (#49617501)
Right, but if you’re dynamically changing the HTML from JS, like the graphemeos website does, then that’s client-side rendering, which is my whole argument. Embedding the JS in HTML makes zero difference, it’s the same thing.

So, they are truly inseparable IMO. You can’t have a SPA without some amount of client side rendering, your example demonstrates that. So, what makes a SPA a SPA is the rendering. A SPA is “single page”, but only in literal meaning. Logically, every SPA is many pages, you just render them purely client-side.

Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Saturday September 12, 2026 @06:02PM (#49677666)
Almost every major website you interact with daily relies heavily on client-side execution to some degree.

and none of this seems to have anything to do with the frontend being a single page.

Re:Actively exploited sandbox RCE in all Chromium versions by grishka on Saturday September 05, 2026 @06:33PM (#49581369)
By that definition, Smithereen, my fediverse server software, is also an SPA, since it does what I call "ajax navigation" on desktop, so that the notifications websocket doesn't get disconnected and reconnected every time you click a link. It's technically a single page that gets most of its content replaced at runtime when you click a link, after all, right?
Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Saturday September 05, 2026 @07:17PM (#49581678)
Yes.

Could you point out where you think the gotcha is? I can taste the tone.

Just because a bunch of engineers applied implicit meaning that didn’t exist to a very literal phrase for a few years doesn’t make it correct.

Doesn’t make webapps inherently bad.

Doesn’t make SPAs bad.

Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Sunday September 06, 2026 @01:14AM (#49583523)
> At this point SPA pretty much implies React

At this point, app pretty much implies React - ask an LLM for an app and see if that’s not what you get.

Re:Actively exploited sandbox RCE in all Chromium versions by realusername on Saturday September 05, 2026 @03:40AM (#49574106)
I've never seen an SPA which scales properly and doesn't become a bloated mess, maybe that's possible but it's definitely harder to make it work than using traditional server side template rendering
Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Saturday September 05, 2026 @03:52PM (#49580074)
Plenty of app usecases don’t need to “scale” - immediately or ever!
Re:Actively exploited sandbox RCE in all Chromium versions by realusername on Saturday September 05, 2026 @04:00PM (#49580145)
That's a good point but you never know that from the start, "this app won't scale well" is a hard sell for a new project in my opinion
Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Saturday September 05, 2026 @10:14PM (#49582667)
Especially today, single-user stuff, especially in categories of things like health,

especially when you’re writing your own stuff,

that’s when you know from the start that scaling doesn’t matter! =]

Related, and more powerful than my comments in this thread are going to be:

https://www.robinsloan.com/notes/home-cooked-app/

Re:Actively exploited sandbox RCE in all Chromium versions by realusername on Sunday September 06, 2026 @01:34AM (#49583620)
I don't only mean "scale" in terms of users but also scale in terms of features.

So you have to guarantee that your product will stay low users and low features forever or spend a very high effort to try to partially overcome that block when you change your mind.

And guaranteeing that it will stay low features is much harder than low users I think.

In exchange for that you get a better talent pool for recruiting but does that matter if your product has to stay low scale anyways?

Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Sunday September 06, 2026 @11:45PM (#49593643)
Or you have to distribute your code in such a fashion, and structure your business model in such a way, that “scale” doesn’t require you doing things that have nothing to do with providing the feature set (most SaaS).
Re:Actively exploited sandbox RCE in all Chromium versions by realusername on Monday September 07, 2026 @02:24AM (#49594601)
I'm currently working on a SaaS at my company and we have a lot of issues because of the SPA, I estimate we spend around 5% at least, maybe 10% of the workforce just on SPA complexity.

It can work for some SaaS but if you stay low employee count, low users and you have a core feature used everywhere in the whole product and nothing else

Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Monday September 07, 2026 @04:34AM (#49595602)
What’s the stack? Is it being used even sort-of in the right place / way?

Feels like a glaring omission =]

Re:Actively exploited sandbox RCE in all Chromium versions by realusername on Monday September 07, 2026 @05:11AM (#49595921)
The stack is Rails / React SPA for the frontend.

> Is it being used even sort-of in the right place / way?

It's a SaaS where users are mostly always logged-in, kind of an app so you would think it should work from the outside.

I think these are the full requirements I would put for a good SPA experience:

- low users

- low number of features / or a single main feature reused in different ways

- low number of employees

- it's an app and not a website

- you don't have any users living in remote places / poor internet connection

- users are all using modern browsers and can be asked to switch to another one if needed

And I think in my company we only have one of this list, making it painful.

Re:Actively exploited sandbox RCE in all Chromium versions by DANmode on Monday September 07, 2026 @03:29PM (#49602026)
If anyone wants to show up and talk non-React anything,

at any point,

I’ll be checking back around later!

Until then: just talk smack about React!

None of these things you listed are critiques of single-page apps (SPA).

Re:Actively exploited sandbox RCE in all Chromium versions by realusername on Monday September 07, 2026 @05:31PM (#49603184)
I don't have a final opinion on the subject, it's just the results I witnessed after a long time in the industry. The ones I've seen with Angular suffered from the same issues.

I'm sure counter examples of well managed SPAs do exist somewhere, it's just that it seems much easier to do the wrong thing compared to a traditional stack. This is why I'd not advise for it unless you have a very good reason.

The good stacks should make the good choices the natural way to do things, again my opinion.