News for hackers. Stuff that matters.
Re:“Implement text editor DOM updates manually instead of vi... by antimatter15 on Friday February 27, 2015 @10:24AM (#9119295)
That's actually the approach Mozilla's Bespin/Skywriter project took. It was shuttered when Cloud9/Ace (which render to DOM) supplanted most of its goals. I would be surprised if the performance delta of switching to canvas would actually be that large, given that using the DOM allows you to harness GPU acceleration for things like translation.
Re:“Implement text editor DOM updates manually instead of vi... by seanmcdirmid on Friday February 27, 2015 @10:30AM (#9119331)
Doesn't canvas have its own GPU accelerated batched draw operations? All tast needs to be accelerated, really, is font rendering, and I would be very surprised if it wasn't.
Re:“Implement text editor DOM updates manually instead of vi... by spleeder on Friday February 27, 2015 @01:58PM (#9120610)
Canvas is hardware accelerated.