this post was submitted on 24 Jun 2024
742 points (95.6% liked)

Technology

59689 readers
4100 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
 

There were a number of exciting announcements from Apple at WWDC 2024, from macOS Sequoia to Apple Intelligence. However, a subtle addition to Xcode 16 — the development environment for Apple platforms, like iOS and macOS — is a feature called Predictive Code Completion. Unfortunately, if you bought into Apple's claim that 8GB of unified memory was enough for base-model Apple silicon Macs, you won't be able to use it. There's a memory requirement for Predictive Code Completion in Xcode 16, and it's the closest thing we'll get from Apple to an admission that 8GB of memory isn't really enough for a new Mac in 2024.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 5 months ago (1 children)

I chalk it up to lazy rushed development. Good code is art.

[–] [email protected] -2 points 5 months ago (1 children)

That's not true at all. The code doesn't take much space. The content does. Your high quality high res photos, 4K HDR videos, lossless 96kHz audio, etc.

[–] [email protected] 3 points 5 months ago* (last edited 5 months ago) (1 children)

But there are lots of shortcuts now. Asset packs and coding environments that come bundled with all kinds of things you don't need. People import packages that consume a lot of space to use one tiny piece of it.

To be clear, I'm not talking about videos and images. You'd have these either way.

[–] [email protected] 1 points 5 months ago

All these packages don't take much memory. Also tree shaking is a thing. For example, one of the projects I currently work on has over 5 gigs of dependencies, but once I compile it for production, the whole code based is mere 3 megs and that's including inlined styles and icons. The code itself is pretty much non-existent.

On the other hand I have 100KB of text translations just for the English language alone. Because there's shit loads of text. And over 100MB of images, which are part of the build. And then there's a remote storage with gigabytes of documents.

Even if I double the code base by copy pasting it will be a drop in a bucket.