News for hackers. Stuff that matters.
Re:Show HN: A no-build fullstack SSR TypeScript web framework by jbreckmckye on Wednesday February 12, 2025 @03:51PM (#43029654)
I mean, no? Unless you're saying all interpreted languages have a build step?
Re:Show HN: A no-build fullstack SSR TypeScript web framework by nosefurhairdo on Wednesday February 12, 2025 @03:59PM (#43029723)
Browsers cannot parse jsx/tsx natively. Deno is transforming the code you write before it is executed in the browser. That transformation is typically referred to as a build step.
Re:Show HN: A no-build fullstack SSR TypeScript web framework by jbreckmckye on Wednesday February 12, 2025 @04:06PM (#43029778)
Building is creating the runnable artefact, but this artefact is already runnable, so I'd just call that "interpreting" the program
Re:Show HN: A no-build fullstack SSR TypeScript web framework by wubrr on Wednesday February 12, 2025 @04:20PM (#43029889)
The code is not runnable on the frontend. It needs to be transformed/built before that can happen.

Saying this doesn't have a build step is like saying a python script that compiles and runs a C program from source has no build step.

Re:Show HN: A no-build fullstack SSR TypeScript web framework by jbreckmckye on Wednesday February 12, 2025 @05:11PM (#43030296)
Yes, I'm aware the code doesn't run natively on the frontend. But we aren't talking about that.
Re:Show HN: A no-build fullstack SSR TypeScript web framework by wubrr on Wednesday February 12, 2025 @05:30PM (#43030471)
That's exactly what everyone in this comment chain is talking about (even though you just updated your previous comment to make it sound different).
Re:Show HN: A no-build fullstack SSR TypeScript web framework by wubrr on Wednesday February 12, 2025 @05:34PM (#43030503)
> But in this instance we are talking about the server side runtime.

Not at all. We are talking about SSR, and the need for a build step (on the backend). That should be pretty obvious considering the explicit mentions of running the code in the browser, jsx, ts, etc. (Not to mention the backend runtime cannot run typescript/jsx without build either)

> Building is creating the runnable artefact

That's not all that 'building' is...

> but in the context of the server this artefact is already runnable

No it's not. The JIT/interpreter within Deno cannot run this code without doing a build first. This is made very obvious and explicit in the Deno docs.

https://docs.deno.com/runtime/fundamentals/typescript/

> With its built-in TypeScript compiler, Deno will compile your TypeScript code to JavaScript with no extra config needed.

Re:Show HN: A no-build fullstack SSR TypeScript web framework by kupopuffs on Wednesday February 12, 2025 @04:08PM (#43029798)
JIT?
Re:Show HN: A no-build fullstack SSR TypeScript web framework by thesephi on Wednesday February 12, 2025 @05:30PM (#43030472)
my apologies for using controversial wording. I'd love to confirm that we still must have some sort of transpilation / transformation because no Web Browser can consume JSX code directly (after all, JSX is just syntactic sugar, not a base language).

What I meant by "no build" is "no bundling". I elaborated more in this wiki: https://github.com/fullsoak/fullsoak/wiki/Concepts-&-Example...

Thank you for your help above in making things clearer <3

Re:Show HN: A no-build fullstack SSR TypeScript web framework by nosefurhairdo on Thursday February 13, 2025 @02:00AM (#43033404)
I would probably replace a lot of this language with something along the lines of "powered by Deno, enabling simplified, all-in-one tooling." You don't want it to look like you're taking credit for the features that Deno is responsible for. Would also help me understand what your project offers vs what Deno offers.

Hope that helps!

Re:Show HN: A no-build fullstack SSR TypeScript web framework by thesephi on Friday February 14, 2025 @03:47AM (#43046264)
that's a nice perspective :) I totally had no intention for 'taking credits' as I assumed it's a 'given' that we run TS directly with Deno, Bun, or Node.js with the experimental flag.

I'll take this to my desk & update the wordings towards your suggestions above - thank you!

Re:Show HN: A no-build fullstack SSR TypeScript web framework by lolinder on Wednesday February 12, 2025 @08:28PM (#43031768)
Bun does not handle TSX at the runtime level because Bun uses JavaScriptCore as its runtime and JavaScriptCore does not support TS(X).

Bun transpiles all typescript code before executing it in the JavaScriptCore runtime. That's an implicit on-startup build step.