Skip to content

Deprecating automatic variable transfer #253

@BoPeng

Description

@BoPeng

We currently have a feature that variables with names starting with sos are transferred implicitly.

This looks like a decent feature but it comes at a cost that all languages need to check if there are variables with names starting with sos, each time when a kernel switch happens. This can be a performance issue, and it makes it a bit difficult to implement language modules since not all languages can check variables easily.

I am wondering if we can disable this feature, and/or replace it with something like

%global myvar

to have explicit specification of "cross kernel" variables.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions