A shitpost about languages that generate CVEs

you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 2 years ago (2 children)

The "C is bad trope" is getting way too old. I'm surprised the author didn't plug Rust.

the only programming language in the world where these vulnerabilities regularly happen

Maybe because it's one of the most widely used languages in the world...

  • source
  • hideshow 4 child comments
  • [–] 27 points 2 years ago (1 child)

    The trope will be "old" once the mainstream view is no longer that C-style memory management is "good enough".

    That said, this particular vulnerability was primarily due to how signals work, which I understand to be kind of unavoidably terrible in any language.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 10 points 2 years ago (1 child)

    Well, one of the most widely used that allows to do low-level stuff. The most widely used one is by far JavaScript but good luck making an OS or a device driver with it

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 2 years ago (2 children)

    I'm sure there are projects covering those areas written in JavaScript.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 2 years ago (1 child)

    Oh gawd. That would be so horrible! Is there a project o compile JavaScript to bytecode? With like LLVM? There must be, but I haven't heard of it. I shouldn't even say anything because I will be better off pretending it doesn't exist.

  • source
  • parent
  • hideshow 2 child comments