HackerTrans
TopNewTrendsCommentsPastAskShowJobs

shivawu

no profile record

comments

shivawu
·11 mesi fa·discuss
On the other hand, I consider v8 the most extreme optimized runtime in a weird way, in that there’re like 100 people on the planet understand how it works, while the rest of us be like “why my JS not fast”
shivawu
·anno scorso·discuss
The other thing is.. installer generally only runs once on a single machine, not sure how useful it is to “show the changes since last run”
shivawu
·anno scorso·discuss
Obviously the article is making valid points. But a recent epiphany I had is, things by default are just mediocre but works. Of course the first shot at this problem is not going to be very good, very much like the first version of JavaScript is a shitshow and we’ll take years to pay down the technical debts. In order to force a beautiful creation, significant effort and will power needs to be put in place. So Id say I’m not surprised at all and this is just how the world works, in most cases.
shivawu
·2 anni fa·discuss
I agree except I think 100 lines is definitely worth a method, whereas 15 lines is obviously not worthy for the most cases and yet we do that a lot.

My principle has always been: “is this part a isolated and intuitive subroutine that I can clearly name and when other people see it they’ll get it at first glance without pausing to think what this does (not to mention reading through the implemention)”. I’m surprised this has not been a common wisdom from many others.
shivawu
·2 anni fa·discuss
Am I right to say that this is a template on top of cloudflare durable objects, not an actual software of its own?
shivawu
·2 anni fa·discuss
This is I believe how ziglang works on its asynchronous story