← Back to context

Comment by overflyer

6 hours ago

Layer on layer on layer on layer on layer.... Web development is just a meme by now

This is just what modern languages have out of box. (Like rust and go.) it’s a true shame that web isn’t actually unified behind a type safe language with a single solid toolchain. It’s a huge pain to manage and I’m curious how much money it’s cost the industry. “Vite+” isn’t a true solution to that. There are many competing toolchains. And no default standardized one.

  • I'm not very familiar with Rust, but doesn't cargo pull a lot of external dependencies for most projects? I really like how Go can do everything with just the standard library, but I wasn't aware Rust was similar. For typescript we've moved our stuff to bun. It has it's own risk management perspective compared to node, but at least it's now possible to build web services without having to rely on a bunch of external dependencies. Which in our highly regulated business would require security policies for each dependency explaining the risks, why we accept them and how we mitigate them.

    • > without having to rely on a bunch of external dependencies. Which in our highly regulated business would require security policies for each dependency explaining the risks, why we accept them and how we mitigate them.

      How about the dependencies Bun is pulling? How did you ever managed to pass security policies with Bun which has so many segfaults that nobody even bothers to write CVEs for them.

    • Cargo itself doesn't pull the dependencies, but yes to Rust's standard library being much more lean than Go. Bring your own HTTP, text templating, and such, but core data structures are provided.

      Go gives you a bunch of goodies in the standard library.

      Rust provides things like your build system, testing, and package management all together, which is what I assume OP meant.

Vite+ isn't a layer, it's "just" a high-performance suite of excellent tools that work well together to provide a great DX for developers.

Vite+ can improve and simplify what developers are already doing with ad-hoc collections of tools. Vite is already an industry standard, and Vite+ has a good chance of achieving that status as well.

Deze vuist op deze vuist. Deze vuist op deze vuist. Deze vuist op deze vuist. En zo klim ik naar boven.

You probably need to see a video or gif to get it.

  • Some barbarian without a grasp of the Dutch language knee-jerked the down-vote button so I'll add a Swedish version which adds an important attribute.

       Imse vimse spindel klättra upp för trå'n.
       Ner faller regnet, spolar spindeln bort.
       Upp stiger solen, torkar bort allt regn.
       Imse vimse spindel klättrar upp igen.
    

    Here's how to interpret this saga of the ever-climbing little spider in the context of web development. It climbs up its tread (klättra upp för trå'n) 'cause that new framework will sure make catching those flies (clicks/jobs/likes/whatevers) easier. And then the rain starts (the CVEs start piling up, the corrupted packages come flooding in) and the hapless spider gets thrown off its web (Pwned!) until the sun comes back and dries away the rain (a new framework, yay, this will solve all problems) upon which the spider climbs up its thread again.

Pretty much all software is built like that.

  • I think web development does not need that many layers. Usually there is a clear purpose for each layer. I think most problems in web are self-created.

It's all great to leverage until something breaks in a middle layer and you can't reproduce without submitting your entire project in the GitHub issue.

Don't be so negative nancy here!

I have been doing "modern web" things since essentially day zero (you kids with your fancy JIT compiled javascript interpreters!)

SvelteKit, and by extension, Vite, has been the single most productive webstack I have ever used. If this offers anything on top of that, I welcome it with open arms.

Far from being a meme!

  • I use vp with sveltekit for my personal projects now, and I must say it's a very nice experience.

  • vp + sv seems to work very well, when I tried it. And oxfmt supports svelte now too!

Is everyone project so simple that it can fit in these "vp check" / "vp dev" commands? Like even for my amateurish web app, I have a custom web server with a self-signed certificate with an "/etc/hosts" domain; and for checks I need to do custom checks for GraphQL and a couple of cloned NPM packages.