on Sun Oct 30 2016, Dave Abrahams wrote:
>> I quite like the API as an extension on Range. I think it would be a
>> nice addition to Dispatch (once we start allowing additive proposals):
>>
>> extension Range where Bound : Strideable, Bound.Stride : SignedInteger {
>>
>> func concurrentMap(_ t
on Sun Oct 30 2016, Karl wrote:
>> On 30 Oct 2016, at 19:23, Dave Abrahams via swift-users
>> wrote:
>>
>>
>> on Sun Oct 30 2016, Karl wrote:
>>
>
On 30 Oct 2016, at 09:15, Karl wrote:
I had the need for a concurrent map recently. I had a part of a
program which neede
Hi,
Is there a way to build a system module package into a static/dynamic library,
so that a Swift script can link against this library to find the module? Adding
library products to Package.swift doesn’t seem to work.
Thanks,
Richard
___
swift-user
> On 30 Oct 2016, at 19:23, Dave Abrahams via swift-users
> wrote:
>
>
> on Sun Oct 30 2016, Karl wrote:
>
>>> On 30 Oct 2016, at 09:15, Karl wrote:
>>>
>>> I had the need for a concurrent map recently. I had a part of a
>>> program which needed to read chunks of data and concurrently proc
> On Oct 29, 2016, at 7:22 AM, Anton Bronnikov wrote:
>
> Thanks, Daniel.
>
> Yes, on Oct-27 snapshot `Swift version 3.0-dev (LLVM b52fce3ab4, Clang
> 4edf31e82f, Swift bf2de4a41c)` if I build with `swift build
> --enable-new-resolver` then I do get the expected behaviour. Building with
> u
Hi there,
is there actually a way to build a custom data structure that will
automatically be converted to little/big endian on a little/big endian system,
just like (U)Int16/32/64 do?
I could build as a workaround a mechanism that will do that for me, but I’m
curious if this is possible with
on Sun Oct 30 2016, Karl wrote:
>> On 30 Oct 2016, at 09:15, Karl wrote:
>>
>> I had the need for a concurrent map recently. I had a part of a
>> program which needed to read chunks of data and concurrently process
>> them and assemble the results in an array. This isn’t necessarily as
>> obvi
> On 30 Oct 2016, at 09:15, Karl wrote:
>
> I had the need for a concurrent map recently. I had a part of a program which
> needed to read chunks of data and concurrently process them and assemble the
> results in an array. This isn’t necessarily as obvious as it sounds, because
> of arrays b
I had the need for a concurrent map recently. I had a part of a program which
needed to read chunks of data and concurrently process them and assemble the
results in an array. This isn’t necessarily as obvious as it sounds, because of
arrays being value types. I came up with the following snippe