At my last 2 jobs, we were sufferig from serious Transpile-time problems with our TypeScript bundled via WebPack / Babel. For slower Macs, upwards of 2 mins for first-time compile, and 8 seconds for Incrementals. Picture that for a sec. Everytime you hit "Save" in your IDE, sit and wait 8 seconds, instead of the normal 0.25s. Every dev does that hundreds of times per day. It was a total of about 50 mins per Dev per Day, sitting waiting. Almost 4 hours/wk staring at your screen instead of delivering value. You obviously can't do anything in the meantime. Multiply that times the 30 Devs in that Department. Let's say devs make an average of $60/hr:
$60 * 4 hrs/wk * 52 wks * 30 in the dept = $312,000/yr dumpster fired.
Incredibly costly, and makes for an extremely poor DX (Developer Experience). 😡 We rolled out Vite, and this helped significantly, but still, you've got this giant, ever-increasing bundle that must go out to the browser. Then we rewrote the app to be a SWJS (Single Window), but that doesn't reduce your bundle size.
One day I thought, "I wonder if this has been sovled with a Runtime, and get this tranpiling madness behind us forever!"
I Google "TypeScript runtime", and up comes "Deno". I immediately created a Jira ticket fot us to evaluate it. I never found time to do that at my last job, so this site ☝️ is me doing that on a Personal level.
We were also burning unneccessary cost writing a lot of boilerplate, given MicroSoft failed to bundle a Std Lib with TypeScript.