HNHacker News
TopNewBestAskShowJobs

LeFantome

2,162 karma · joined August 14, 2020

submissionscomments
LeFantome··on Fedora 44 on the Raspberry Pi 5
You have been able to run full Linux distros on Raspberry Pi for ages. Ubuntu since 23.10 and Debian most notably.
LeFantome··on Parallels confirms MacBook Neo can run Windows in a virtual machine
People whip out “mobile chip” like this thing is going to crawl. It is faster than the Apple M1 (and runs the same software).
LeFantome··on Parallels confirms MacBook Neo can run Windows in a virtual machine
So, you are not in the market for a $600 computer then. Agreed?
LeFantome··on RISC-V Is Sloooow
Extensiosn are not just for academia. If I am building a microcontroller to control the storage media I am selling (eg. hard drives), why do I need to implement a bunch of features I am not going to use? What about my flow rate monitor? Or my pacemaker?

In some of these, less silicon means less power means more better. Like that last example.

LeFantome··on RISC-V Is Sloooow
Interestingly, RISC-V vector extensions are variable length.

So, you can compile your RISC-V software to require the equivalent of AVX and it will run on whatever size vectors the hardwre supports.

So, on x86-64, if I write AVX2 software and run it on AVX512 capable hardware, I am leaving performance on the table. But if I write software that uses AVX512, it will not run on hardware that does not support those extensions (flags).

On RISC-V, the same binary that uses 256 bit vectors on hardware that only supports that will use 512 bit vectors on hardware that supports it, or even 1024 bit vectors on hardware like the A100 cores of the SpacemiT K3.

So, I guess X86-64 is is the RyanAir of processors.

LeFantome··on RISC-V Is Sloooow
RyanAir is the least expensive right? And it still gets you there?

I would be ok with that if it was a valid analogy.

It is valid in microcontroller land. There, the chip and the software are provided by the same party. So you can select for exactly the RISC-V features you need and save yourself some silicon. That sounds like a win to me.

At the application level, like a server or a desktop, that would be a disaster because I get my hardware and software from different people. How do the software guys know what hardware to target? Well, that is exacly why RVA23 exists.

What does RVA23 mean? It is the RISC-V "Application" profile. It allows you to build software to a single hardware target and trust that hardware makers will target the same proifle. RVA23 is like saying x86-64v4. Both are simple names for a long list of extensions (flags) and assumptions that you expect the hardware to honour. So, when Ubuntu 26.04 says it requires RVA23, it means that all the software built on it can assume those features. No a la carte.

The reason RVA23 is geting so much attention is that it has essentially the same feature set as modern ARM64 or x86-64. Software will be able to target this profile for a long time. There may be a new profile in a few years time, like RVA30, but hardware that implements that will still run RVA23 software (just as x86-64v4 hardware will run x86-64v1 software). Hardware built for profiles before RVA23 may be missing features modern applications expect.

I guess you could say that RVA23 is British Airways Business Class.

If you really want to support hardware designed before RVA23, almost everything you would want to run pre-built software on supports RVA20. And again, your RVA20 stuff will run fine on RVA23 hardware (but with fewer features--like no vectors). So maybe no in-flight meal, but it will get you there.

LeFantome··on RISC-V Is Sloooow
> anybody can’t build a RISC-V chip

Yes, they can. My point is that nobody needs to give you permission. You can pretend that does not matter but China is about to educate us about what this means rather dramatically in the next few years.

And India is building RISC-V chips. And Europe is building RISC-V chips. Tenstorrent started in Canada (building RISC-V chips).

> the number who can get or own a FAB to manufacture the chips

Really? Almost nobody owns fabs and yet there are a multitude of chip makers. Getting access to a fab requires only money. It has nothing to do with the ISA or your skills. TSMC can make RISC-V chips just fine and already do. In some places, like China, RISC-V chips may be at the front of the line.

> The number of people who can design a chip implementation of the RISC-V ISA

Anybody can build a RISC-V chip. Build one yourself: https://github.com/tscheipel/HaDes-V

Every electrical engineer is going to know how to design a RISC-V chip. But you could also be an intelligent garbage man and design a RISC-V chip in your spare time using only open source materials. You can even tape it out.

https://tinytapeout.com/

"But that is only a 32 bit microcontroller!", you might say. Sure. But the skills to build RISC-V are going to propogate. Of course, that does not mean that everybody in the world is going to figure out how to build chips. That is clearly not my point. They will still be built primarily by a select few. But that is not unique to RISC-V by any stretch. In fact, less so.

The hard part about building a chip from scratch is not the ISA. You think that a world-class engineer working with ARM64 or amd64 today cannot design a RISC-V chip? That is like saying a carpenter building oak cabinets lacks the skills to make them with maple.

And since it is the same amount of work to start fresh regardless of ISA, why not start with RISC-V?

Except you do not have to start fresh with RISC-V because there are many, and will be many, many more, open designs to study and start with. Here is a 64 bit chip that implements the very latest RISC-V vector extensions:

https://github.com/tenstorrent/riscv-ocelot

Which, by the way, means that although most won't, anybody can build a RISC-V chip.

The RISC-V world will look like ARM. Most chip makers will license the core design off somebody else. But there will be more of those "somebody elses" to choose from. And there will be more people who choose to design their own silicon. Meta just bought Rivos. What for do you think? And they did not have to talk to ARM about it.

LeFantome··on RISC-V Is Sloooow
You think Meta bought Rivos to work on embedded?

You think the Alibaba C930 CPU is for embedded? 15 SPECint2006 / GHz

Or that the Tenstorrent Ascaclon will be? 18 SPECint2006 / GHz

Even the SpacemiT K3 has better AI performance than an Apple Silicon M4.

And RISC-V chips released this year are 2-4 times faster than last year. RISC-V is not the fastest ISA but it is improving the fastest.

With so many companies backing RISC-V, why would I bet against it?

LeFantome··on RISC-V Is Sloooow
I am going to make a wild guess here.

The reason that he does not tell us what hardware he is using is because none of these times are for a single system building binutils. I think he is using a mix of systems and then doing some kind of averaging to tell us what a individual system would look like.

For some kind of hardware, all the systems they have would be the fastest that architecture offers, like with i686 I expect. While others are going to be a mix of old and new, like x86-64.

For RISC-V, the latest gen hardware is about as fast as the numbers he quotes for Aarch64. To be clear, the fastest ARM is still faster than the fastest RISC-V. But the numbers he quotes make no sense for something like a SpacemiT K3.

But if you are using RISC-V systems from two years ago in your build cluster, they will as he says be "Sloooow". But that shows how fast RISC-V is improving. It makes no sense to publish this article now.

At least, he should reveal what hardware he is talking about. His chart makes no sense (for most of the platforms).

LeFantome··on RISC-V Is Sloooow
This is article is being discussed on another forum where kernel build times are being compared for different RISC-V hardware. The conclusion there was that, if a BananaPi-F3 is taking 143 minutes to compile binutils, the SpacemiT K3 will buld it in 36 minutes using its X100 cores (half its cores).

That is the same as the time he quotes for the unidentified Aarch64 hardware.

Which makes this a pretty funny article.

I do not have a K3 to confrim. I am hoping to pick one up when it becomes more widely available next month.

LeFantome··on Nobody finishes reading my books
Mark Twain?
LeFantome··on I was interviewed by an AI bot for a job
Did you remember to use your em-dashes?
LeFantome··on RISC-V Is Sloooow
First, x86-64 also has “extensions” such as avx, avx2, and avx512. Not all “x86-64” CPUs support the same ones. And you get things like svm on AMD and avx on Intel. Remember 3DNow?

X86-64 also has “profiles” which tell you what extensions should be available. There is x86-64v1 and x86-64v4 with v2 and v3 in the middle.

RVA23 offers a very similar feature-set to x86-64v4.

You do not end up with a mess of extensions. You get RVA23. Yes, RVA23 represents a set of mandatory extensions. The important thing is that two RVA23 compliant chips will implement the same ones.

But the most important point is that you cannot “just use x86-64”. Only Intel and AMD can do that. Anybody can build a RISC-V chip. You do not need permission.

LeFantome··on RISC-V Is Sloooow
If he expects it to be resolved by the end of the year (and I agree it likely will be), why is he writing a post like this?

Is this because Fedora 44 is going to beta?

LeFantome··on RISC-V Is Sloooow
Ubuntu being RVA23 is looking smarter and smarter.

The RISC-V ecosystem being handicapped by backwards compatibility does not make sense at this point.

Every new RISC-V board is going to be RVA23 capable. Now is the time to draw a line in the sand.

LeFantome··on RISC-V Is Sloooow
SpacemiT K3 is on par with Rockchip RK3588. So, about 4 years behind ARM.

Tenstorrent Atlantis (first Ascalon silicon) should ship in Q2/Q3 and be twice as fast. About as fast as Ryzen5. So, about 5 years behind AMD.

But even the K3 has faster AI than Apple Silicon or Qualcomm X Elite.

Current trend-lines suggest ARM64 and RISC-V performance parity before 2030.

LeFantome··on RISC-V Is Sloooow
> Which risc-v implementation is considered fast?

SpacemiT K3 is 2010 Macbook performance single-core, 2019 Macbook Air multi-core, and better than M4 Apple Silicon for AI.

So I guess it depends on what you are going to do with it.

LeFantome··on RISC-V Is Sloooow
SpacemiT K3 is about the same performance as a Rockchip RK3588. So, 4 years ago?

Except the K3 kills it on AI (60 TOPS).

LeFantome··on I ported Linux to the PS5 and turned it into a Steam Machine
Sony removed Linux as an option because people used it to pirate games.
LeFantome··on I ported Linux to the PS5 and turned it into a Steam Machine
Did it go somewhere?
LeFantome··on I ported Linux to the PS5 and turned it into a Steam Machine
I do not own any Sony products and I am not a corporate cheerleader.

But “we” have to own that the reason that Sony stopped selling/supporting Linux in their machines is because “we” used it to circumvent copyright on closed-source games. It is the problem with “our” ethics, not theirs that led to Linux getting pulled.

LeFantome··on I ported Linux to the PS5 and turned it into a Steam Machine
I get what you are saying. But this always would have been exciting.

This is like a post saying someone got Apple Basic running on their Commodore 64.

LeFantome··on Ladybird adopts Rust, with help from AI
No, they never completed or adopted their own language. It was back in the SerenityOS days, before the browser forked into its own project.

https://github.com/SerenityOS/jakt

LeFantome··on Ladybird adopts Rust, with help from AI
> Soon it will do everything better and faster than me

There is no evidence of that coming from this post. The work was highly directly by an extremely skilled engineer. As he points out, it was small chunks. What chunks and in what order were his decision.

Is AI re-writing those chunks much faster than he could. Yes. Very much so. Is it doing it better? Probably not. So, it is mostly just faster when you are very specific about what it should do. In other words, it is not a competitor. It is a tool.

And the entire thing was constrained by a massive test suite. AI did not write that. It does not even understand why those tests are the way they are.

This is a long way from "AI, write me a JavaScript engine".

LeFantome··on Ladybird adopts Rust, with help from AI
Can you send a Gmail in Servo? No?

Ladybird is much further ahead in terms of actually rendering web pages that people use.

The biggest advantage to Servo was that it is written in Rust. This move begins to nullify that advantage as well.

Why exactly does Servo make more sense?

I hope they both succeed. But Ladybird is more likely to become a usable browser first.

LeFantome··on Ladybird adopts Rust, with help from AI
Ladybird already does that
LeFantome··on Ladybird adopts Rust, with help from AI
> The Ladybird devs painted themselves in a corner when choosing C++ for a new web browser

That choice was never made. C++ was selrcted as the language of choice for SerenityOS. Since the goal of the OS was to make its founder happy, and C++ was his faviourite language at the time, that seems like an obvious choice. Later, as part of SerenityOS, there was a need for an HTML parser. It was written in C++ as was the rest of the operating system. Then that HTML parser evolved into a full web browser. As part of the SerenityOS project, that browser was written completely in C++. Then that web browser forked off into an independent project...

Ladybird was already a fully functioning browser (not finished of course but complete enough to surf many web pages) when it was forked from SerenityOS to create a stand-alone web browser. The choice at that point was "keep evolving the current C++ code base" or start-over. I doubt the second option was even considered.

They have been evaluating other languages since before the fork. Rust was evaluated and rejectd early-on. They even created their own language at one point. https://github.com/SerenityOS/jakt

LeFantome··on Back to FreeBSD: Part 1
Very true in the beginning.

Your prof loved BSD/386 while the students were rocking a shared server cobbled from a 386 the science department threw out.

LeFantome··on Back to FreeBSD: Part 1
Not even remotely true. Some of the biggest changes recently have been driven by people trying to use Linux on their Apple Silicon. Or to play games. Or RISC-V chipmakers.
LeFantome··on Back to FreeBSD: Part 1
The story is pretty simple.

Linux got early commercial interest. That led to far better hardware support. The snowball continues to get bigger to this day.

When FreeBSD would have been getting corporate interest, when it was both free and clearly superior technically, BSD was being sued by AT&T and BSD looked risky. The lawsuit resolved and FreeBSD was born but not until after Linux was in the wild. It was too late.

We will always get these articles from those that prefer FreeBSD. It will never get enough attention to break the cycle started in the 90’s.

← PreviousPage 8 of 32Next →