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
In scope of #132, we want to add the wide architecture support, which will use wide pointers (64-bit) everywhere.
This will require some work in the standard library to properly support those (right now, I am thinking of implementing some generic type over pointers with separate casts from normal and from wide pointers, to not recompile the stdlib for every arch separately).
When implementing, make sure to eliminate every instance of substring #354 in compiler's code and documentation.
Ok, there's a huge problem with the standard library. I'm not sure what exactly to do with it to keep compatibility with both "normal" architectures and the "wide" one.
It doesn't look like it's even possible to keep one version of stdlib for everything (since stdlib may contain types that contain pointers).
Activity
(#132, #353, #354) Docs: connect the TODO items with the correspondin…
(#354) CodeGen: implement the wide architecture set
(#354) Runtime: introduce the CPtr type
(#354) FunctionType: add a TODO about the wide architecture
ForNeVeR commentedon Dec 14, 2022
Ok, there's a huge problem with the standard library. I'm not sure what exactly to do with it to keep compatibility with both "normal" architectures and the "wide" one.
It doesn't look like it's even possible to keep one version of stdlib for everything (since stdlib may contain types that contain pointers).
(#354) Docs: document the current decision on pointer portability
(#354) CPtr, FPtr: add tests
(#354) VoidPtr, FuncPtr
(#354) VoidPtr, FuncPtr
(#354) Add more tests
38 remaining items
(#354) CodeGen: support proper CPtr interop
(#354) FuncPtr conversion via constructor
(#354) Tests: fix for unsafe class
(#354) CodeGen: improve validation of vararg CLI imports
(#354) Tests: fix the runtimes properly
(#354) CodeGen: add integration tests
(#354) CodeGen: proper FuncPtr conversion
(#354) CodeGen: add an integration test for function pointers inside …
(#354) TODO sweep, better typoe checks
(#354) TODO sweep, better typoe checks
(#354) FunctionInfo: add a TODO
(#354) Integration tests: drop an incorrect project item
(#354) IntegrationTestContext: code cleanup
(#354) Docs: small improvement