Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

64 GB is already the minimum for building big projects like V8 on 16 cores (e.g. on the 3950X)


I'm curious about this, because I read some posts e.g. https://medium.com/computed-comparisons/garbage-collection-v... that say memory management and bandwidth are so fast, you actually need a lot less memory than on Intel.

Edit: not my opinion, just what I found on the internets, not sure why the downvotes if it invites discussion.


That article seems confused and/or misinformed on many points, on many levels.

As for the GP cited use case, there's no plausible way in which the compilers involved in the V8 build process would start using less memory due to their memory management machinery getting magically transformed by the hardware from tracing GC to refcounting GC, even assuming LLVM had been using tracing GC in the first place.

(Also the tracing GC memory overhead claims originating in Apple's marketing copy are way hyperbolic, modern tracing GCs don't require double storage used in "mark and sweep" GCs)


Makes sense yeah! I guess anything non native would work like that.


Many memory hungry apps on Apple - Web browsers, compilers, photo/video editing, games, dev tools like vscode/electron/Jave IDEs/emacs/databases - are in this category.


I’ve read the reports but I’m not seeing this. Normal workflow and already over 11 GB that swaps.


I think the point is that memory bandwidth and SSD bandwidth and latency have improved so much that M1-based Macs are really fast at swapping. Combine that with compression (which macOS has done for a long time) and I could imagine iPadOS-like performance.

For normal users (such as people not compiling V8), swapping may be virtually unnoticeable.


Macs have had fast SSDs for a while and as you say compression has also been done for a long time. M1 made no difference whatsoever to memory usage. The posts similar to above seem to just be an attempt to fanfic-justify what's an actual regression for some.

For many people 16GB is absolutely enough, and Apple had to start somewhere. But if 16GB wasn't enough for you yesterday, it isn't enough for you now.


The reviews of the M1 MacBook Air and Pro show a dramatic increase in SSD read/write speeds over the 2020 Intel models.


Do you have a link? MKBD just said it was "slightly faster" than his comparison system and the numbers for the M1 appear to be around 3GB/s reads and 2.7GB/s writes in disk speed test, which is pretty typical of a last generation NVME drive (current pcie gen4 drives are hitting 7GB/s reads & 5GB/s writes)


which is pretty typical of a last generation NVME drive

Those numbers are about 2-3x as fast as what my 2020 Intel-based MacBook Air gets.


Then sounds like Apple put some really garbage SSDs in the 2020 Intel-based Air, not sure what you're looking for here?

But 2-3x won't change swap from grinding to a halt to perfectly smooth, either. It's still over 20x slower than RAM.

More significant for swap usage though is random reads and read latency, neither of which are going to be particularly impressive on the M1's SSDs. You need something like Optane to make that a compelling case.


It's possible that M1 has enabled the use of better memory compression algorithms.


I do wonder if it’s taking advantage of the cheap CPU power and memory bandwidth to be much more aggressive about memory compression. That could reduce swapping for some workloads, though probably not a v8 build.


What do you mean exactly? It is normal for swapping to happen even if you are using less than the physical memory, so as to trade rarely-used RAM for frequently-used disk cache which improves overall throughput


Thanks for reporting! Bummer, for me I think I will have to wait for an M2.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: