News for hackers. Stuff that matters.
Re:Xray – An experimental next-generation Electron-based tex... by paultopia on Monday March 05, 2018 @08:27PM (#16526172)
Yeah, I wonder about how this Rust thing is going to work. I had always thought that the Atom perf problems didn't come from the underlying language but from the fact that it basically creates a massive DOM for every document... so how much is changing the backend language going to achieve?
Re:Xray – An experimental next-generation Electron-based tex... by wmf on Monday March 05, 2018 @08:52PM (#16526283)
They're also using WebGL instead of creating a massive DOM for every document. There are three kind of unrelated things here: Rust, CRDTs/collaboration, and WebGL so it may be hard to disentangle where the performance gains are coming from.
Re:Xray – An experimental next-generation Electron-based tex... by Sean1708 on Tuesday March 06, 2018 @06:11AM (#16528128)
> it basically creates a massive DOM for every document

From the OP:

> In Atom, the vast majority of computation of any given frame is spent manipulating the DOM, recalculating styles, and performing layout. To achieve good text rendering performance, it is critical that we bypass this overhead and take direct control over rendering. Like Alacritty and Xi, we plan to employ OpenGL to position quads that are mapped to glyph bitmaps in a texture atlas.

Re:Xray – An experimental next-generation Electron-based tex... by bitwize on Tuesday March 06, 2018 @10:48AM (#16529507)
I can't wait for my editor to get a Vulkan backend, for the utmost in text editing performance.