News for hackers. Stuff that matters.
Re:Garbage Collection in Ruby 2.1 by phamilton on Monday December 30, 2013 @06:44PM (#6987903)
Not really. Python primitives are smaller (24 bytes). Python strings are 37 + 1 byte per character. Python objects are 72 bytes. Python classes are 104 bytes. (Got these numbers playing around with sys.getsizeof in the python console.)

Primitives are a bit bigger in ruby, but they aren't really primitives anyway (everything is an object).

Re:Garbage Collection in Ruby 2.1 by stcredzero on Monday December 30, 2013 @07:25PM (#6988112)
Python is another offender!
Re:Garbage Collection in Ruby 2.1 by phamilton on Monday December 30, 2013 @07:35PM (#6988158)
What languages are you referring to than? Perl and PHP are really the only others that are sort of in the same class as Ruby and Python.
Re:Garbage Collection in Ruby 2.1 by stcredzero on Monday December 30, 2013 @07:57PM (#6988255)
Smalltalk, for one.