#1382: auto::alignptrs: Eliminate this config step
-----------------------+----------------------------------------------------
Reporter: jkeenan | Owner: jkeenan
Type: RFC | Status: assigned
Priority: normal | Milestone:
Component: configure | Version: 1.9.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-----------------------+----------------------------------------------------
Changes (by jkeenan):
* cc: plobsing (added)
Comment:
Paraphrasing some comments from plobsing on #parrot:
''The assertions at lines 188 and 202 of src/pmc/unmanagedstruct.pmc
(trunk) check that the pointers are aligned to a 2**n char boundary
(required on some obscure platform I'm sure).''
(But it appears we have yet to encounter such a platform. -- kid51)
''On the one hand, parrot doesn't check this elsewhere; on the other,
UnManagedStruct is the closest users come to directly managing pointers,
so extra checks might be good. We could say: "If you run a platform that
breaks if you access pointers that aren't aligned and you break it using
UnManagedStruct, that's your fault." In a way, UnManagedStruct is part of
the escape hatch of the VM abstraction.''
Seeking more comments from knowledgeable sources.
kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1382#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets