this post was submitted on 03 Jul 2024
43 points (79.5% liked)

Programmer Humor

18961 readers
1047 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

A shitpost about languages that generate CVEs

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 month ago (8 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...

[–] [email protected] 11 points 1 month ago (4 children)

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

[–] [email protected] 1 points 1 month ago (2 children)

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

[–] [email protected] 6 points 1 month ago

Just because you can doesn’t mean you should and i hope that is not a thing

[–] [email protected] 4 points 1 month ago (1 children)

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.

[–] [email protected] 1 points 1 month ago

Just bundle a JavaScript interpreter with the JavaScript code. No need to compile JavaScript.

load more comments (1 replies)
load more comments (4 replies)