• IHeartBadCode@kbin.social
    link
    fedilink
    arrow-up
    199
    arrow-down
    2
    ·
    1 year ago

    For hardware folks: Using RISC-V.

    Legit, some dude in US Congress is wanting to crack down on China via… RISC-V exports, because oh no, the technology is too open and might give China some of our IP. Oh and by the way, dude has a pretty big Intel portfolio, but nevermind that!!

    As an aside, why the hell are lawmakers allowed to trade stocks?

    • Fried_out_Kombi@lemmy.world
      link
      fedilink
      English
      arrow-up
      90
      ·
      edit-2
      1 year ago

      It’s especially dumb because RISC-V is – dare I say it – inevitably the future. Trying to crack down on RISC-V is like trying to crack down on Linux or solar photovoltaics or wind turbines. That is, you can try to crack down, but the fundamental value proposition is simply too good. All you’ll achieve in cracking down is hurting yourself while everyone else gets ahead.

      • rockSlayer@lemmy.world
        link
        fedilink
        arrow-up
        38
        ·
        edit-2
        1 year ago

        I’d compare it to the RSA encryption algorithm. It was classified as a weapon by the US and was banned from being spread internationally, so open source advocates put the source code basically everywhere. It was even printed on shirts

    • shiveyarbles@beehaw.org
      link
      fedilink
      arrow-up
      25
      ·
      1 year ago

      When you trust people in power to hold themselves accountable, accountability seems to disappear over time.

      • The Doctor@beehaw.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        There’s no trust there. They’re in power and have a good deal of money, so there isn’t a whole lot we can actually do about it. Arguably, wanting power for the express purposes of making a buck and being less accountable for anything is a good reason for running for office.

      • Fried_out_Kombi@lemmy.world
        link
        fedilink
        English
        arrow-up
        18
        ·
        edit-2
        1 year ago

        This talk, given by David Patterson (a legend in computer architecture and one of the people who helped create RISC-V at UC Berkeley) is an excellent (and accessible) introduction.

        • peopleproblems@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          Thank you so much for that. I haven’t touched hardware in a long time, but it’s exciting to see how much impact it’s already had on ML.

          Also, the bit about a 63,000x improvement over python is going to be something I bring up in a conversation I just see it.

          • Fried_out_Kombi@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            1 year ago

            Yeah, I’m working in embedded ML, and it’s an insanely exciting time. We’re getting more and more microcontrollers and single-board computers with special AI accelerators, many of them RISC-V, by the day it seems. One of the next steps (in my opinion) is finding a good way to program them that doesn’t involve C/C++ (very fast but also so painful to do AI with) or Python (slow unless it’s wrapping underlying C code, and unsuitable for microcontrollers). In fact, that’s exactly what I’m working on right now as a side project.

            What’s also cool is RISC-V promises to be the one instruction set architecture to rule them all. So instead of having PCs as x86, phones and microcontrollers as ARM, then all sorts of other custom architectures like DSPs (digital signal processors), NPUs, etc., we could just have RISC-V with a bunch of open standard extensions. Want vector instructions? Well, here’s a ratified open standard for vector instructions. Want SIMD instructions? Congrats, here’s another ratified open standard.

            And all these standards mean it will make it so much easier for the compiler people to provide support for new chips. A day not too long from now, I imagine it will become almost trivial to compile programs that can accelerate tons of scientific, numerical, and AI workloads onto RISC-V vector instructions. Currently, we’re stuck using GPUs for everything that needs parallelization, even though they’re far from the easiest or most optimal devices for many of our computational needs.

            As computing advances, we can just create and ratify new open standards. Tired of floating point numbers? You could create a proposal for a standard posit extension today if you wanted to, then fork LLVM or GCC or something to provide the software support as well. In fact, someone already has implemented an open-source RISC-V chip with posit arithmetic and made a fork of LLVM to support it. You could fire it up on an FPGA right now if you wanted.

        • Otter@lemmy.ca
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          I got confused seeing my university’s YouTube channel open up, thought I clicked on a recording for one of my classes lol

          If anyone else is from UBC, we’re over at [email protected]

    • Bonskreeskreeskree@lemmy.world
      link
      fedilink
      arrow-up
      15
      arrow-down
      3
      ·
      1 year ago

      To answer your question, because we the people allowed it and we continue to allow it by not demanding it be ended or at the very least supporting candidates campaigning on doing something about it.

      • madcaesar@lemmy.world
        link
        fedilink
        arrow-up
        6
        arrow-down
        13
        ·
        1 year ago

        By people, you mean the Republican voter. We Democrats can’t put pressure on our candidates about these issues because losing means a batshit insane right wing / nazi / Christian nationalist wins…

        So we have to pick and chose our battles. I’ve got bigger issues than multi millionaires being allowed to trade stocks.

    • TheImpressiveX@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      While we’re on the topic, can anyone recommend some good RISC-V computers? It seems interesting and I’d like to try it out.