Replace byte pointer with a generic pointer type #107

Closed
opened 2025-05-19 19:33:02 +02:00 by belka · 0 comments
Owner

As it turns out not all typed pointers are the same. There is hardware, where different pointers can have different alignment, depending on the size of the target type. Therefore ^Byte is not suitable as generic pointer type. Introduce Pointer type representing any pointer. nil will be of this type, so it will support implicit conversion from and to this type. Byte isn't needed anymore probably, since Char is basically the same.

As it turns out not all typed pointers are the same. There is hardware, where different pointers can have different alignment, depending on the size of the target type. Therefore `^Byte` is not suitable as generic pointer type. Introduce `Pointer` type representing any pointer. `nil` will be of this type, so it will support implicit conversion from and to this type. `Byte` isn't needed anymore probably, since `Char` is basically the same.
belka added the
bootstrap
self-hosted
labels 2025-05-19 19:33:02 +02:00
belka closed this issue 2025-05-21 00:09:08 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: belka/elna#107
No description provided.