ooc

introduce more runtime checks

Bug #392551 reported by Amos Wenger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ooc
Confirmed
Medium
Amos Wenger

Bug Description

Currently, the ooc runtime is very unsafe. Casts aren't checked at all, nor are buffer overflows, etc.

The point of ooc is being higher-level than C, so these safety runtime checks should be added by the ooc compiler to take this burden off the shoulders of the programmer.

This is an important goal for 0.3, and a test suite should be added to the distribution concerning safety.

Revision history for this message
Amos Wenger (amoswenger) wrote :

A better type safety at compile-time is more important than runtime checks, at the moment.

If someone's interested in runtime checks in ooc, they can uncomment MemberCallUnwrapFeature and NullCheckFeature in SyntaxNode, but they are bugged (hence disabled by default)

Changed in ooc-language:
assignee: nobody → Amos Wenger (amoswenger)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Amos Wenger (amoswenger) wrote :

Still an issue, but not much development time has been dedicated to it..

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.