4 ms·
Considering that a cpu can do 3 billion things a second , and a typical laptop can store 16 billion things in memory , it shouldn’t take more than 5 of these t
by tonymet 5y ago
Considering that a cpu can do 3 billion things a second , and a typical laptop can store 16 billion things in memory , it shouldn’t take more than 5 of these to handle “billions of messages” . I agree with you that modern frameworks are inefficient
- adamnemecek 5y agoBy 16 billion things you mean 16 billion bytes? If you are talking about physical memory, then no, you can't occupy the entire memory. If you are talking about virtual memory, then you can store more data.
- lmilcin 5y agoActually, CPU processes things in words, not bytes. On 64-bit architecture the word is 64 bit or 8 bytes. But there is a lot of things that CPU can do even faster than that, because this limitation only relates to actual instruction execution (and even then there are instructions that can process multiple words at a time).
- adamnemecek 5y agoI know however the only interpretation of the statement above was that he meant bytes since few laptops have 64GB.