News for hackers. Stuff that matters.
Re:Eloquent JavaScript 4th edition (2024) by pier25 on Thursday March 07, 2024 @09:54PM (#39637321)
If the explanation doesn't mention memory positions then it is a simplification.
Re:Eloquent JavaScript 4th edition (2024) by svat on Friday March 08, 2024 @12:39AM (#39638126)
JavaScript does not provide a way for the programmer to access memory positions (and e.g. does not guarantee that the the language runtime will maintain unvarying memory positions), so it doesn't make sense to talk about memory positions: there's nothing to be gained at that level of abstraction. (Unless you'd call it a "simplification" to not talk of electrons and transistors too, in which case fine, yes it's a simplification in that sense.)