• @[email protected]
    link
    fedilink
    English
    632 days ago

    Speculative execution seems to be the source of a lot of security flaws in many different CPUs. CPU manufacturers seem to be so focused on winning the performance race that security aware architecture design takes the backseat.

    Also, it’s more and more clear that it’s a bad idea that websites can just execute arbitrary code. The JS APIs are way too powerful and complex nowadays. Maybe websites and apps should’ve stayed separate concepts instead of merging into “web apps”.

    I also wonder if it’d be possible to design a CPU so vulnerabilities like these are fixable instead of just “mitigable”. Similar to how you can reprogram an FPGA. I have no clue how chip design works though, but please feel free to reply if you know more about this.

    • fmstrat
      link
      fedilink
      English
      47 hours ago

      Fast for the benchmarks. “We’ll make it slower and safer later.”

    • @cellardoor
      link
      English
      28 hours ago

      Take a look at ARM Morello and CHERI.

    • @grue
      link
      English
      1020 hours ago

      Also, it’s more and more clear that it’s a bad idea that websites can just execute arbitrary code. The JS APIs are way too powerful and complex nowadays.

      Javascript in general was a mistake, and always has been.

      The web should’ve had Scheme or Python instead. Or better yet, we shouldn’t have given up so quickly on Java Web Start because then we could’ve had proper web applications with their own windows and native UIs and such.

      Maybe websites and apps should’ve stayed separate concepts instead of merging into “web apps”.

      Damn straight!

    • @[email protected]
      link
      fedilink
      English
      16
      edit-2
      2 days ago

      Being a Linux user I really like everything being ran in the browser. What if we just have more control of which JS APIs can be used? On a site by site bases. Which I assume can probably already be done with extensions.