jamesjuett / lobster

Interactive Program Visualization Tools
8 stars 3 forks source link

"Real" Object Data Representation in Memory #300

Open jamesjuett opened 2 years ago

jamesjuett commented 2 years ago

Currently, the representation of objects in memory is pretty hacky and while it does a good enough job, it doesn't always produce realistic undefined behavior when things go wrong.

The current approach is that the entire raw value for an object is stored in the first "byte" in memory.

Perhaps a more realistic approach would be valuable, but this has to be balanced against simulation speed. Perhaps it could be configurable?