Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Yamux: Remove trySend AsyncSpawn HOT 1
- Keep track of in-flight IWANT requests
- Dont send a message in the non-prio queue if we received idontwant for it HOT 1
- When a peer's score drops below this threshold, the peer is graylisted and its RPCs are ignored HOT 1
- Cancel pending IWANT with an IDONTWANT if the message has been received
- Wildcard address resolver does not include IPv4 addresses when dualstack being used. HOT 2
- Support GCC14 HOT 1
- CI: Install deps once and then cache
- linux-i386 doesn't work with ubuntu 24.04 HOT 1
- windows-amd64 (Nim version-1-6) is failing HOT 1
- transport interoperability tests is failing HOT 2
- CI: minver & maxver
- Removing `discard Future` and `asyncspawn`
- bug: yamux Futures leak HOT 2
- create a nim wrapper for cloudflare quiche HOT 1
- bug: rendezvous unsubscribed peer is discoverable
- Fix interop test cache
- Add separate CI job using SAT solver
- Stop creating duplicate msg keys in logs HOT 1
- Improve logs' parameters' keys
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nim-libp2p.