Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah it’s not technically DAG since it uses iteration, but then dgsh will use iteration under the hood too.

However Murex does support CSP-style concurrency. So while there’s no syntax sugar for writing graphs, you can very easily create adhoc pipes and pass them around instead of using stdout / stderr.

So it wouldn’t actually take much to refine that with some DAG-friendly syntax.

In fact maybe that can be my next project…



I'm curious: what do you mean by "dgsh will use iteration under the hood too"? Dgsh does several things under the hood, but I wouldn't characterize any of them as iteration.


Yes you’re right. My apologies. I was glancing at the examples while cooking, specifically the git example (https://www2.dmst.aueb.gr/dds/sw/dgsh/#commit-stats) thinking that it was iterating over the lines output from git, but clearly that’s not even how bash would work. That will teach me for commenting without giving something my full attention first doh!

Looking properly at this, I can see no iteration is needed. Which actually makes the Murex implementation even easier because Murex already has tee pipes just like dgsh. It’s just not (yet) particularly well documented.


Admiring your multi-tasking!


Haha thank you but it’s really not that good otherwise I’d have grokked the iteration thing before making a fool out of myself!


would you be able to share or point to some examples? i am curious.


Sorry, it’s been a very busy couple of days so not had 5 minutes to test anything.

Stay tuned though, What I’m going to do is write a blog post about it. It’s an interesting enough topic to deserve one


awesome. i am looking forward to that. that blog on the murex website could use some attention anyways :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: