Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions

Submissions

comment 9y ago · link · parent

This is an oversimplification. Some compute intensive parts can get significant speed ups through careful use of data parallelism (such as SIMD). Others needs parallelism at the thread level. Etc. Optimizing for memory patterns is important as is trying to keep the working set within a near-level cache.

comment 9y ago · link · parent

All sound advise. Much of this is covered by Jan Grey's great blog [1].

However I'm disappointed seeing the ancient Cyclone IV compared to a the current seven series. A fairer comparison would refer to Cyclone V, which uses the ALM, kind of a LUT6+ (that is, can sometimes even be a LUT7 or 8). This has an important impact on the optimization considered.

[1] http://fpgacpu.org

comment 9y ago · link · parent

Mostly a style preference, but for one thing it emphasizes that A is a flip-flop. Keeping them separate this way makes it easier if one should change a flip flop to a wire later.

comment 9y ago · link · parent

That's because scrypt is using the wrong memory hardness. The really hard problem in reality is memory load latency (assuming a large memory with random access). We essentially haven't made much progress on that font in decade(s), but have tapered over it with ever increasing levels of cache. If the access is effectively random, then the caches won't help. Base the crypto on that!

comment 9y ago · link · parent

I'm a dane and I never owned a car while I lived in Denmark. HOWEVER, there is a tendency to forget that not everyone lives in high density cities (where public transport is decent). In more suburban area, public transport is hopeless. You _have_ to have a car. Thus people drive, but they drive old cars. The 180% tax doesn't hurt people equally.

comment 9y ago · link · parent

Thanks for the rare fair comment. People are quick to forget the difference between concept and implementation. The Transmeta concept was clearly viable, but the implementation needed more iterations to before we can fully judge the concept.

Your comment about VLIW is true, but in this case that was a 2nd order effect. Far far worse was The effect of the JIT (CMS): a small kernel running over a long time (e.g., DVD playback) would work absolutely excellently, even on the Crusoe, whereas a large codebase with relatively little reuse (say, Word) would give very uneven performance. This problem was never solved [at Transmeta].

The irony is that today, x86 compability is irrelevant in most places.

comment 9y ago · link · parent

? You have to upgrade the software on all devices to move to a larger address space. That's understood. What we are discussing here is the added complexity of the configuration. Updating the software is easy by comparison.

comment 9y ago · link · parent

There are two issues in migration: updating software and updating configuration. The former can be completely trivial if you are just pulling down updates from someone else. The latter requires effort on your part. If the IPv6 address space had been an extension, then you wouldn't have to do any configuration to support IPv6 clients while you maintain your existing 32-bit address, valid for both stacks.

At least that's my understanding of it.

comment 9y ago · link · parent

That comment is incredibly uninsightful. In reality, the majority of the Internet is still not on IPv6 meaning that you still can't make do (easily) with only an IPv6 connection. Dan's point are true regardless of the adoption rate.

comment 9y ago · link · parent

I find DJB's take on this interesting: https://cr.yp.to/djbdns/ipv6mess.html

EDIT: Dan has many excellent points, but I'd like to quote my favorite:

The IPv6 designers made a fundamental conceptual mistake: they designed the IPv6 address space as an alternative to the IPv4 address space, rather than an extension to the IPv4 address space.

Indeed, what were they thinking!

It's certainly an undeniable fact that IPv6 adoption has been a disaster, taking much longer than hoped for. Frankly, I expect to see IPv4 coexist with IPv6 for the next hundred years - not ideal.

comment 9y ago · link · parent

They have. Kinesis have offered foot pedals for more than a decade. Personally I don't sit in a way that would work for me.

comment 9y ago · link · parent

I don't think that's true. System administrators will happily use it in a terminal. I'd often deliberately run emacs -nw when something requires a quick edit and the GUI would be imposing.

comment 9y ago · link · parent

325 comments presently and sadly no one commented on what I find most exciting about Swift: integer overflow is trapped! FINALLY (the only other sane option is multi-precision integers, like in Scheme or Integer in Haskell). Does Kotlin do the same?

I presume Kotlin also traps out-of-range array accesses.

comment 9y ago · link · parent

Indeed, the Emacs pinky got me started on a life-long interest in [ergonomic] keyboards. The best solution I have found so far is the Kinesis Advantage where Control is moved from the weakest finger (pinky) to the strongest (Thumb). I also swapped delete and Alt (Meta) so the thumb is use for Meta as well. Fixed all my problems!

Incidentally I _also_ switched to Dvorak too, but only for that keyboard. Works great because muscle memory "feels" the keyboard is different and uses the correct layout without cognitive overhead.

EDIT: typo

comment 9y ago · link · parent

Representing binaries numbers with explicit sign bit and the rest unsigned gets you an even better version of that; this is how floating point handle the sign.

I'm skeptical of value of ternary. The key behind the success of binary computers is that binary has great noise immunity; having a _single_ threshold is way simpler to get working than two or more. (Yet we do go there for NAND Flash, but note how speed and endurance worsen dramatically as thresholds are added).

The "most economical radix" is often cited but it's a red herring - it ignores practical concern of greater importance.

comment 9y ago · link · parent

+1 My 2006 17" MBP is still used daily (Ironically I'm writing this on an XPS 15 running Fedora 25)

comment 9y ago · link · parent

No it was never a [real] RISC. Even the very first version included predication and shift in most instructions. They weren't even fast. The event that changed everything was when DEC Alpha engineers (for reasons I don't know) decided to use their expertise to created StrongARM. This ironically ended up at Intel and was renamed XScale, before being spun out. (EDIT: grammar & typos)

comment 9y ago · link · parent

No.

comment 9y ago · link · parent

To fully appreciate this, one would need much experience with microprocessor implementation. It's not reduced for the point of being simpler or smaller, but because it represent a local optimum of perf/area for running C code, especially for small to medium implementations.

However, much like the Alpha, RISC-V has been carefully designed to be efficient to scale UP, that is, to superscalar out-of-order implementations.

Do read the spec and the footnotes; they are delightful: https://raw.githubusercontent.com/riscv/riscv-isa-manual/mas...

comment 9y ago · link · parent

The second is real silicon. I have a couple. But all this talk is missing the point. For companies looking to design a product for which the processors is a means to an end, RISC-V holds a tremendous time-to-market advantage and full complete control of your own destiny. That, more than anything, will matter for the 1st wave of adopters. (RV has other technical merits that you for some reason discount).

comment 9y ago · link · parent

(Public service announcement: https://riscv.org/forum/)

Others have the SiFive chip, but if you want to boot Linux then your best option currently is running Rocket on an FPGA kit. I expect that we'll soon have more options. If you just want to play around, then I'd recommend Spike or Fabrice's https://bellard.org/riscvemu/

comment 9y ago · link · parent

Kindly fact check; when Tesla started, they bought technology from AC Propulsion, but it was analogue and for various reasons they ended up having to reimplement everything themselves from scratch. AC Propulsion is still around AFAIK.

comment 9y ago · link · parent

Yes, this is great fun. I have a few paper designs of my own in a similar spirit and if you look around you'll find many existing projects.

However the "Min-T" name to me implies a higher ambition than "just" implementing a transistor computer. True minimalism requires exacting definitions and metrics. That could be pretty interesting, but keeping memory outside the definition is in a sense cheating as [the size and speed of] random access memory was a key differentiators between early computers (ENIAC era).

Essentially, this design would be facing the same constraints as _early_ computers, so I would expect the solution to look similar: micro-coded bit-serial design, Rope memory for ROM, and core memory for "ram". I'd look to the HP-1900A for inspiration.

comment 9y ago · link · parent

My interest in this is adding a 10 GbE SPF NIC to my 2016 MBP running macOS (you can find drivers for 10 GbE, but tradically not yet for 25 GbE cards). I don't know if has been tried yet.

comment 9y ago · link · parent

There is still interesting development going on although the only I remember off the top of my head is http://aeroscraft.com/

comment 9y ago · link · parent

GHC Haskell (not standard Haskell) supports this and it's heavily used. Look for "Rewrite rules".

comment 9y ago · link · parent

What's "e10s"?

comment 9y ago · link · parent

Thanks for sharing all these insights, it's definitely an eye opener, both regarding APL as well as conventional wisdom.

comment 9y ago · link · parent

What happened to TLS 1.3 which was supposed to land in Firefox 52? (At least according to https://threatpost.com/mozilla-turning-tls-1-3-on-by-default...)

Not that I'm ungrateful; Firefox is my preferred browser.

comment 9y ago · link · parent

His conclusion overlooks the key issue: memory burns power! This is why Apple tries to put as little in as possible.
1
444546
52