3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions
comment 3y ago · link · parent
Switching distribution is a lot of overhead (I have a too-large and quite diverse collection of iron, with x86 being minority).
comment 3y ago · link · parent
A few of the cost of legacy:
* exponential growth in verification space (each feature combines with all other features),
* design complexity (effort that could be spent better),
* area/power/cycle time overhead (all options require more ports to muxes, more wires to run, etc.)
* and most importantly, opportunity costs: some optimization tricks can't be pursued because the assumptions would break for legacy code
The legacy tax is real
comment 3y ago · link · parent
There are many reasons to love the HP calcs, but I think the keyboard doesn't get enough praise. I have never found another calculator as satisfying to use. I heard from owners of the Swiss that it's not quite as good.
comment 3y ago · link · parent
comment 3y ago · link · parent
My annecdata is that I feel far more productive (concentrated) at home, but going in 1-2 times a week is very important for incidental communication that can have important consequences. I currently manage a fully remote intern, but we have him come ~ two days every month. So far this seems to work.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Worse perhaps, people, algorithms, hardware, ... will all start to assume those bits are zero and start optimizing for that. We have seen this happen repeatedly throughout history (eg. Lisp pointers would stuff tags in the "spare" bits in addresses, making implementations non-portable).
These are all hard problems, but the lesson I take away is to
1. Always have a plan for evolving the design/protocol/API/...
2. Aim for a watertight design that supports 1. (Example: TLS 1.3 puts random stuff into reserved fields so nobody can assume they are zero).
3. Really stretch your imagination about future usages (assume 50+ years)
4. Have a ridiculously comprehensive test suite for both clients and servers
It seems clear that in terms of lifetimes, hardware gets used much longer than expected, software even more so (Y2K anyone), but protocols/formats/specs/... literally never dies
comment 3y ago · link · parent
I don't think the market forces are driving towards a RISC-V laptop chip (TH1520 is the only one that has mentioned notebook, but it's a very low-end Cortex-A72-class processor).
Hopefully this will improve eventually.
comment 3y ago · link · parent
This will certainly change, but I suspect laptops will be last, with datacenter (ML esp.) and ultra-mobile (ie. low-end cellphones) arriving first.
comment 3y ago · link · parent
An interesting fact was that CMS could occasionally (not always, but not rarely either) do a better job than the ahead-of-time compiler as CMS benefits from: statistics collected at runtime and can generate code under assumption without compensation code. When the assumptions are found to be violated, it can just recompile the code again.
The challenge is always having the compilation overhead be [more than] paid off by the runtime gain. Sometimes it worked, others it didn't. Unfortunately, people really notice when it doesn't work which added to a negative perception of Crusoe. The conventional processors (even out-of-order) have far more predictable performance.
comment 3y ago · link · parent
comment 3y ago · link · parent
TM5800 might be subject to Spectre, but I posit that it would be very tricky to exploit as the x86 code you write isn't what's being run and in fact the code execution will look vastly different.
comment 3y ago · link · parent
* Crusoe/Efficeon/... used a software JIT (called CMS)
* Ran on a very custom architecture (P95/P2000) designed for JITted code with speculation (software controllable checkpoints, "assert" instructions, speculative cache, small lookup tables for translating x86 addresses to P95 etc).
* It had no dynamic scheduling, reorder buffer, renaming, etc.
The thesis was to eliminate the power/area hungry parts of microprocessors by having the "compiler" (= JIT) do it up front.
Some things worked well (very power efficient, small die). Others less so: huge cold code penalty, limited ability to deal with large cache misses (like IA-64).
Transmeta had a huge impact on the industry; Intel has officially credited Transmeta and Transmeta's LongRun with getting Intel focused on power. Both NVIDIA and "another company" have explored the CMS idea.
There is so much to the Transmeta story and the failure was more of a business issue than a technical one. This was a completely new approach and Transmeta needed more iterations to refine the idea.
ADD: A VLIW "instruction" (called a "molecule" in TM terminology) is compiled, fetched, issued, and (mostly) executed as a (parallel) unit. That is very very different from what modern superscalar microprocessors do. They issue instructions from many issue queues. The instructions that execute in the same cycle usually do so mostly as a consequence of data-flow and the current state of the pipeline. Large x86 instruction translated to microcode typically leads to many µops that do not execute in parallel, but are intermixed with other µops.
comment 3y ago · link · parent
comment 3y ago · link · parent
I think I was taught that 1st year, or perhaps the predecessor. It's was MIS' first year teaching. IIRC, Trine's array started at 1 and there was much debate over the merits of that vs. starting at zero like C but other than that it was a reasonable language for the time.
comment 3y ago · link · parent
My only requirement for my first personal PC (T1800, 386/sx, 4 MiB, monochrome) was that it could run True Emacs (on Linux) - I could certainly have used this, but `exec emacs` achieves nearly the same.
208.
YouTube suspends channel for immitation of himself
10 points · by FullyFunctional · 3y ago · discuss
comment 3y ago · link · parent
[1] I have heard many horror stories first hand of being stranded next to a non-working charger and read plenty online.