601
Object Notation (i.imgflip.com)
you are viewing a single comment's thread
view the rest of the comments
[-] melfie@lemy.lol 4 points 3 months ago

I had to deal with large JavaScript codebases targeting IE8 back in the day and probably would’ve slapped anyone back then who suggested using JavaScript for everything. I have to say, though, that faster runtimes like v8 and TypeScript have done wonders, and TypeScript nowadays is actually one of my favorite languages.

[-] sommerset@thelemmy.club 1 points 3 months ago

How is ts faster?
It's not even part of js

[-] melfie@lemy.lol 1 points 3 months ago

The JavaScript code is compiled to native and is heavily optimized, as opposed to being interpreted.

[-] sommerset@thelemmy.club 1 points 3 months ago

Compiled to native what?
Typescript is only used at development time it won't do shit in the browser for you.
Where did u see any performance improvements? TS doesn't do that

[-] melfie@lemy.lol 1 points 3 months ago* (last edited 3 months ago)

TS transpiles to JS, and then when that JS is executed in Deno, Node.js, a Blink browser like Chrome, etc., it gets just in time compiled to native machine code instead of getting interpreted. Hope that helps.

this post was submitted on 03 Oct 2025
601 points (98.9% liked)

Programmer Humor

28926 readers
1715 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