by kevin_thibedeau · 11y ago · 0 comments
Yes we would. All these things existed without Li-ion. The power/space budget would be more constrained but it was perfectly achievable. What wouldn't work is senselessly burning cycles running managed code in a VM with heaps of battery sucking DRAM. People today have no concept of how much computing power is wasted as excess heat because of modern software development practices.
Or of how many new ideas are created because generous power/space ratios give us the luxury to develop quickly using abstractions higher than highly-optimized references and pointers. You can take a hit on optimal energy efficiency if it results in a larger ecosystem with more possibilities.
The real challenge is to get both.
We were lead down a collective rabbit hole by rabid VM and JIT enthusiasts. Notice the absence of those extolling the benefits of JIT compilation today. People used to claim that at some point Java would consistently outperform C due to the greater number of optimisations available to a JIT compiler. They've all become silent because it's quite obviously a load of baloney.
The irony is that we had the answer all the time, but nobody wanted to believe it.
Back in the day, languages like Haskell, early C++, early Objective-C and Scheme compiled to C. Compiling to C was great! No need to spend man-centuries building an optimising cross-compiler to compete with GCC (and fail), no need to screw around with GIMPLE.
In 2015, compiling to a mid-level language is back in style. Except we don't call it C, we call it LLVM-IR. If you squint it's the exact same thing we were doing 15+ years ago.
LLVM-based languages that look like Rust and Swift will eventually dominate, because they are universal. You can use Rust for the lowest level embedded programming. You can use Swift for the highest level architecture astronautics.
What is depressing is that we could have built them 15 years ago but we were too busy fannying around with a dead-end technology.
I think I encountered the sentiment (on HN) before that because CPU and memory speeds have become so far out of whack and that increasing CPU speeds have power limits that engineers will start having to worry about optimization more and more. I suppose the difference is that before, we didn't have the boat-loads of memory that we have now (in a system).
In other words, yay for LLVM IR!
So they would never have been tablets or laptops. They would have stayed as e-readers and PDAs and so forth.
I like the fact that Kindles have e-ink and are single purpose. When I read on a backlit screen, it tires my eyes and its easy to get distracted from your book with SMS etc. E-ink is perfect for me, for distraction-free reading.