Live data from Hacker News

Energizing Atom with V8's custom startup snapshot

v8project.blogspot.com

11–18 of 18 posts

Re: Energizing Atom with V8's custom startup snapshot

#11

So this is basically the emacs startup hack? Ugh.

I was just going to remark, those that don't know history are doomed to repeat it.

What's wrong with the emacs startup hack that makes it something that's not worth repeating (and improving upon)?

To me it seems like a fantastic way to improve startup time regardless of language or ecosystem.

Re: Energizing Atom with V8's custom startup snapshot

#12

Earlier quoted context omitted.

Get to work on a Webassembly compiler and your wish might be granted. http://webassembly.org

The Tanks demo makes my CPU hurt (15" rMBP, Firefox). Why is WebGL still so heavy on the CPU?

It takes up about 2 percent of my 7 year old cpu in chrome. It is also compiled from Unity, so was not made from C++ directly.

Re: Energizing Atom with V8's custom startup snapshot

#14

So this is basically the emacs startup hack? Ugh.

for those of us who aren't familiar - what's the emacs startup hack, and why is is detrimental?

The emacs startup hack is in it's use of a glibc function called "unexec", which essentially serializes the program's state into a single binary which can later be executed normally.

One of the big downsides (and the reason it became well known) is it's lack of portability, as it requires in-depth knowledge of the system's memory structures.

LWN article and previous HN discussion: https://news.ycombinator.com/item?id=11001796 Somewhat lower-level article that shines some light: http://emacshorrors.com/posts/unexecute.html

Re: Energizing Atom with V8's custom startup snapshot

#17

There are only so many brain cells on earth, can we stop using them to make javascript things on the desktop slightly less slow? Let's just not use it.

You think that's a waste of brain power? By 2014 humans had collectively spent 200,000 years playing angry birds. That was 3 years ago, and I'm sure pokemon go has at least tripled that record by now. Between than and all other video games we've probably spent in the tens of millions of years button mashing, if not the hundreds.

But yeah lets stop people trying to make JavaScript faster

Re: Energizing Atom with V8's custom startup snapshot

#18
post #7

Earlier quoted context omitted.

The Tanks demo makes my CPU hurt (15" rMBP, Firefox). Why is WebGL still so heavy on the CPU?

It works fine on my 2011 15" macbook pro with Firefox 54.0b4. I wonder if it is the high retina resolution thats the problem for you?

It might be because the macbook is also driving a 4k display at the same time.
Post reply on HN