StackExchange.Redis icon indicating copy to clipboard operation
StackExchange.Redis copied to clipboard

Core 5

Open billpratt opened this issue 11 years ago • 25 comments

Will you be implementing a Core 5 build for this library? I'd like to use it in a Core 5 project I'm working on.

Thanks!

billpratt avatar May 06 '15 03:05 billpratt

Dnx? Yes, certainly. I'm working through projects: dapper is done, protobuf-net is "kinda working ish"; SE.Redis is next on my list, but I'll need to think about which socket polling methods to use - the regular .net library does some things that won't be available in CoreCLR On 6 May 2015 4:27 am, "Bill Pratt" [email protected] wrote:

Will you be implementing a Core 5 build for this library? I'd like to use it in a Core 5 project I'm working on.

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/StackExchange/StackExchange.Redis/issues/202.

mgravell avatar May 06 '15 12:05 mgravell

Timescales: hopefully before Monday - possibly sooner. On 6 May 2015 1:43 pm, "Marc Gravell" [email protected] wrote:

Dnx? Yes, certainly. I'm working through projects: dapper is done, protobuf-net is "kinda working ish"; SE.Redis is next on my list, but I'll need to think about which socket polling methods to use - the regular .net library does some things that won't be available in CoreCLR On 6 May 2015 4:27 am, "Bill Pratt" [email protected] wrote:

Will you be implementing a Core 5 build for this library? I'd like to use it in a Core 5 project I'm working on.

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/StackExchange/StackExchange.Redis/issues/202.

mgravell avatar May 06 '15 12:05 mgravell

b4dfjkyciaaifz_

billpratt avatar May 07 '15 16:05 billpratt

Merry Christmas! Shitter was full! On 7 May 2015 5:42 pm, "Bill Pratt" [email protected] wrote:

[image: b4dfjkyciaaifz_] https://cloud.githubusercontent.com/assets/2847527/7520700/922790ce-f4b6-11e4-947f-e5c44323d598.jpg

— Reply to this email directly or view it on GitHub https://github.com/StackExchange/StackExchange.Redis/issues/202#issuecomment-99933555 .

mgravell avatar May 07 '15 17:05 mgravell

+1

niemyjski avatar May 14 '15 04:05 niemyjski

Any update on a CoreCLR build? I can assist if you'd like. Looking forward as well to using this in some of my CoreCLR projects as well...

TimPosey2 avatar Aug 01 '15 03:08 TimPosey2

Looking forward to this as well :) I'd love to help if possible.

stebet avatar Aug 18 '15 16:08 stebet

I would absolutely love to have this as well. Unfortunately, I'm not sure the CoreCLR is ready for it. I put together a project myself just to get a general idea of the changes and for the features StackExchange.Redis uses, Core 5 is about 95% there. (And if anyone has looked closer, please correct me. This was just a cursory scan of the compile results and the CoreFX github.)

A bit of the remaining stuff are easy fixes for things like some missing interfaces and array methods, and some things more complex with sockets like @mgravell mentioned.

But the final 2% are things like... System.Threading.Thread missing a large number of functions or working in different ways (there's no Thread.Priority!?).

For now, it looks like Thread and Threadpool are both somewhat incomplete and the CoreFX repo doesn't have a good public roadmap (that I've found anyhow), so its difficult to say when/if these features will be added. I wouldn't want to go tinkering with the threading optimizations just to have to change things back later when features get added though.

Unless someone has some insider information or is already planning a different approach anyhow.

jmlothian avatar Sep 11 '15 14:09 jmlothian

We'd use this and are working towards getting our library to use core 5 as well. We have a sole dependency on this library and would love if there was support for it.

niemyjski avatar Sep 11 '15 14:09 niemyjski

Would love to use this as well, I have a fairly large project that we have ported over to core 5 and the one dependency that is still out there is this one. We've managed a work around for now but would love to plug this back in. Does anyone have a timeline on when this might be available?

Thanks, AJ

ArieJones avatar Sep 27 '15 13:09 ArieJones

I did a spike but it lost momentum, mainly relating to work converting the test suite. I'll re-evaluate the current state of core 5. On 27 Sep 2015 2:07 pm, "ArieJones" [email protected] wrote:

Would love to use this as well, I have a fairly large project that we have ported over to core 5 and the one dependency that is still out there is this one. We've managed a work around for now but would love to plug this back in. Does anyone have a timeline on when this might be available?

Thanks, AJ

— Reply to this email directly or view it on GitHub https://github.com/StackExchange/StackExchange.Redis/issues/202#issuecomment-143548046 .

mgravell avatar Sep 27 '15 15:09 mgravell

Thanks for your efforts, if you hit a road block please let us know and we all can chip in.

niemyjski avatar Sep 28 '15 12:09 niemyjski

This would be awesome! :+1:

Tazer avatar Oct 09 '15 15:10 Tazer

@mgravell I'll have need for this soon too (blocker style) - I'm happy to continue the port, any chance you can throw what you currently have onto a branch?

NickCraver avatar Oct 09 '15 23:10 NickCraver

@NickCraver @mgravell @deepakverma has a fork which has the port (including unit tests)https://github.com/deepakverma/StackExchange.Redis/tree/client_for_k Let us know if we can help update the client.

rustd avatar Oct 13 '15 00:10 rustd

And here I thought Pranav (@rustd) has forgotten all about me... :+1:

TimPosey2 avatar Oct 13 '15 00:10 TimPosey2

Dare I ask: how big is the fork? How hard would it be to merge back in? Happy to let other people take the heavy lifting here... On 12 Oct 2015 5:20 pm, "Pranav Rastogi" [email protected] wrote:

@NickCraver https://github.com/NickCraver @mgravell https://github.com/mgravell @deepakverma https://github.com/deepakverma has a fork which has the port (including unit tests) https://github.com/deepakverma/StackExchange.Redis/tree/client_for_k Let us know if we can help update the client.

— Reply to this email directly or view it on GitHub https://github.com/StackExchange/StackExchange.Redis/issues/202#issuecomment-147554614 .

mgravell avatar Oct 13 '15 05:10 mgravell

We @jeremymeng @rustd and Roger Best are actively working to make it work on coreclr @marc @TPoise @NickCraver can you please share what are you guys doing to make socket polling code work on coreclr?

deepakverma avatar Oct 15 '15 18:10 deepakverma

I mentioned this in a direct email too, but my original CoreCLR momentum died with the pain of xunit => xunit. Beyond that, my plan was "make it work". My initial hunch is that this will mean switching to the API that the mono code uses. On 15 Oct 2015 11:27 am, "dverma" [email protected] wrote:

We @jeremymeng https://github.com/jeremymeng @rustd https://github.com/rustd and Roger Best are actively working to make it work on coreclr @marc https://github.com/marc @TPoise https://github.com/TPoise @NickCraver https://github.com/NickCraver can you please share what are you guys doing to make socket polling code work on coreclr?

— Reply to this email directly or view it on GitHub https://github.com/StackExchange/StackExchange.Redis/issues/202#issuecomment-148480947 .

mgravell avatar Oct 15 '15 19:10 mgravell

As easy as https://github.com/jeremymeng/StackExchange.Redis/commit/39cc2a79e080b803c36a2c3646c82e34e5c69a78? :)

jeremymeng avatar Oct 16 '15 03:10 jeremymeng