IdeaJol
IdeaJol copied to clipboard
Support for other languages: Go and C
Other languages can be almost easily supported. So why not to do this? For C language it's almost clear and straightforward. Except of unions and inlined structs.
Golang object layout:
- https://go101.org/article/memory-layout.html
- https://www.lachlaneagling.com/anatomy-of-structs-in-go/
- https://developpaper.com/detailed-explanation-of-memory-layout-in-go-language/
- https://qvault.io/golang/struct-field-ordering-memory/
- https://developpaper.com/detailed-explanation-of-memory-layout-in-go-language/
- https://itnext.io/structure-size-optimization-in-golang-alignment-padding-more-effective-memory-layout-linters-fffdcba27c61
- https://www.reddit.com/r/golang/comments/ljn784/structure_size_optimization_in_golang/
- https://ofstack.com/Golang/23376/detailed-memory-layout-in-go.html
- https://medium.com/@felipedutratine/how-to-organize-the-go-struct-in-order-to-save-memory-c78afcf59ec2
- https://github.com/golang/go/issues/10014
- https://syslog.ravelin.com/go-and-memory-layout-6ef30c730d51