Sorry about that, let me explain it at a higher level. I'm looking to make
a runtime-defined GC'd struct. Some members will be GC'd others will be
primitive. So I have a definition that says:
Foo {member1=int, member2=Object, member3=float}
>From what I can tell I can't create lltypes on-the-fly
One thing I forgot to mention that I'm also trying to keep this as
low-overhead as possible. So I'd like a struct of type MyStruct
{member1=int} to be two words wide. One for the pointer to the
StructDefinition, and the other for the (unwrapped) int.
On Sat, Mar 10, 2018 at 6:37 AM, Timothy Baldri
Hi Timothy,
On 10 March 2018 at 16:02, Timothy Baldridge wrote:
> One thing I forgot to mention that I'm also trying to keep this as
> low-overhead as possible. So I'd like a struct of type MyStruct
> {member1=int} to be two words wide. One for the pointer to the
> StructDefinition, and the other