astl icon indicating copy to clipboard operation
astl copied to clipboard

Consider limitations of the AssemblyScript

Open samchon opened this issue 5 years ago • 2 comments

The AssemblyScript doesn't support those features yet:

  • Type conjuction and disjunction
    • Therefore, it's not possible to extending the multiple interfaces
  • In the closure function, capturing variables from the outside of the function scope is not possible.
  • When generic extensions are composite, the compiler falls into the stack overflow
  • Virtual method is not implemented yet
    • Therefore, abstract class is vulnerable

samchon avatar Oct 27 '20 07:10 samchon

Virtual method is not implemented yet

virtual methods should works in usual and abstract classes. If you have any problems with it plz fill issue

MaxGraey avatar Oct 27 '20 09:10 MaxGraey

@MaxGraey Well, I saw that virtual method and abstract class are not supported yet from the below article.

https://github.com/AssemblyScript/assemblyscript/wiki/Status-and-Roadmap

Thanks for your replying.

samchon avatar Oct 27 '20 09:10 samchon