Re: [swift-dev] Initializing constant object graph with cycles

2016-11-08 Thread Anton Mironov via swift-dev
> On Nov 8, 2016, at 4:17 AM, Greg Parker wrote: > >> >> On Nov 4, 2016, at 2:57 AM, Anton Mironov via swift-dev > <mailto:swift-dev@swift.org>> wrote: >> >> Hi all, >> >> I want to initialize constant object graph with cycles. I'

[swift-dev] Initializing constant object graph with cycles

2016-11-04 Thread Anton Mironov via swift-dev
Hi all, I want to initialize constant object graph with cycles. I've considered two workarounds, but this is not a way I want it to be. Here is an example: ``` // I have a context protocol Context : class { /* some */ } // I have an object that has sense only in context class ObjectInContext

Re: [swift-dev] What about concurrency?

2016-09-06 Thread Anton Mironov via swift-dev
> 7 вер. 2016 р. о 03:05 Chris Lattner написав(ла): > > On Sep 4, 2016, at 3:00 PM, Anton Mironov via swift-dev > wrote: >> >> My job is mostly consists of writing core functionality for macOS (and I >> love core functionality). My code must take advantage

[swift-dev] What about concurrency?

2016-09-04 Thread Anton Mironov via swift-dev
Hi, My job is mostly consists of writing core functionality for macOS (and I love core functionality). My code must take advantage of concurrency. I've been looking for solutions that allow me to write clean and (most important) reliable concurrent code. I would love to discuss some of those so