r/rust • u/setori88 • Jan 06 '17
Fractalide - simple rust microservices, is readying for BETA release, feedback welcome.
https://github.com/fractalide/fractalide1
u/piaoger Jan 08 '17
fbp is interesting. I found there is another fbp in javascript. https://noflojs.org/example/
3
Jan 06 '17 edited Jan 06 '17
[removed] — view removed comment
1
u/setori88 Jan 07 '17 edited Jan 07 '17
Thanks for your thoughts on the README, I'll change it. Regarding a pubsub system; I have no need for it atm, maybe in the future?
I'm not sure what to make of your "cryptic nix code" comment, it's hardly more scary than a configuration file like Cargo.toml. see: https://github.com/fractalide/fractalide/blob/master/nodes/msg/clone/default.nix
In fact the above can be simplified even more to:
{ agent, crates }: agent { src = ./.; crates = with crates; [ rustfbp capnp ]; }elegant for the important stuff (message types, nodes, edges, services)
I'm very keen to know exact code snippets which you consider not elegant.
Having said that, I've been thinking about a different DSL, but I'm uncertain what it would look like. I'd quite like to move towards a lisp that is able to express explicit inputs and outputs but that would be solving a problem the current DSL doesn't give me, as its very suitable for its purpose of expressing flow and constructing subgraph interfaces.
2
u/steveklabnik1 rust Jan 06 '17
Since you're asking for feedback...
This is a significant drawback to me, so much so that I probably won't ever try Fractalide. I understand people love Nix, and so are gonna build stuff for it, so I'm not saying this is bad, just not a thing for me.