Code Monkey home page Code Monkey logo

Comments (3)

swannodette avatar swannodette commented on August 13, 2024

@jlongster thanks for opening up this issue I also think collaboration could be very fruitful and you bring up a lot of good points. I'll discuss this with team at Cognitect tomorrow and get back to you.

from transducers-js.

swannodette avatar swannodette commented on August 13, 2024

@jlongster I've made several changes to master to accommodate interoperability and reuse. First off, all transducer types are exported - they are a part of the public API - anyone can combine them with any other transducer implementation given that they follow https://github.com/cognitect-labs/transducers-js#the-transducer-protocol. Feedback on this simple protocol is appreciated.

It's unlikely we'll pursue all the other nice bits that are available in your implementation - and we certainly don't mean to discourage separate implementations! That said I think at 2K gzipped transducers-js is small enough to be the underpinning of any higher level functionality you may want to provide yourself. If that's not desirable then I think we can meet at a shared protocol. Happy to discuss any issues you may have with the protocol as currently described.

from transducers-js.

jlongster avatar jlongster commented on August 13, 2024

@swannodette Looks good to me. I'm glad you documented the protocol in the docs; our libs mostly already matched but it should be documented. The protocol looks great.

I understand not wanting to pull in my APIs; you all have your own priorities/vision. No worries, I think multiple libraries is good as long as it's not too confusing. I may add a section explaining the differences. Since our internal implementation is basically 100% the same, I'll think about building on top of your lib instead and just providing new APIs. Not sure yet.

Either way, having a standard protocol really helps with projects like js-csp. Thanks!

from transducers-js.

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.