News for hackers. Stuff that matters.
Re:Servo, the parallel browser engine written in Rust by ttfkam on Saturday May 27, 2023 @11:17AM (#36095478)
> Regular good old html without or with minimal amount of javascript.

You just described Svelte. All the JS minimalism and speed without sacrificing the power.

Re:Servo, the parallel browser engine written in Rust by emptysongglass on Saturday May 27, 2023 @04:09PM (#36097786)
(Not a web developer just curious): does Astro also offer this?
Re:Servo, the parallel browser engine written in Rust by ttfkam on Thursday June 01, 2023 @03:17PM (#36155998)
I know next to nothing about Astro.
Re:Servo, the parallel browser engine written in Rust by ttfkam on Thursday June 08, 2023 @10:16AM (#36242253)
I looked into this and here are my thoughts:

Astro is a static site generator, which is different from a full dynamic component library and rendering/routing framework.

Looks like a stripped-down version of SvelteKit with prerender = true. https://kit.svelte.dev/docs/page-options#prerender

I wonder if Astro will remain a simple static site generator. If it tries to add dynamism (and complexity), I think it will lose some of its luster. But if all anyone needs from it is a static site generator, it looks very clean.

A lot of the functionality and minimalism leads me to believe it was inspired by Svelte and other recent web tools. That said, the complete lack of JavaScript in the output seems to me like a stylistic—even ideological—choice rather than an established use case. Still, it's easier to make a simple solution elegant than a complex one.

Astro fits into its intentionally small niche very well.