3.3 Programmer Diligence Required Today
Until automatic well-formedness verification is implemented in the dewy compiler, manual care should be taken to write well-formed udewy:
- Use
__signed_shr__when arithmetic shift is needed for signed values - Short-circuit only in conditions - side effects in
and/oroperands still always occur in ordinary expressions; onlyif/loopconditions short-circuit - Implement content comparison functions when byte-string content equality is needed
- Use unsigned intrinsics explicitly when raw unsigned interpretation matters
- Test with increasing compiler strictness as the Dewy compiler matures. The full dewy compiler will be able to flag ALL cases of ill-formed udewy.