Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wide architecture support #354

Closed
ForNeVeR opened this issue Dec 3, 2022 · 1 comment · Fixed by #356
Closed

Wide architecture support #354

ForNeVeR opened this issue Dec 3, 2022 · 1 comment · Fixed by #356
Assignees
Labels
area:cil-interop Related to CIL (.NET) interop area:compiler Related to code compilation or type checking area:stdlib C standard library implementation kind:feature New feature or request

Comments

@ForNeVeR
Copy link
Owner

ForNeVeR commented Dec 3, 2022

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.

@ForNeVeR ForNeVeR added kind:feature New feature or request area:cil-interop Related to CIL (.NET) interop area:compiler Related to code compilation or type checking area:stdlib C standard library implementation labels Dec 3, 2022
@ForNeVeR ForNeVeR self-assigned this Dec 3, 2022
@ForNeVeR
Copy link
Owner Author

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).

ForNeVeR added a commit that referenced this issue Feb 12, 2023
ForNeVeR added a commit that referenced this issue Feb 17, 2023
ForNeVeR added a commit that referenced this issue Feb 17, 2023
ForNeVeR added a commit that referenced this issue Feb 17, 2023
ForNeVeR added a commit that referenced this issue Feb 17, 2023
ForNeVeR added a commit that referenced this issue Feb 17, 2023
ForNeVeR added a commit that referenced this issue Feb 21, 2023
kant2002 pushed a commit to kant2002/Cesium that referenced this issue Apr 28, 2023
kant2002 pushed a commit to kant2002/Cesium that referenced this issue Apr 28, 2023
kant2002 pushed a commit to kant2002/Cesium that referenced this issue Apr 28, 2023
kant2002 pushed a commit to kant2002/Cesium that referenced this issue Apr 28, 2023
kant2002 pushed a commit to kant2002/Cesium that referenced this issue Apr 28, 2023
kant2002 pushed a commit to kant2002/Cesium that referenced this issue Apr 28, 2023
kant2002 pushed a commit to kant2002/Cesium that referenced this issue Apr 28, 2023
ForNeVeR added a commit that referenced this issue Jul 29, 2023
ForNeVeR added a commit that referenced this issue Nov 2, 2023
ForNeVeR added a commit that referenced this issue Nov 2, 2023
ForNeVeR added a commit that referenced this issue Nov 18, 2023
ForNeVeR added a commit that referenced this issue Nov 23, 2023
ForNeVeR added a commit that referenced this issue Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:cil-interop Related to CIL (.NET) interop area:compiler Related to code compilation or type checking area:stdlib C standard library implementation kind:feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant