Skip to content

Are scopes worth their complexity? #7

Description

@Sainan

The only reason for scopes I can see in the proposal is to guide dead-code elimination, but surely this could be handled in other ways such as a 'keep alive' section.

Now, on the other hand, scopes impose a decent runtime cost, and also seem to limit the usefulness of func.new, e.g. what if I want to reference previous 'JIT'ed functions in subsequent 'JIT'ed functions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions