seq-lang/seq

Current status of OOP

cjneely10 opened this issue · 1 comments

Good morning,

I must say I love this project - I have already started converting over some python scripts, and the speed increase is pretty amazing. This is barely an issue, so please feel free to close it out quickly.

I wanted to inquire about the OOP concepts (inheritance, dynamic dispatch, etc.) planned for the language. It would be really amazing to have these tools available!

Thanks!

Hi @cjneely10, that's great to hear. We do want to look into OOP at some point soon -- supporting it in the backend should be quite easy; we would just implement vtables or something like this. Supporting it in the type checker is somewhat more complicated, and might require some foundational changes, which is mainly why we've postponed it.