home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,664 of 2,753   
   Luke A. Guest to Christopher F Clark   
   Re: Languages with types like Ada   
   23 Oct 22 20:17:11   
   
   From: laguest@archeia.com   
      
   On 23/10/2022 18:02, Christopher F Clark wrote:   
   > Each system has its advantages.   
   >   
   > Since I have been recently working with Rust, I would say its trait   
   > system is an attempt to cross the boundary.  I believe named types   
   > are nominal in rust (I believe unnamed types are structural).  However,   
   > you can do structural things with named types by declaring traits   
   > and implementing them on your named types.  You still have to   
   > explicitly declare the associations, but you can do it post facto.   
      
   I've still not got around to looking at rust properly bar seeing it and   
   not liking it much.   
      
   One of the things I want to play with are traits as I do think they   
   worth having and was one of my original goals.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca