mindbeam / unbase

Other
39 stars 9 forks source link

slabs on different machines and WASM examples #17

Open wprayudo opened 4 years ago

wprayudo commented 4 years ago

Hi, I'm new in this concept still learning about casuality model and cone projections concept. Could you please add more examples about multiple machines implementation and WASM ?

Regards

wprayudo commented 4 years ago
warning: unused import: unbase::Subject --> crates/unbase/examples/pong.rs:4:5 4 use unbase::Subject; ^^^^^^^^^^^^^^^

= note: #[warn(unused_imports)] on by default

Finished dev [unoptimized + debuginfo] target(s) in 0.11s
 Running `/home/wahyu/unbase/target/debug/examples/pong`

Waiting for ping node... Waiting for subject... Waiting for subject... Waiting for subject... Waiting for subject... Waiting for subject... Waiting for subject... Waiting for subject... Waiting for subject... Waiting for subject... unable to retrieve subject

pong.rs still unable to retrieve object even I increased its loop . Or something wrong I ran it ?

thanks

dnorman commented 4 years ago

Hello @wprayudo! I apologize for the delay in responding here.

The development of unbase is still in the very early stages. For a couple years it had langished as an under-loved hobby project, and also stalled due to the (former) unsuitability of the rust async story.

Fortunately, as of very recently, the Rust async story has stabilized, and I am also able to dedicate a lot more time to it than before!

At this point I'm working on adding in cryptographic hashing, CRDT data types (currently just Last-writer-wins strings), and WASM application logic / invariant resolution. I expect this will take a couple months to get this working to my satisfaction.

It's still nowhere near ready for anything beyond the most basic toy use-cases, but I did just push an update to the master branch which fixes the above issues, and merged some crucial code pertaining to the consistency model that significantly predated the rust async functionality.

Perhaps you could give it another go, and let me know how it went?

Feedback, advice, and contribution are wholeheartedly welcomed :)

The core concept of unbase is admittedly a little crazy. If it works, it'll be really cool! Lets find out :)

wprayudo commented 4 years ago

Thanks. It's really cool . Actually, I learn rust and its async await intensively because of your project using relativity theory on determinism and casuality modelling within swarm intelligence sauce on it :D . I used just luajit and python just for playing several concepts about relativity theory for autonomous data movement, scaling, no client-server model . I am also interested on many transports in your plan , I am learning libpnet for it. Your project is a big thing :)