densh / scala-offheap

Experimental type-safe off-heap memory for Scala.
BSD 3-Clause "New" or "Revised" License
532 stars 38 forks source link

Consider adding finer-grain control over field layout #89

Closed densh closed 8 years ago

densh commented 8 years ago

Currently we only support automatically aligned C-like struct layout. For some use-cases it might beneficial to provide more fine-grain control then that:

From UI standpoint it might look like a few extra annotations (e.g. @unaligned, @align(n), @offset(n))