3 ms·
I've used guile to do pipeline like transformations of data by using multiple function calls. It has the advantage of a more consistent api to do the transforma
by rbc 8y ago
I've used guile to do pipeline like transformations of data by using multiple function calls. It has the advantage of a more consistent api to do the transformations on the stream of data and surely better type checking. The syntax is different but I think about it as being similar.
Despite its messiness, doing ad-hoc integration of command line tools to transform text is really handy. It also spreads the cpu utilization and memory usage across the commands that you use in the pipeline.
- rbc 8y agoI'll add that I enjoy using Common Lisp and Scheme REPL environments. I also really like Squeak as an interactive programming environment. Neither has replaced the old school Unix shell as my preferred command invocation environment, at least in my professional life.
- madhadron 8y agoI have the same experience, and I suspect it's because we haven't replicated the utilities in these environments. No one uses them as a replacement for shell because no one has done the work to use them as a replacement for shell. Personally, I think Prolog is the right way to go, but I have this idea that I don't want to spend the rest of my life typing into a teletype emulator.
- pjmlp 8y agoWe kind of do on Windows, thanks PowerShell and PowerShell IDE.
- pjmlp 8y ago> It also spreads the cpu utilization and memory usage across the commands that you use in the pipeline. For example with Clojure you can use pmap and pcall to achieve that.
- rbc 8y agoThat's cool. I'll have to try it out.