Git Product home page Git Product logo

Comments (2)

tgnm avatar tgnm commented on July 19, 2024

@zgramana is this still needed? I inspected the code and found a small number of occurrences. Most of them are related to Task, TaskFuture and ScheduledThreadExecutor (all in the Sharpen namespace). I am not sure if these classes are going to be used much longer as it seems that you already make use of the TPL on other areas of the library (btw, no Rx?) :)

from couchbase-lite-net.

zgramana avatar zgramana commented on July 19, 2024

This comment turned into a bit of a brain dump. TL;DR, you're correct, this issue can be closed.

As you noted, I've fixed most of the converted code with the exception of the Sharpen helper classes. The goal is to ultimate replace the helpers with idiomatic .NET. Most of those files aren't used anyway.

As far as Rx goes, I've been looking for project to use it with, but I'm pretty conservative when it comes to adding dependencies to library projects. That, and I don't have much time in the cockpit with Rx, so to speak. I'm even reluctant to use async/await much in this library, as I want to impose as little on downstream consumers as possible.

That said, once the vanilla stuff is working, I'm very interested in seeing how we can better flex .NET. I think there maybe an opportunity to expose a late-evaluated, late-materialized LINQ context. We might also be able to use TPL Dataflow to better handle concurrency, and write/read ordering.

from couchbase-lite-net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.