Skip to content

Track function dependencies in JavaScript #104

@samestep

Description

@samestep

Right now we store dependencies among functions via Rc and Weak pointers in Rust. This causes problems with #84: for instance, the derivatives of $\sin$ and $\cos$ depend on each other, causing a cycle that would never be freed. We can keep individual function definitions living in Rust, but we should move the graph itself into JavaScript so it can be managed by the garbage collector.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions