tardy v0.0.1 - Runtime polymorphism without inheritance

Petar Petar
Tue Jun 16 03:56:52 UTC 2020


On Saturday, 13 June 2020 at 15:11:49 UTC, Atila Neves wrote:
> https://code.dlang.org/packages/tardy
> https://github.com/atilaneves/tardy
>

Looks interesting, nice work!

How does it compare to:
https://dlang.org/phobos/std_experimental_typecons#.wrap ?

In the more longer-term, is the goal of the project to implement 
a Typescript / Go interfaces like structural type system in user 
space? Also how would it compare to Rust traits? I guess the main 
difference, would be that Rust enforces a nominal type system 
like approach, where 2 differently named traits that otherwise 
define the same interface are not considered interchangeable.


More information about the Digitalmars-d-announce mailing list