3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions
comment 6y ago · link · parent
History is written by the winners and outsiders tend to draw technology conclusions based business outcome, which is unfortunate and lacking in nuance.
Crusoe at the time of the release was far more power efficient than anything Intel had to offer and was a revolution to the notebook market. Intel has officially credited Transmeta's LongRun as the motivation for creating SpeedStep.
Performance of Crusoe ("Fred") fell short of the expectations as the approach assumed a faster VLIW core. CMS was very good, but couldn't compensate for the hardware. Had Transmeta not made terrible business screw-ups, the architecture could perhaps have had the iterations necessary the improve the technology. The third generation ("Tokomak") would have been significantly better and almost happened, except for ... business reasons.
IMhO, the original approach has two flaws:
1. Software based interpretation of cold code leads to a dramatic performance difference that can be nearly impossible to catch up to for some applications. IOW, the difference between worst and best performance is much too big.
2. Out-of-order execution is a much simpler and better way to deal with cache misses. The tricks and efforts that went into the architecture to compensate for the in-order execution were mind-boggling and were part of the reason the core was slower than it should have been.
NVIDIA's Denver improved (fixed?) 1. by added hardware acceleration for Arm decoding.
comment 6y ago · link · parent
Which is why it's so infuriating to read Leonardo's grandstanding "Those who have created a new intellectual object have to right to exploit it". What exactly did this "creation" build on? It was not produced in isolation.
comment 6y ago · link · parent
comment 6y ago · link · parent
EDIT: I haste to add that having the full 64-bit Ubuntu 20.04 was what made this interesting to me.
comment 6y ago · link · parent
The major pain points are nearly all related to lack of integration with my iPhone (with Messages being the big one, followed by Notes).
comment 6y ago · link · parent
My (effectively one-line) implementation above was derived from first-principle:
Given a desired target level 0 <= T <= 1, control the output O in {1,0}, such that O on on average is T. Do this by integrating the error T - O over time and switching O such that the sum of (T - O) is finite.
S = O = 0
loop:
S = S + (T - O)
O = (S >= 0)
In fixed point arithmetic this becomes even simpler (assume N-bit arith) S = Sf * 2^N = Sf << N. As |S| <= 1, N+2 bits is sufficient S = O = 0
loop:
D = T + (~O + 1) << N === T + (O << N) + (O << (N+1))
S = S + D
O = 1 & ~(S >> (N+1))
and that's the Verilog belowcomment 6y ago · link · parent
module pdm(clk, level, O);
parameter N = 16;
input wire clk;
input wire [N-1:0] level;
output wire O;
reg [N+1:0] sigma = 0;
assign O = ~sigma[N+1];
always @(posedge clk) sigma <= sigma + {O,O,level};
endmodule
I’ll grant you that PWM is a bit more intuitive. I bet there is a more thorough comparison between them but I haven’t seen it.comment 6y ago · link · parent
The most interesting route is using an FPGA. There are many examples of running RISC-V softcores on FPGAs (for example, Berkeley's RocketChip) and many boards that support a decent amount of memory (even beyond 1 GiB).
comment 6y ago · link · parent
But speaking anecdotally as an ex-pat dane, the people I know would look at it the opposite way: it might stop them from _NOT_ having children, but it would never make them have children they wouldn't have considered already. I'm sure there are exceptions but are they statistically significant?
The benefit to the society should be obvious.
comment 6y ago · link · parent
Goes to look at README.Bugs. Holy cow, I don't have time to to check all those places to see if it has been reported already.
comment 6y ago · link · parent
I have been around compiler internal formats and "bytecode" representations since the mid 80es. WASM is simply brilliant for what is designed for. I'm particularly in love with the structured control flow (key for enabling 1-pass translation). I used a block structure IR a compiler IR in the mid-90es. (EDIT: am I being trolled?)
comment 6y ago · link · parent
Sun never had the volume Apple does. SPARC was far from competitive with x86 in its later days, unlike Apple's A-series chips.
Transmeta? I was there from ~2001 until we closed the doors. What some people still don't understand was that Transmeta's failure was a business failure, not a technical one. When Crusoe launched it had greater power efficiency than Intel's chips. Intel has _officially_ credited Transmeta with kickstarting Intel's focus on power. Execution and business failure cost Transmeta to slip more than a year at which point opportunity and customer goodwill had sailed. Someone really should write a book about all the drama.
comment 6y ago · link · parent
iSH is threading, that is, the x86 code is translated into an IR consisting of pointers to the code that executes its interpretation. This is a technique older than FORTH and which may be the best you can do on iOS currently. A-Shell may do the same, I don't know.
EDIT: updated with more details.
comment 6y ago · link · parent
comment 6y ago · link · parent
EDIT: typo