GithubHelp home page GithubHelp logo

Comments (7)

mratsim avatar mratsim commented on September 18, 2024 2

Note that @tina1998612 is currently writing an introductory blog post on how to use nim-libp2p, if you want some specific examples that might give her some ideas.

from nim-libp2p.

arnetheduck avatar arnetheduck commented on September 18, 2024 1

js backend

more sane would be a wasm port - the JS backend feels a bit dated at this point to be sinking resources into.

from nim-libp2p.

dryajov avatar dryajov commented on September 18, 2024

Hi and welcome @csajedi!

I want to inquire about intentions for this repository and its current state

Currently the library is still under heavy development and it will most likely remain in alpha for the next few months. However we're beginning to use it in our eth2 implementation (called nim-beacon-chain) and we expect this integration to help drive further development and stability efforts. In other words, this library will start seeing some real world usage, furthermore we expect it to be in production some time this year.

is now a good time for me to begin to experiment with it

It depends on what you mean by experiment. If you are looking at building something production quality, it is probably a bit premature (however see previous paragraph). If what you're after is learning/playing with some code, then this is probably as good of a time as any; we're actively looking for both community feedback as well as contributions in the form of bug fixes and missing features (please make sure to check out the issues) and documentation. That said, do expect things to break and the api to change from time to time.

implement a tagged release system that will signal that the library is ready for general use

We can't promise that we'll be shipping any binaries any time soon if that's what you mean, but we'll do our best to communicate when the library reaches beta and subsequently a stable version. It is however extremely easy to get started with what's there already. Follow the instructions in the readme and you should be able to get started in no time, and don't hesitate to ask questions, we'll do our best to respond.

Hope this helps and please report any issues and leave feedback, it will be much appreciated!

from nim-libp2p.

dryajov avatar dryajov commented on September 18, 2024

Finally, will it support compilation to the js backend (especially interested in browser).

This is one of the goals eventually, but not just yet. There shouldn't be anything in the core of the library that would prevent it from running in the browser besides the lack of browser native transport; websockets and/or WebRTC. Once those are added then it should be possible to run in the browser.

However, if there is interest I encourage the community to pick this up, there are a few benefits 1) it would be a great way of getting aquatinted with all the parts of nim-libp2p and 2) it would be a huge win all around given the massive deployment of browsers as a platform.

In very broad strokes, I would first make this run in Node, which should not require anything additional to make it work and subsequently we can add the transports listed above.

from nim-libp2p.

dryajov avatar dryajov commented on September 18, 2024

js backend

more sane would be a wasm port - the JS backend feels a bit dated at this point to be sinking resources into.

Depends on the effort, the assumption is that it will be minimal. If it ends up being too big of an effort then yes, it doesn't make much sense at this point.

from nim-libp2p.

csajedi avatar csajedi commented on September 18, 2024

Thanks for all the responses. I am playing around with the library now, also working to wrap humblenet. It may prove useful for your this, since the browser is a target for compilation (and through emscripten instead of js backend). Follow progress here for now.

from nim-libp2p.

dryajov avatar dryajov commented on September 18, 2024

I think this is a good info issue, should maybe stay open for others that might come here and have similar questions?

from nim-libp2p.

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.