4 ms·
Maybe this is because you have experience with low level languages, but a lot of this information I would say is not common knowledge for someone who has only e
by mr_00ff00 4y ago
Maybe this is because you have experience with low level languages, but a lot of this information I would say is not common knowledge for someone who has only ever worked with python/JavaScript (which is a large number of programmers).
I have talked to full stack devs that don’t know what the stack and heap is, they think I am talking about leetcode data structures.
This is a beginner article for sure, but I think that’s the point
- monocasa 4y agoTo be fair, even as someone who has low-level code including writing VMs, because of the heavy use of closures in JavaScript it's not immediately obvious when accessing a variable in JS will go through the heap or the hardware stack. What the hardware provides doesn't quite match the semantics of the language and the VM is doing a lot of work/magic to paper over those differences.
- csdvrx 4y ago> a lot of this information I would say is not common knowledge for someone who has only ever worked with python/JavaScript For python, I believe a correct use of mmap for large files (ex: pickles) could offer a lot of advantages. This was seen recently with the orders-of-magnitude increase in performance for the several hundreds of GB worth of weights, it might extend to other languages.