title: Memory storage across languages
body: <p>I'm new to programming and recently found out about how the storage of objects and variables in some languages worked (c++,java,...). But when I read (in random sites) about how storage worked in other languages such as ruby, apparently the concept of stack doesn't exist and the objects and variables are saved in the heap. Is this true?</p>
  
  <p>If so, then do segments like the stack or (.data,.bss for other languages) not exist physically? how does the storage work? I can't quite understand memory segments.</p>
  
  <p>Edit: I'm not asking about the memory segments on every language, im just aaking why does a segment exists in a language and in another it doesnt. ( do segments not exist physically as... Segments? Like different sections of the RAM)</p>