Skip to content

Supporting JIT compilations for python classes . #2

@thautwarm

Description

@thautwarm

We can firstly introduce a subset of Python.

Should look in this way:

@jit
class S(Generic[T]):
    a : np.int64 # julia type Int64
    b : int # python integer
    c : Vec[T] # julia type Vector{T}
    # Vec could be given as an attached module of restrain-jit
    d : Vec[S[T]] # allow recursive definitions

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrnecessary facilities to runtime restrain-jit

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions