Remix.run Logo
▲ alain_gilbert 5 hours ago

I'm always mind-blown when I read stuff like "speed is overkill". Speechless!

▲pier25 5 hours ago | parent [-]

do you go to the supermarket with an F1 car?

▲tialaramex an hour ago | parent | next [-]

I walk to the supermarket. I'm pretty sure an F1 car would be noticeably slower.

On foot I cross the little residential street where I live, walk to the corner, cross the busier road using a Zebra that was installed by thoughtful "pedestrian first" local government, then walk to the next corner where the main entrance to the supermarket is.

In the F1 car lets assume somebody already pre-warmed it and so it's ready to go (F1 cars do not "just work" like your family car because that's not required in the F1 rules) I walk to the car park and get in, I need to accelerate quite hard to get the slippery F1 car up the steep drive, but then brake hard to stop and have somebody else check both ways since an F1 car isn't equipped for this in a side street. Now I pull out, takes no time to reach that street where pedestrian me crossed but I can't use that route in a car, so, go through another residential area, turn onto an old main road, turn again, to a roundabout, go into the underground carpark of the supermarket. Once I've parked I'm about as close to the front door as if I were walking from the Zebra. Huh.

▲solyin 15 minutes ago | parent | prev | next [-]

If I could afford one, I absolutely would! I'd add a tow hitch so it had some storage and get it all street legal and add blinkers.

▲suriyaG 3 hours ago | parent | prev | next [-]

the cost between an F1 car and a "regular" car is high, both financially and functionally.

but tsrs and tsgo are not a similar comparison. they cost the same (you download a binary and run it) and are functionally identical. in that case why would you not use the faster & better one?

the question should be, do you always want your groceries 50% faster ?

▲baq an hour ago | parent | prev | next [-]

Oh boy that’s about the most off the mark car analogy I’ve ever seen and I’ve seen some

▲wiseowise 2 hours ago | parent | prev | next [-]

No, but I sure wouldn’t mind if I opened my fridge and the food was already there.

▲AnnikaL 2 hours ago | parent | prev | next [-]

If you are travelling a long distance, say over 1000 miles/km, do you always drive? Or do you take an airplane (or a train)?

▲lioeters 24 minutes ago | parent [-]

I ride a bicycle with my own two feet like a real human being.

▲sophacles 2 hours ago | parent | prev | next [-]

Bad comparrison. The less time my computer spends doing things the less battery I use.

An F1 car goes faster but also uses more fuel to do so.

Any one tool being a bit faster doesn't make my batter last noticeably longer, but defaulting to using the efficient tooling gets me results I can see.

▲alain_gilbert 5 hours ago | parent | prev [-]

Do you usually dig up your garden by hand with a shovel, or do you use a rototiller?

▲pier25 4 hours ago | parent | next [-]

Now we're getting somewhere. This is a great example because obviously speed depends on the context.

Obviously a shovel is quite an improvement for home gardeners but big constructions need a completely different tool.

For +99% of TS projects going from eg 10ms to 1ms is not going to make any difference even though it's a 10x improvement. In part because most monitors refresh at 60hz (16ms per frame) but even with +120hz monitors this is not going to have an impact on any workflow. Even for CI network latency is going to be a much bigger factor than improving TS compilation beyond the performance that TSGO already provides.

▲eyelidlessness 4 hours ago | parent [-]

I think it might have more meaningful impact on high volume use cases, i.e. where cumulative run time is still significant.

That’s already meaningful for at least a couple of companies I’ve seen investing in these ports. It might be niche for individual dev workflows now, but as those evolve it could become less niche (albeit probably still less uniform).

▲seanw444 5 hours ago | parent | prev [-]

Do you dig your garden with an excavator?

▲wiseowise 2 hours ago | parent | next [-]

Why are bringing Java into this?

▲Tadpole9181 3 hours ago | parent | prev [-]

I mean... If I had an excavator it beats using a shovel? This is such a silly "gotcha" analogy because the only reason I wouldn't is cost. And cost is not a reason for tsgo to be slower?

"Would you rather have worse software for literally no benefit?"

We should aim to make software as performant, bug free, feature-complete, and maintainable as is cost effective. It's asinine to argue that software shouldn't be fast, not because of some trade off, but just because someone doesn't need it to be fast for small tasks.

Which, mind you, isn't even the case here. Thousands of businesses use typescript for millions of lines of code. Performance gains can mean tens of thousands of dollars in compute or hardware or time; tons of carbon saved from being emitted.

▲afiori 3 hours ago | parent | next [-]

Yep cost is the reason, allegedly the ts team found go a better language for a port and both using a less ergonomic language and switching target every six months have associated costs

▲Tadpole9181 3 hours ago | parent [-]

And that's a fine argument to make! But this stupid garden analogy is nonsense.

▲ 3 hours ago | parent | prev [-]
[deleted]