Live data from Hacker News

RVVM – The RISC-V Virtual Machine

github.com

31–40 of 69 posts

Re: RVVM – The RISC-V Virtual Machine

#31
post #11

Earlier quoted context omitted.

That comment is actually a good politically-neutral illustration of a major force underpinning today's political hyper-polarization: people simply can't handle the mere existence of something they don't like and will respond by shunning entire bodies of work or attacking people unnecessarily. This is definitely new as in the last 10-15 years. In the past more people seemed able to just disregard or shrug at things th…

This may be new in the last 10-15 years, but let's not forget why that icon appeared there: because of the huge marketing budget spend created by tobacco companies to make smoking look cool instead of something that kills millions of people slowly.

I'm not a smoker and don't want smoking anywhere near me, but I don't think it's fair to assume it's just advertising. Smoking is enjoyable for many people and makes them feel good. It's also been in use as far as history records, long before advertising budgets and big tobacco.

Re: RVVM – The RISC-V Virtual Machine

#32
post #11

Earlier quoted context omitted.

Do icons of cigarettes make you sick and destroy millions of lives? Does removing an icon of cigarette make you less sick and help save millions of lives?

That comment is actually a good politically-neutral illustration of a major force underpinning today's political hyper-polarization: people simply can't handle the mere existence of something they don't like and will respond by shunning entire bodies of work or attacking people unnecessarily. This is definitely new as in the last 10-15 years. In the past more people seemed able to just disregard or shrug at things th…

It's not new, and it's not "profound intolerance", jfc. Cigarette advertising has been banned on American television since at least the 1980's, and it's generally been taboo to depict unnecessary cigarette usage in TV shows and movies for at least as long. This has actually been extraordinarily effective as part of a multifaceted effort to reduce cigarette usage and the resulting diseases.

And yes, people have been complaining about it on civil libertarian grounds at least as long. Which is fair enough.

But if you want to see some actual __intolerance__, you might look at what's happening in Florida.

Re: RVVM – The RISC-V Virtual Machine

#33
post #14
post #11

Earlier quoted context omitted.

That comment is actually a good politically-neutral illustration of a major force underpinning today's political hyper-polarization: people simply can't handle the mere existence of something they don't like and will respond by shunning entire bodies of work or attacking people unnecessarily. This is definitely new as in the last 10-15 years. In the past more people seemed able to just disregard or shrug at things th…

Having been raised out of a dictorship I don't have any patience for the cancelation culture that is now so trendy. If those people would get visits from PIDE/DGS, or similar agencies, they would see how real cancelation actually works in practice.

It's very hard to believe you. Comparing life under a dictatorship with somebody asking to change an icon without having any power to impose their will.

Re: RVVM – The RISC-V Virtual Machine

#34
post #11

Earlier quoted context omitted.

Do icons of cigarettes make you sick and destroy millions of lives? Does removing an icon of cigarette make you less sick and help save millions of lives?

That comment is actually a good politically-neutral illustration of a major force underpinning today's political hyper-polarization: people simply can't handle the mere existence of something they don't like and will respond by shunning entire bodies of work or attacking people unnecessarily. This is definitely new as in the last 10-15 years. In the past more people seemed able to just disregard or shrug at things th…

> people simply can't handle the mere existence of something

Unlike the previous say 2000 years of history, where societies around the world were very tolerant, especially of different religions, cultures, lifestyles etc /s

No? Then please don't be silly. xiphias2's request might be strange and even mildly annoying but modern society does NOT have a problem of anti-smoker extremists organizing hangings in the town's square.

Re: RVVM – The RISC-V Virtual Machine

#35
post #24

Earlier quoted context omitted.

The RISC-V isa is specifically designed to be nice and regular and easy to decode, and work with, which definitely shows here (also in the RTL code if you look at some of the well designed RISC-V cores) Of course, bot x86 and Arm started like that as well - but after 20+ years of evolution, they have to drag along a lot of history. (and one never really takes things away from an ISA, you only add new features, and at…

A while back, I read a Sun patent on not implementing some instructions and emulating them in the kernel's illegal operation trap handler. The whole patent seemed obvious to me, but I'm glad that it was patented and now expired, providing obvious prior art in any attempts to patent it today. For MIT's 6.004 "Beta" processor loosely based on the DEC Alpha AXP, our test cases ran with a minimal kernel that would trap a…

> Both hypervisors and OS kernels would be simpler if the platform guaranteed a hypervisor is always present.

This would make an excellent RISC-V proposal!

The nice thing is that RISC-V already has the concept of the HART, you could have a supervisor hart that manages many virtual harts.

Re: RVVM – The RISC-V Virtual Machine

#36
post #17

You're not allowed to use branding material of the RISC-V foundation to advertise your personal project. I suggest removing the logo to avoid your repo being taken down.

An issue and discussion of if now: https://github.com/LekKit/RVVM/issues/77

This is not commercial and the terms for the logo is: “(..) The RISC-V trade mark or the RISC-V logo may be freely used for non-commercial research and academic projects as long as the guidelines below are followed. Individual members may not use the RISC-V trademark for commercial purposes (..)”

So they will probably not remove it.

Re: RVVM – The RISC-V Virtual Machine

#37
post #17

You're not allowed to use branding material of the RISC-V foundation to advertise your personal project. I suggest removing the logo to avoid your repo being taken down.

An issue and discussion of if now: https://github.com/LekKit/RVVM/issues/77 This is not commercial and the terms for the logo is: “(..) The RISC-V trade mark or the RISC-V logo may be freely used for non-commercial research and academic projects as long as the guidelines below are followed. Individual members may not use the RISC-V trademark for commercial purposes (..)” So they will probably not remove it.

I think guidelines-wise the use is fine, except "The RISC-V..." is toiling the line vs "A RISC-V...".

Re: RVVM – The RISC-V Virtual Machine

#38

Instruction interpreter is nicely human-readable: https://github.com/LekKit/RVVM/blob/staging/src/cpu/riscv_i....

The RISC-V isa is specifically designed to be nice and regular and easy to decode, and work with, which definitely shows here (also in the RTL code if you look at some of the well designed RISC-V cores) Of course, bot x86 and Arm started like that as well - but after 20+ years of evolution, they have to drag along a lot of history. (and one never really takes things away from an ISA, you only add new features, and at…

>Of course, bot x86 and Arm started like that as well - but after 20+ years of evolution, they have to drag along a lot of history. (and one never really takes things away from an ISA, you only add new features, and at best deprecate old ones).

Feature-wise, RISC-V is already about on par and has managed not to become a mess.

Furthermore, unlike x86, ARM has broken binary compatibility several times in the past, and yet failed to use the chance to do anything else than minor adjustments.

RISC-V is in a really good position.

Re: RVVM – The RISC-V Virtual Machine

#39
post #24

Earlier quoted context omitted.

The RISC-V isa is specifically designed to be nice and regular and easy to decode, and work with, which definitely shows here (also in the RTL code if you look at some of the well designed RISC-V cores) Of course, bot x86 and Arm started like that as well - but after 20+ years of evolution, they have to drag along a lot of history. (and one never really takes things away from an ISA, you only add new features, and at…

A while back, I read a Sun patent on not implementing some instructions and emulating them in the kernel's illegal operation trap handler. The whole patent seemed obvious to me, but I'm glad that it was patented and now expired, providing obvious prior art in any attempts to patent it today. For MIT's 6.004 "Beta" processor loosely based on the DEC Alpha AXP, our test cases ran with a minimal kernel that would trap a…

>A while back, I read a Sun patent on not implementing some instructions and emulating them in the kernel's illegal operation trap handler. The whole patent seemed obvious to me, but I'm glad that it was patented and now expired, providing obvious prior art in any attempts to patent it today.

I understand opensbi runs in M mode, taking on that role among others.

Re: RVVM – The RISC-V Virtual Machine

#40
post #15

are there any risc v sbcs out there that are actually available? every one i look for is out of stock. i’d love to play around with a real chip

VisionFive 2 is the fastest money can buy while also being under $100, making it about the automatic choice today.
Post reply on HN