this post was submitted on 12 Jul 2024
1 points (100.0% liked)

Technology

59566 readers
4890 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] just_another_person@lemmy.world 0 points 4 months ago (1 children)

He's being misquoted by the headline. He FEARS that it will make the same mistakes. Let's be clear about RISC is here in the first place: an open-source hardware architecture. Anyone with enough money and willpower to fork it for their needs will do so. It's anyone's game still. He's just simply saying that the same type of people who took over ARM and x86 are doomed to make the same mistakes. Not that RISC-V is bad.

[–] bitfucker@programming.dev 0 points 4 months ago (1 children)

I'm being pedantic here but RISC-V is not a hardware architecture as in something that you can send to a manufacturer and get it made. It is an ISA. How you implement those ISA is up to you. Yes there are open implementations but I think it is important to distinguish it.

[–] umbrella@lemmy.ml 0 points 4 months ago (1 children)
[–] bitfucker@programming.dev 0 points 4 months ago* (last edited 4 months ago)

So does x86. The difference is license. Just like how Intel and AMD have a VERY different design (implementation) as of now, so does RISC-V. Any vendor can implement it however they want, but they won't have to pay anyone for using RISC-V ISA

[–] shaked_coffee@feddit.it 0 points 4 months ago (3 children)

Anyone willing to summarize those mistakes here, for those who can't watch the video rn?

[–] transientpunk@sh.itjust.works 0 points 4 months ago* (last edited 4 months ago) (1 children)

He doesn't list what the mistakes will be. He said that he fears that because hardware people aren't software people, that they will make the same mistakes that x86 made, which were then made by Arm later.

He did mention that fixing those mistakes was faster for Arm than x86, so that brings hope that fixing the mistakes on Risc V will take less time

[–] MonkderDritte@feddit.de 0 points 4 months ago (2 children)

I think it was something with instruction sets?

[–] Cocodapuf@lemmy.world 0 points 4 months ago

I mean, that's all chip architectures are, so yes.

[–] Hotzilla@sopuli.xyz 0 points 4 months ago

No, it was about the prediction engines that contain security vulnerabilities. Problem is that software has no control over that, because hardware does future predictions for performance optimization.

[–] SpikesOtherDog@ani.social 0 points 4 months ago (1 children)

Basically, his concern is that if they are not cooperating with software engineers that the product won't be able to run AAA turns.

It's more of a warning than a prediction.

[–] catloaf@lemm.ee 0 points 4 months ago (1 children)
[–] SpikesOtherDog@ani.social 0 points 4 months ago (1 children)

Sorry, AAA games. I was swiping on my keyboard and didn't see the mistake.

[–] Reverendender@sh.itjust.works 0 points 4 months ago (1 children)
[–] sugar_in_your_tea@sh.itjust.works 0 points 4 months ago (2 children)

Not OP, but consider using FUTO Keyboard. It's made by the group Louis Rossmann works with, and it has offline speech to text (no sending data to Google), swipe keyboard, and completions. It's also source-available, which isn't as good as open source, but you could examine the code and verify their claims if you wanted to.

I'm using it and, while it's not perfect, it's way better than the open source Android keyboards with swiping that I've tried.

[–] victorz@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (1 children)

Thanks, will try it out! I need an emoji picker though. Does it have that?

Edit: typing with it now. It had an emoji picker. 👍

  1. I like the picker's grouping, actually. Body parts (hands) are closer to faces.
  2. The recent emoji section doesn't work.
  3. It doesn't have the latest emoji set, as far as I can tell.
  4. The swiping is much more sensitive than Gboard. I'm not a fan as of yet. Maybe it's still learning. Seems like it can't handle the speed as well as Gboard can.
  5. Prediction suggestions are terrible so far.
  6. I don't like that swipe delete doesn't delete whole words.

All in all, I don't think I can recommend it in its current state.

But, if you type by pressing buttons, the predictions are actually pretty good. Maybe that saves a bit of time if you're very stationary and not on the move.

[–] sugar_in_your_tea@sh.itjust.works 0 points 4 months ago (1 children)

Yeah, it's very much alpha software, but it works surprisingly well for being in such an early state. I'm using it as my keyboard now, and it works well enough, but certainly not perfect.

Then again, I'm willing to deal with a lot of nonsense to avoid Google, so YMMV.

I hear the speech to text is pretty good. I haven't tried it (I hate dictation), but maybe you could give it a whirl before you give up on it, it's supposed to be its killer feature.

[–] victorz@lemmy.world 0 points 4 months ago

Yeah, I will admit that, too. Very good for alpha software. 👍

[–] Geth@lemmy.dbzer0.com 0 points 4 months ago

Giving it a whirl right now. Thanks for the recommendation.

[–] JayDee@lemmy.ml 0 points 4 months ago (1 children)

Instruction creep maybe? Pretty sure I've also seen stuff that seems to show that Torvalds is anti-speculative-execution due to its vulnurabilities, so he could also be referring to that.

[–] Traister101@lemmy.today 0 points 4 months ago (1 children)

Counterintuitive but more instructions are usually better. It enables you (but let's be honest the compiler) to be much more specific which usually have positive performance implications for minimal if any binary size. Take for example SIMD which is hyper specific math operations on large chunks of data. These instructions are extremely specific but when properly utilized have huge performance improvements.

[–] JayDee@lemmy.ml 0 points 4 months ago

I understand some instruction expansions today are used to good effect in x86, but that there are also a sizeable number of instructions that are rarely utilized by compilers and are mostly only continuing to exist for backwards compatibility. That does not really make me think "more instructions are usually better". It makes me think "CISC ISAs are usually bloated with unused instructions".

My whole understanding is that while more specific instruction options do provide benefits, the use-cases of these instructions make up a small amount of code and often sacrifice single-cycle completion. The most commonly cited benefit for RISC is that RISC can complete more work (measured in 'clockcycles per program' over 'clockrate') in a shorter cyclecount, and it's often argued that it does so at a lower energy cost.

I imagine that RISC-V will introduce other standards in the future (hopefully after it's finalized the ones already waiting), hopefully with thoroughly thought out instructions that will actually find regular use.

I do see RISC-V proponents running simulated benchmarks showing RISC-V is more effective. I have not seen anything similar from x86 proponents, who usually either make general arguments, or worse , just point at the modern x86 chips that have decades of research, funding, and design behind them.

Overall, I see alot of doubt that ISAs even matter to performance in any significant fashion, and I believe it for performance at the GHz/s level of speed.

[–] Evil_Shrubbery@lemm.ee 0 points 4 months ago (1 children)

Even if that happens, still open sauce

[–] NoMoreCocaine@lemmynsfw.com 0 points 4 months ago

Not really? I mean, only partially.

[–] chemicalwonka@discuss.tchncs.de 0 points 4 months ago* (last edited 4 months ago) (2 children)

Just a reminder the RISC-V architecture is not open source as many think it is only the instruction set is open source. We remain far from a truly open/libre hardware for now

[–] barsoap@lemm.ee 0 points 4 months ago

There's plenty of designs out there that you can load onto an FPGA or, funds permitting, send off to a fab to burn into silicon.

[–] ricdeh@lemmy.world 0 points 4 months ago

Sorry, but that is completely wrong. RISC-V is an ISA, nothing less, nothing more, and it is completely, 100% open-source. The licensing of the hardware implementations is a different matter, but that's outside of the scope of RISC-V. As I said, it is just an ISA.

[–] SeattleRain@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (2 children)

It's open source nature protects against that. People mistake Linus as being in the same boat as Stallman but Linus was only open source by circumstance, he kind infamously doesn't seem to appreciate the role open source played in his own success.

It already directly addresses the mistakes of x86 and ARM. I don't know what he is so worried about.

[–] exu@feditown.com 0 points 4 months ago (1 children)

Only the core part of the ISA is open source. Vendors are free to add whatever proprietary extensions they want and sell the resulting CPU.

You might get such a CPU to boot, but getting all functionality might be the same fight it is with arm CPUs currently.

[–] ricdeh@lemmy.world 0 points 4 months ago

I'll say to you what I said to the other commentor: RISC-V is an ISA, nothing less, nothing more, and it is 100% open-source. It is not trying to be anything else. Yes, hardware implementations from processor vendors can have different licensing and be proprietary, but that is not the fault of RISC-V, nor does that have anything else to do with it. RISC-V, as an ISA, and only an ISA, is completely open-source and not liable for the bs of OEMs.

[–] cmhe@lemmy.world 0 points 4 months ago

Protects against what?

What I read it here is just a vague critic from him of the relation between hard- and software developer. Which will not change just because the ISA is open source. It will take some iterations until this is figured out, this is inevevable.

Soft- and hardware developers are experts in their individual fields, there are not many with enough know-how of both fields to be effective.

Linus also points out, that because of ARM before, RISC-V might have a easier time, on the software side, but mistakes will still happen.

IMO, this article doesn't go into enough depths of the RISC-V specific issues, that it warrants RISC-V in the title, it would apply to any up and coming new ISA.

[–] lps@lemmy.ml 0 points 4 months ago (1 children)

Well regardless, the world needs alternatives that are outside of restrictive US patent law and large monopolistic control. Thank god for pioneers:)

[–] erwan@lemmy.ml 0 points 4 months ago (1 children)

ARM Inc is an English company owned by a Japanese company

[–] zaphod@sopuli.xyz 0 points 4 months ago

Pretty sure it's a plc, not and Inc.

[–] KillingTimeItself@lemmy.dbzer0.com 0 points 4 months ago (4 children)

smells like linus thinks there is going to be an ever increasing tech debt, and honestly, i think i agree with him on that one.

RISCV is likely going to eventually overstep it's role in someplaces, and bits and pieces of it will become archaic over time.

The gap between hardware and software level abstraction is huge, and that's really hard to fill properly. You just need a strict design criteria to get around that one.

I'm personally excited to see where RISCV goes, but maybe what we truly need is a universal software level architecture that can be used on various different CPU architectures providing maximum flexibility.

[–] Cocodapuf@lemmy.world 0 points 4 months ago (3 children)

but maybe what we truly need is a universal software level architecture that can be used on various different CPU architectures providing maximum flexibility.

I think that's called Java.

[–] greywolf0x1@lemmy.ml 0 points 4 months ago
[–] ICastFist@programming.dev 0 points 4 months ago (1 children)

Then again, if you don't have the JVM/JRE, Java won't work, so first you need to write it in another language and in such a way that it works across a bunch of different ARM and x86 processors.

[–] Cocodapuf@lemmy.world 0 points 4 months ago (1 children)

I don't know, if your platform doesn't have a jre... Is it really a platform?

load more comments (1 replies)
[–] KillingTimeItself@lemmy.dbzer0.com 0 points 4 months ago (1 children)

but but, minecraft in java bad and stinky??

[–] Cocodapuf@lemmy.world 0 points 4 months ago (1 children)

But Java is the good version of Minecraft...

unfortunately, you're aren't wrong.

[–] arality@programming.dev 0 points 4 months ago (1 children)

software level architecture that can be used on various different CPU architectures providing maximum flexibility.

I've only done a little bare metal programming, but I really don't see how this is possible. Everything I've used is so vastly different, I think it would be impossible to create something like that, and have it work well.

[–] KillingTimeItself@lemmy.dbzer0.com 0 points 4 months ago* (last edited 4 months ago) (1 children)

theoretically you could do it by defining an architecture operations standard, and then adhering to that somewhat when designing a CPU. While providing hardware flexibility as you could simply, not implement certain features, or implement certain other features. Might be an interesting idea.

That or something that would require minimal "instruction translation" between different architectures.

It's like x86. except if most of the features were optional.

It sounds like you're just reinventing either the JVM (runtime instruction translation), compilers (LLVM IR), or something in between (JIT interpreters).

The problem is that it's a hard problem to solve generally without expensive tradeoffs:

  • interpreter like JVM - will always have performance overhead and can't easily target arch-specific optimizations like SIMD
  • compiler - need a separate binary per arch, or have large binaries that can do multiple
  • JIT - runtime cost to compiling optimizations

Each is fine and has a use case, but I really don't think we need a hardware agnostic layer, we just need languages that help alleviate issues with different architectures. For example, Rust's ownership model may help prevent bugs that out of order execution may expose. It could also allow programmers to specify more strict limits on types (e.g. non-zero numbers, for example), which could aid arch-specific optimizations).

[–] nixcamic@lemmy.world 0 points 4 months ago

universal software level architecture that can be used on various different CPU

Oh we already have dozens of those haha

[–] itsnotits@lemmy.world 0 points 4 months ago (1 children)

overstep its* role in some places

username checks out

[–] BobGnarley@lemm.ee 0 points 4 months ago (1 children)

RISC-V is the only shot we have at usable open source hardware. I really, really hope it takes off.

[–] wewbull@feddit.uk 0 points 4 months ago (1 children)

Whilst some open source implementations exist, RISC-V is not open source. It's an open standard. i.e. there's no license fee to implement it.

load more comments (1 replies)
[–] magnolia_mayhem@lemmy.world 0 points 4 months ago

Maybe, but the point is that it's open. There's a much higher chance that one of the companies that builds parts will make good decisions.

load more comments
view more: next ›