Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

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

Submissions

comment 4y ago · link · parent

According to https://en.wikipedia.org/wiki/Itanium this is actually clear as mud and it seems Itanium was both a family of implementations as well as ISAs (thus variants of IA-64?). It's also the _only_ implementations of IA-64.

Going back to the original question (can RISC-V "become another Itanium"?), as long as there are people using/support/evolving it. Unlike Itanium, RISC-V has the support very many companies already and the membership list of RISC-V International just keeps growing.

The only thing that could threaten it would be a better alternative appeared or if x86 or Arm suddenly got the same unrestricted license. The former is not impossible, but it would be huge undertaking and by definition we would be in a better place. The latter seems essentially impossible.

As there's no technical reason why a RISC-V implementation couldn't have roughly comparably performance to an Arm core (iso-effort and technology) it's "simply" a matter of sufficient investment before we'll have the X1 etc equivalents. There are very many companies working on high performance implementations. One of the high profile ones is Rivos, but there are _many_ others.

comment 4y ago · link · parent

Oh awesome, thanks for sharing. Some time ago I couldn’t find anything that looked like an active arch port. Any interesting challenges in doing this?

ADD: OpenSUSE! how could I forget. Truly we are spoiled for choice today. I remember not that long ago it was

  * Buildroot
and nothing more.

comment 4y ago · link · parent

SiFive released the Linux capable RISC-V dev kits years ago and for long time now there has been many options besides what SiFive offers. Only few however are “cheap”.

Maybe not mad, but certainly not very good at searching.

CORRECTION: 2010 was the _founding_ of the RISC-V project. I don't have the date of the 1.0 release, but nobody would ship hardware based on a 1.0. Release 2.2 (user)/1.11 (priv) wasn't released until 2018! Light of this, hardware is actually coming out pretty quickly.

Hardware is expensive and takes a long time. In comparison, Arm was founded in 1990. When was the first Linux-capable Arm-based dev board available for purchase?

I'm probably as unhappy with the delays as anyone, but the momentum has not slowed and better options _will_ become available for sale.

comment 4y ago · link · parent

Probably, but there were many other language differences in Modula-2 that made it a better language. I suspect the real reason was the usual one: inertia. A lot more people knew Pascal and thus more bought TP than TM2. <something something about technical merit and popularity contests>

comment 4y ago · link · parent

Debian, Ubuntu, and Fedora have had distributions for many years. Others like FreeBSD, etc also exist. I often take a break and spend a day working entirely on a RISC-V host (BeagleV beta). Everything I care about work 100% the same, most notably Emacs and all the dev tools (Rust, C, Haskell).

The only thing that I hit in the (old) Fedora 33/RISC-V is Firefox's lacking support for WASM, but that could be working in the latest version.

If you want to try it for yourself under QEMU, I'd recommend following the instruction here: https://wiki.ubuntu.com/RISC-V

comment 4y ago · link · parent

So? TP real success came with the port to DOS, but TM2 couldn't have been much harder to port.

comment 4y ago · link · parent

Nope, compilers couldn't care less - it's much faster to hash keywords into the symbol table and just do a single lookup.

The upper case is all about human readability. I suspect ALGOL's heavy reliance on named keywords (unlike C's more extensive use of symbols) relates to the inconsistencies of character sets etc at the time of the ALGOL's definition.

IMvhO, Turbo Pascal (and Turbo Modula-2) would have been much nicer with a C-like (or Rust-like) syntax.

Disclaimer: I worked professionally in Turbo Pascal for a few years.

comment 4y ago · link · parent

Unlike Itanium, RISC-V is an ISA and there are many many different implementations of the ISA. You cannot conclude anything about the former based on a few instances of the latter. Patience.

comment 4y ago · link · parent

The C906 is very slow, but so is, it appears, the Pi Zero.

The good news is that there are a lot of faster options right around the corner. The Pine folks is working on releasing Star64 (quad SiFive FU740 1.5GHz) [1] and I know of at least two other RISC-V SBCs in the pipeline. I'm not quite ready to declare "2022 is the year of the RISC-V desktop" yet though.

[1] https://www.hackster.io/news/pine64-formally-unveils-the-sta...

Note, the FU740 is in-order dual-issue with a comfortable L2 cache.

comment 4y ago · link · parent

Are they selling anything? I’m inclined to trust their stated motivation: democratizing hardware production to encourage a revolution in the current Awful, Proprietary, and mind bogglingly expensive commercial tools. And consider - there really only are two players in town: Synopsys and Cadence.

By all accounts, it’s working. There’s more interest in and more effort being allocated towards tools in this area (post RTL).

comment 4y ago · link · parent

I too couldn’t find the magix six but furthermore, the portability dimension I’m most excited about is the transposed one: microprocessor architectures. I daily compile the swap between x64/arm64/rv64 without a hitch and know that there are other options too, but it always Unix (90% Linux).

It would have been nice if the OP had spent a few words on the motivation here.

comment 4y ago · link · parent

My "budget" NAS can trivially saturate 10 GbE with a pair of Samsung SSD 980 PRO 2TB. It cannot saturate my 100 GbE connection. While it's true that TrueNAS perhaps can't quite get the same performance that you could get from XFS on the same hardware, that's really irrelevant for me as the features (snapshots and send) and data integrity is far more important.

comment 4y ago · link · parent

I can't even remember when I deleted my FB account, but my experience matches yours exactly: less but better.

It _is_ a bit of a pain to juggle the matrix of options, but the bulk go through iMessages, Keybase Chat, Twitter, and good ol' mail.

comment 4y ago · link · parent

and Sun, Netscape, etc. Just because some of these predictions didn't happen doesn't mean a lot of them did.

Sun Microsystems appeared solid. Apple _did_ almost die. IBM is only a shadow of their former self (IMO, the original IBM _did_ die). FB and Google are still young in comparison.

I have no stake in either, but IMO Google is more likely to survive than FB. FWIW, both have high quality staff that will bail if the growth stalls.

comment 4y ago · link · parent

Where I go there are no cache misses (it’s in hardware)

comment 4y ago · link · parent

My absolute favorite, Cuckoo hashing, has been mentioned already, but so far (239 comment in) nobody has mention this approach (called?) to store an array A[] of N-bit numbers, most of which are zero or small: use N set of numbers S[N], such that for each A[I] you store I in S[J] where J are the bit positions where A[I] have a set bit. In other words, S[J] are the indices of elements from A that has a set bit in position J.

The representation of S can be anything, and even dynamically adapting to the data. I’ve seen trees of bitmaps for example.

comment 4y ago · link · parent

Lovely reconstruction. I still wonder how well this all worked in practice. There seems to be a lot of friction and possibility for lock-up and wear.

comment 4y ago · link · parent

Programming is a (cool) tool used in many contexts. I’m sure the OP had a particular context in mind, but I’m afraid I don’t know which and can’t agree that there is just “one industry”.

comment 4y ago · link · parent

I don't think you are missing anything, but you probably isn't in the intended audience. IMhO, just doing it in plain C would have made the point stronger.

<anecdote alert> A thousand years ago I was reading the legendary SmallC (for Z80) sources and was surprised to find it didn't use this technique (which IIRC is described in the Dragon Book). I rewrote it and it worked (both less source and object code, and faster too).

My point: it might not be as well known as simple recursive descend. That said, it's essentially limited to expression parsing. </anecdote alert>

comment 4y ago · link · parent

Gabriel summed it up nicely (https://twitter.com/behindthenet/status/1547423946038906880):

“This is incredible journalism. Decide what your conclusion will be, recruit people who will support your contrarian viewpoint, then shoehorn in some random surveys to claim this is all data-driven”

ADD: Tweet was in response to a tweet where Bloomberg blatantly recruited said people.

comment 4y ago · link · parent

Denial doesn’t keep any of us safe!

Annecdata: having successfully avoid COVID for 2.5 years and been pretty careful (incl 2 vaccination + 2 boosters) my wife and I still managed to catch it a few weeks ago and infected my parents (after 1 visit). However 5,000 miles away my friend, my sister in-law, and husband all caught it. While this isn't a statistic, it is a remarkable coincidence that all of the mentioned people caught COVID for the first time, approximately at the same time. It certainly seems remarkably contagious and I have to think that I caught BA.5.

comment 4y ago · link · parent

I didn't say that, but I don't see the waveform they use documented and I didn't see it documented how to make your own and/or replace the one the dev kit is using.

It seems you think I'm wrong, great! Please share how and why.

comment 4y ago · link · parent

There are oh-so-many, but the one you think of might be Olof's SERV (https://github.com/olofk/serv)

comment 4y ago · link · parent

I don't think anyone would seriously claim that the existing 8-bit architectures represent any optimal design point (AVR definitely does not). A constant cycle of innovation is what characterize all technology progress.

comment 4y ago · link · parent

> "Realistically, there are probably a bunch of Zuckerbergs at the company who shouldn't be here," people said.

There, fixed it.

comment 4y ago · link · parent

Did you just compare CRUD to literal rocket science?

comment 4y ago · link · parent

You will chuckle, but in 1989 it was "Eight Megabytes And Constantly Swapping" (just kidding Emacs, I love you, and what's 8 MiB today?) I've also seen Escape-Meta-Alt-Control-Shift (blew my mind).

Today Emacs is puny compared to The Browser.

comment 4y ago · link · parent

There's a lots of dev kits, but take for example https://shopkits.eink.com/product/ice-driving-board/

State of the art (at least a two years ago): Dasung Paperlike HD-F and reMarkable 2.

You'll not get the performance the those two with a dev kit like the one I linked.

Disclaimer: owns too many eInk devices (including Dasung Paperlike HD-F and the truly reMarkable 2), but haven't implemented any of this myself.

comment 4y ago · link · parent

I didn't point that out: I originate from a country in which I used to get a postcard summarizing what they thought I owed with a "Yes, I agree" checkbox and a field to sign. You could always file an extensive return if desired, but unless you had complicated (notably international) transactions, the return was basically accurate.

This only works because there's a high level of trust in the government and low corruption, and having detailed tracking isn't (very) controversial. The US is almost the exact opposite on every metric so it wouldn't work for it.

comment 4y ago · link · parent

That's brilliant work, thanks!

Imagine if IRS would produce something like this (open sourced) and we could file our returns like this.

1
141516
52