416
submitted 5 months ago* (last edited 5 months ago) by Xatolos@reddthat.com to c/technology@lemmy.world

You can play it in your browser here.

you are viewing a single comment's thread
view the rest of the comments
[-] ICastFist@programming.dev 10 points 5 months ago

I see you've never dealt with a real life project that requires god knows how many different libraries off nodejs because 🤷‍♂️

Dependency hell takes a lot of space.

[-] frezik@midwest.social 6 points 5 months ago* (last edited 5 months ago)

I have. Still small compared to the images and such that are used in a user facing application.

Edit: just to bring in real numbers, I have an old TypeScript project that results in a 109M node_modules dir. Which I agree is absurd. I also have an old anime video, 21 minutes long, at only 560x432 resolution, 24fps, which takes 171M. And that's my point: even in really bad cases, code size tends to be swamped out by everything else in user-facing applications. If there's any kind of images, music, or video, the code size will be a small part of the complete picture.

[-] ICastFist@programming.dev 3 points 5 months ago

As a point of comparison, in the last place I worked, the main project had over 600MB of javascript dependencies it pulled from node. Plus 300MB of python libraries for Django and whatever else.

At my current job, preparing your environment for development of one "isolated" php system will need at least 3GB of dependencies. Even the main programmer behind it has no clue how it happened or why.

this post was submitted on 02 Jun 2024
416 points (97.7% liked)

Technology

59648 readers
1468 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS