dotnet / reactive

The Reactive Extensions for .NET
http://reactivex.io
MIT License
6.69k stars 749 forks source link

Serializable Bonzai Tree Support #207

Closed ronnyek closed 1 year ago

ronnyek commented 8 years ago

In a video long ago, Bart De Smet talked about the integration of serializable bonzai tree support in rx.net. https://vimeo.com/132192255

I'd really like to be able to pass expressions in their serialized forms over the wire, additionally persisting the expressions themselves to disk (and be able to load).

Gitter discussion about it: https://gitter.im/Reactive-Extensions/Rx.NET/archives/2015/07/01

Now that it's been > 1yr, and many of the other rx libraries (for other languages RxJs : https://github.com/Reactive-Extensions/RxJS/commit/9a813e4dea7ce488422a90cf9b84adc4f4763db9) are starting to support this, is there any chance of seeing this in rx.net as something I can consume without having to worry about licensing or ability to distribute binaries that were bundled with windows 10?

ronnyek commented 8 years ago

Is this something that could be contributed by community? I realize something exists, but if plans are not to have this stuff in place any time soon, wondering if some of the pre-made libraries to support serializing linq expressions could be integrated or something.

shiftkey commented 8 years ago

cc @bartdesmet @mattpodwysocki

bartdesmet commented 8 years ago

This is something we want to look into publishing, pending a transfer of these components to OSS. One tricky part is the dependency on an internal JSON framework, which we may need to get out as well. I'm having sync meetings with the .NET team on some of these libraries and our plan going forward. It's much more generic than just Rx, so it really belongs in the corefx or corefxlabs area.

RxDave commented 8 years ago

+1 I'm also interested in this. People I work with would like to have support for defining serializable expression trees from JS apps.

galvesribeiro commented 8 years ago

We would make a REALLY good use of it in Orleans :)

Looking forward for progress on this issue...

HowardvanRooijen commented 7 years ago

Any progress to report?

glopesdev commented 7 years ago

Also, what is the exact serialization format for expression trees? Is it source code? Will this finally allow for full scripting with expression trees from text?

akarnokd commented 4 years ago

Is there any actionable change with this request?

grahamehorner commented 4 years ago

@bartdesmet @akarnokd any updates with regards this? can this move forward given publication of System.Text.Json or is this still dependent on a different internal Json framework ?

3GDXC commented 3 years ago

@bartdesmet any updates regards this ?

3GDXC commented 3 years ago

also hoping that an update for https://github.com/dotnet/reactive/issues/181 may come given these may be interlinked ?

idg10 commented 1 year ago

This was published in May 2021 in the https://github.com/reaqtive/reaqtor repo.

The Bonsai bits are in https://github.com/reaqtive/reaqtor/tree/main/Nuqleon/Core/LINQ