You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
memory.copy / table.copy between memories / tables of different types (32-bit vs 64-bit) #55
The memory64 proposal so far has not needed to deal with this issue since there was no multi-memory support. Now that multi-memory is at stage 4 and not that we are adding table64 support we need to decide what do about these cross-tables / cross-memory copies.
I seem like there are are basically two choices:
Do not support copying between tables/memories of different index types. We can simply make this a validation failure.
If either of the tables/memories are i64 indexed then require i64 arguments (as we do for the case when both tables/memories are i64 indexed.
Supporting this would certainly blow the up the number of tests we would need to write, but thats not really a great reason not to do it. Do folks have any good reasons why we would wand to support this?
Activity
sbc100 commentedon May 2, 2024
@dschuff @ashleynh
alexcrichton commentedon May 2, 2024
cc #6 which has some, albeit not a whole lot more, discussion
sbc100 commentedon May 2, 2024
What solution do your propose we go with
memory.copy? (1) or (2) or something else?sbc100 commentedon May 2, 2024
Actually lets just close this in favor of #6.