TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A new approach to text rendering

154 点作者 podgib将近 8 年前

14 条评论

jtokoph将近 8 年前
&gt; But if we’re going so far as to bypass Chrome’s CSS engine, maybe we should try to bypass the DOM entirely.<p>Seems like Atom will eventually just be a native app.
评论 #14617561 未加载
评论 #14629518 未加载
LorenzoLlamas将近 8 年前
Yet another post about &quot;technology improvements&quot; that basically is some company (Github) with an axe to grind that wants to reinvent the wheel but has nothing new to offer.<p>To be more clear, no one is writhing in their sleep, or bemoaning to their team mates, this: &quot;We have no good way to edit text in the 21st century&quot;. No one. At best, it&#x27;s a nice idea to see &quot;what if&quot; we could build an emacs-like text editor using modern day web technologies, just to see what browsers and HTML5, etc, can do these days, and hey, maybe we will learn something and push the browser technology a bit, too. At worst, it&#x27;s bunch of people with no other interesting ideas and who need to bring attention to their company.<p>What&#x27;s next for this Electron crowd? Let&#x27;s see if we can build a whole operating system into a browser? Oh wait. That&#x27;s also been done with a lot of noise and no real-world impact. Well then, what about a new kind of spreadsheet? Or maybe we could do some cool photo-processing using only a TI-84 calculator!<p>Ugh. I&#x27;m so tired of this, and this massive post by the dev team at Atom proves the insanity of all this.<p>They have spent thousands of man-hours &quot;improving&quot; their text editing rendering for their slow text editor (but hey, we saved time by building it on top of Chrome!), and yet they are nowhere near text-rendering speeds of 40 years ago.<p>But never mind that. They will continue to plug ahead and write more posts about it. Meanwhile, emacs (and Vim) plug along as always.<p>How bad is it (to me)? I&#x27;ll tell you. Even though I alter between Sublime (written in real code and not on &#x27;borrowed&#x27; code) and BBEdit sometimes, along with Vim (still learning), and even MacVim (the horrors!)... THIS is how bad it is. It&#x27;s so bad... that I would use TextEdit to edit code before I used Atom. I promise you. I actually like TextEdit and often use it anyway. I sometimes wish Apple would just add a few tiny improvements (but I&#x27;m daydreaming) and I would use it for 90% of files and projects.<p>But Atom? Like a lot of modern day projects (React, Bootstrap, WordPress, Facebook, etc), it&#x27;s a total step backwards to reinvent what we already had. So that basically &quot;new&quot; people can come along and play - with less understanding, IMHO.
评论 #14620845 未加载
pugio将近 8 年前
I&#x27;ve maintained restrained excitement about Atom for years. A super hackable editor (what more could a tool-obsessed coder want)... but frustratingly laggy. This release finally feels snappy enough that I may switch.<p>Large files, slowish startup, and the like are all special case problems that I can use Sublime for, but until now, the almost subliminal typing sluggishness always drove me away.<p>Bravo Atom team for making it fast enough. I look forward to continued improvements in this space.
评论 #14616157 未加载
评论 #14616395 未加载
评论 #14618627 未加载
评论 #14618615 未加载
评论 #14616396 未加载
pcwalton将近 8 年前
&gt; One frustrating component of the above breakdown is the time spent recalculating styles. At this point, it looks like the only way to solve this within the current paradigm is to use CSS less and reduce the number of selectors in the application, but that’s going to be a hard fought battle given the huge number of themes in the ecosystem.<p>This is a perfect example of why we need parallel restyling. :)
评论 #14616248 未加载
评论 #14617877 未加载
评论 #14618647 未加载
评论 #14615521 未加载
torrent-of-ions将近 8 年前
What a waste of time. A text editor where &quot;more responsive typing&quot; is a feature is a joke. These problems were solved decades ago on far more limited hardware.
OberstKrueger将近 8 年前
This post mentions how the text storage has already been moved to C++, and the possibility of moving parts of the rendering to C++ as well. Is this part of a trend for Atom to move at least key components to C++ and away from the web stack? Or am I off base with this thought and it&#x27;s been lower-level to begin with, but these are just optimizations on that?
评论 #14617319 未加载
评论 #14616376 未加载
andrewmcwatters将近 8 年前
Though I use Atom on a daily basis, I maintain the opinion that with software available such as Visual Studio Code, it&#x27;s painfully obvious that Atom never had performance as a high priority to begin with.
majewsky将近 8 年前
Here I was, hoping for an innovative approach to render glyphs in OpenGL or Vulkan, but they&#x27;re just dealing with accidental complexity of their platform, as Alan Kay would put it.
评论 #14616115 未加载
评论 #14615976 未加载
benibela将近 8 年前
Recently I had to edit test data for a grading platform (People upload their programs, the programs get called with the test data and they get feedback if their program works correctly). One test file had 900 000 characters in one line. Almost 1 MB, not a single linebreak. The grading platform is a webpage and you upload things through an online editor, so I pasted the file in Firefox and Firefox crashed.
dham将近 8 年前
I thought this was going to be a post about fixing the horrible font rendering. Although I guess that&#x27;s really a Chromium issue. Still can&#x27;t switch to Atom to this day because of the font rendering.
rjzzleep将近 8 年前
So, we&#x27;re sort of simulating offscreen drawing by using a virtual dom? I mean don&#x27;t get me wrong it&#x27;s sort of nice that they did this as it&#x27;s the only thing they could have done to deal with the issues I wrote in my 2014 blog post, but that also means that with a lot of effort the web is now able to do what quickdraw could almost 20 years ago...
评论 #14615557 未加载
draw_down将近 8 年前
I still really wonder about the approach of using web tech for this editor. But I haven&#x27;t tried it in a while so I will do that shortly. I have been wanting more Github integration in my editor recently, ever since I saw the Xcode demo.
评论 #14618628 未加载
linopolus将近 8 年前
ViM!
y_u_no_rust将近 8 年前
Seems like such a wasted effort due to technology choice