this post was submitted on 11 Apr 2026
14 points (93.8% liked)

Programmer Humor

31090 readers
585 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] CookieOfFortune@lemmy.world 0 points 1 week ago (1 children)

Compile? Is that true? Pretty sure compilers are generally deterministic in their output.

[–] epyon22@sh.itjust.works 0 points 1 week ago (1 children)

Mainly making a joke that they aren't binarialy deterministic. Semantically they are though. https://blog.onepatchdown.net/2026/02/22/are-compilers-deterministic-nerd-version/

[–] CookieOfFortune@lemmy.world 0 points 1 week ago (1 children)

Hmmm would most code these days be compiled into minified JavaScript? That might be more deterministic.

[–] epyon22@sh.itjust.works 1 points 1 week ago* (last edited 1 week ago) (1 children)

JavaScript is what is called an interpreted language there is no compiling at all the code is directly read and interpreted at runtime. Most of the time it's minified which reduces the size. Or in the case Vue React or Angular is transpiled which still results in JavaScript code but framework specific syntax is broken out and it's ran through bable to do backwards compatibility for older browsers.

[–] CookieOfFortune@lemmy.world 0 points 1 week ago (1 children)

Isn’t Typescript compiled into JavaScript?

[–] epyon22@sh.itjust.works 1 points 1 week ago (1 children)

Technically transpiled. Compiling results in something binary.

[–] CookieOfFortune@lemmy.world 1 points 1 week ago (1 children)

No a compiler just translates from one language into another. Transpilers are a type of compiler.

[–] epyon22@sh.itjust.works 1 points 1 week ago (1 children)

Typescript is transpiled into JavaScript. It's not a whole new language just additions to JavaScript.

[–] CookieOfFortune@lemmy.world 1 points 1 week ago

A transpiler is a compiler. And it doesn’t have to convert from one language to another to be considered a compiler.