Re:The Productivity Blocker
by mattmanser on Monday December 19, 2022 @03:46AM
(#34049900)
Looks like you didn't actually look at the link :)
[ Parent
| on HN ]
Re:The Productivity Blocker
by auggierose on Monday December 19, 2022 @03:51AM
(#34049938)
> The greatest trick that javascript ever pulled was to convince the latest generation of programmers that it was fast...
By the way, JavaScript IS quite fast. I ported some code from Swift to Typescript recently, and its runtime went down from 15 seconds to 2 seconds. It wasn't a 1-1 port because I improved things, so it is not a fair comparison, but I was very positively surprised.
Re:The Productivity Blocker
by mattmanser on Monday December 19, 2022 @05:48AM
(#34050670)
> It wasn't a 1-1 port because I improved things
Hmm, I think we found the reason....
Re:The Productivity Blocker
by auggierose on Tuesday December 20, 2022 @04:29AM
(#34063619)
I don't think you did! Doing the same improvements in Swift I wouldn't expect an over seven time speedup. I suspect that the time difference has to do with data structures like hashmaps, which in Swift are defacto immutable, and in JavaScript are not.
Re:The Productivity Blocker
by auggierose on Monday December 19, 2022 @03:47AM
(#34049907)
I actually did. Clicked on it once, looked at it for about 3 seconds, decided it would be a waste of my time to check it out more.
Re:The Productivity Blocker
by nunodonato on Monday December 19, 2022 @03:52AM
(#34049942)
Which means you didn't actually understand what it was about, which was the point of the comment ;)
Re:The Productivity Blocker
by auggierose on Monday December 19, 2022 @03:55AM
(#34049957)
I don't disagree. Understanding things takes time, and most things are not worth understanding them.
And then you feel it's not a waste of time to write a comment on an article you took 3sec to understand and skip?
Re:The Productivity Blocker
by auggierose on Tuesday December 20, 2022 @04:32AM
(#34063638)
No, as I just wanted to share my anti-procrastination tool. I also like chatting with HNers (some more than others)!
Spent more time writing these pointless comments
Re:The Productivity Blocker
by jdhdjdbdjdbd on Monday December 19, 2022 @12:10PM
(#34054563)
u stoopid