OCaml objects under the hood


Where I can find some information on memory representation of objects in OCaml?


In this chapter of the OCaml manual and in this chapter of real world ocaml.


I meant objects of object-oriented programming, not objects as synonyms to ordinary OCaml values.


Sorry. In the chapter of the manual I mentioned you have this but it’s a bit short.


This blog post is rather thorough and an interesting reading. I do remember there was some other good source also, but can’t remember where.