Linked by Thom Holwerda on Tue 19th Dec 2017 19:22 UTC
Android

Today, we are excited to announce Quick Boot for the Android Emulator. With Quick Boot, you can launch the Android Emulator in under 6 seconds. Quick Boot works by snapshotting an emulator session so you can reload in seconds. Quick Boot was first released with Android Studio 3.0 in the canary update channel and we are excited to release the feature as a stable update today.

There's a quite a few other improvements and new features, as well.

Permalink for comment 652287
To read all comments associated with this story, please click here.
I feel the need of sharing an anecdote
by _LC_ on Thu 21st Dec 2017 06:42 UTC
_LC_
Member since:
2017-12-16

I feel the need for sharing an anecdote. A while ago, I was developing an application for an embedded device in C++. There was the need for 'biased' random generator functions, just as they were introduced with C++11 random number distributions. Unfortunately the compiler in use didn't support C++11 yet. As the test-device had plenty of flash, I decided to include the random stuff via Boost... Soon, I was surprised to find out that my application had grown more than 10x in size and was now taking up more than half of the flash memory. An investigation revealed that the binary now even included internationalization routines! I'm guessing that the damn I18N had to be set up as well; this, on a device with only a few LEDs.
The compiler (and even more so the linker) was set to eliminate unused code/functions.
Luckily a compiler supporting C++11 was ready a few days later. Now the random stuff takes up only a few KB (though, arguably still more than needed).

Have you ever wasted your time by looking at the source-code of Mozilla's Firefox? I went crazy after half an hour. There are tons of functions doing (more or less) the same thing. Obviously, they lost track of things. This is not only problematic in terms of code bloat and program efficiency, but also a security problem. You find an error in one function and you can almost be certain that there are more functions with the same error under a different name... what a mess! :-P
Bottom line: Complexity is just an excuse for not polishing the building blocks. Today's software "foundations" are often already rotten in their core.

Edited 2017-12-21 06:43 UTC

Reply Score: 1