rfc:structural-typing-for-closures

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
rfc:structural-typing-for-closures [2023/04/14 07:02] nicolasgrekasrfc:structural-typing-for-closures [2023/04/20 16:11] nicolasgrekas
Line 47: Line 47:
   * What would be the performance impact of adding this feature to the language, considering the engine would need to verify the closure signatures at runtime? Could this be cached internally?   * What would be the performance impact of adding this feature to the language, considering the engine would need to verify the closure signatures at runtime? Could this be cached internally?
   * Should reflection know something about this?   * Should reflection know something about this?
 +  * In order the achieve the required check, the engine would need to autoload the interface/type at call time. The engine might not be prepared for that.
  
 ===== Future Scope ===== ===== Future Scope =====
rfc/structural-typing-for-closures.txt · Last modified: 2023/04/20 16:16 by nicolasgrekas