Hacker News new | ask | show | jobs
by wubrr 492 days ago
Deno does not support jsx and typescript 'without a build step'. It just runs a build/transform step for you under the hood - using the same tsc compiler, config, etc.

https://docs.deno.com/runtime/reference/jsx/

Saying this is not a 'build step' is like saying a shell script that builds and runs a C program from source has no build step.

2 comments

It has no build step. It builds when you run

It's like language implementations that nominally aren't "compiled", like Python, but nonetheless compile to bytecode when you run the program

> a shell script that builds and runs a C program from source has no build step

I would say so. Ultimately build step or not isn't a meaningful thing to care about. What matters is the cold start/runtime impact. In the case of deno/bun, the impact seem minuscule/not meaningful.

> Ultimately build step or not isn't a meaningful thing to care about. What matters is the cold start/runtime impact.

The two are closely related.

> In the case of deno/bun, the impact seem minuscule/not meaningful.

Seems like a pretty baseless assertion.

you're right, found this benchmark https://maxday.github.io/lambda-perf