Just to point out, in RavenDB we are already compatible with all the C# 5.0
magic, because we can just use Task for everything.

On Tue, Apr 24, 2012 at 6:54 PM, Darren Kopp <[email protected]> wrote:

> To be fair, async is all compiler magic, so the only thing NHibernate has
> to do is return Task<T> and consumers could use async / await to their
> hearts content. It should be remembered that .net 4.5 is a superset of .net
> 4.0, and is separate from the compiler. The question becomes whether
> nhibernate will need to use the async / await keywords itself. Also, there
> is a project AsyncBridge that allows you to compile using the new compiler
> and still target 4.0, so that's an option as well.
>
> https://nuget.org/packages/AsyncBridge
>
>
> On Tuesday, April 24, 2012 6:34:43 AM UTC-6, Diego Mijelshon wrote:
>
>> IMO, it _is_ important when it's directly related to the features each
>> framework provides.
>> I believe async will be quickly become a big deal, so that's something to
>> consider. But there's nothing* stopping us from using conditional
>> directives to enable 4.5 features. NuGet also supports painless
>> multi-framework packages out of the box.
>>
>>     Diego
>>
>> *: except time/resource constraints, of course
>>
>> On Tue, Apr 24, 2012 at 06:07, Ramon Smits <ramon.smits> wrote:
>>
>>>
>>> Is it really usefull to discuss which framework to target?
>>>
>>> I think it is more wise to discuss a roadmap with coming versions and
>>> which features those roadmap versions will contain and let that be the
>>> input to decide which framework(s) to target.
>>>
>>
>>

Reply via email to