Hacker News new | past | comments | ask | show | jobs | submit login
Memory footprint of objects in Ruby 1.8. 1.9 and OCaml (eigenclass.org)
25 points by mindaugas on March 26, 2009 | hide | past | favorite | 2 comments



It's kinda weird to compare ruby with ocaml for object overhead. The former is a dynamically typed language that fully supports all kinds of introspection/metaprogramming at runtime, while the latter is a statically typed language that has very limited introspection capabilities.

But the numbers are interesting anyway.


Objects in Ocaml exist outside the normal type system, and can be introspected at runtime (no type erasure).

Of course, nobody uses objects in Ocaml, so it doesn't matter!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: