Avatar
いや、それは、ないって明言されていて
11:42 AM
らとなー
One of the interesting-to-me realizations is that these marker protocols are vaguely attribute-like (since they are compile time only). The problem with this viewpoint is that we want ConcurrentValue to participate in the generics system, and making attributes do that would open a ton of complexity we don't want.
11:42 AM
マーカープロトコルはアトリビュート的(コンパイルタイムだけだから)
11:43 AM
と >>5 でも書いてるしピッチにもなんかそれっぽい話があった
11:44 AM
This proposal introduces the concept of a “marker” protocol, which indicates that the protocol has some semantic property but is entirely a compile-time notion that does not have any impact at runtime.
11:44 AM
これだ。 ConcurrentValue個別の話にはいる前に 「Marker Protocols」について定義?している。