[foreign] Feature request: Scope.allocate*() with given alignment

Lev Serebryakov lev at serebryakov.spb.ru
Thu Feb 28 19:38:27 UTC 2019


On 28.02.2019 20:50, Maurizio Cimadamore wrote:

> In Panama, LayoutType has a Layout underneath. A standard-aligned
> 20-elems array layout would be something like:
> 
> [ 20: f64 ]
> 
> But, the idea is to attach a layout annotation to specify alignment:
> 
> [ 20: f64 ](align=64)
> 
> which will then instruct the Scope to do the right thing.
 Oh, it is not JVM annotation, but Panama's internal one, I see now.

 Thank you.

> In any case, note that, I believe, you can do some of this stuff by
> hand, as this test demonstrates:
 Great! Thank you again!

-- 
// Black Lion AKA Lev Serebryakov



More information about the panama-dev mailing list