4 ms·
You see, I keep asking myself, when I want image processing, I reach for IM. video processing? ffmpeg. Json/XML/any structured data? jc | jq. It's hard to beat
by ducktective 5y ago
You see, I keep asking myself, when I want image processing, I reach for IM. video processing? ffmpeg. Json/XML/any structured data? jc | jq.
It's hard to beat this workflow. Like, what possible ""java"" library is gonna beat the ubiquitous unix tools?
- jonahbenton 5y agoAgree. Though- of tangential interest, on the margin- For a commercial project I have been dipping into webassembly, and figuring out how to run wasm inside a JVM. The setup ergonomics are terrible, because it's native code land. But it works, and performance is spectacular. With all the build tooling targeting wasm, maybe there is a crazy future where native engines become pervasively available under wasm, and therefore inside a JVM.... This is not far from where Python has been- for 20 years. Its mechanical sympathy with native libraries is a big part of its current supremacy. But Py is a poor shell and repl, and most cli tools don't ship as engine libraries. So nothing yet competes with bash on the file system chaining together executables. Should there be widespread wasm, though, in THAT world, a Clojure repl with a nice menu of engines, caches, stores, all just functions and data- those ergonomics might get some people to switch... (fantasy goggles off now)
- ducktective 5y agoThanks for sharing your insight
- iLemming 5y ago> Json/XML/any structured data? jc | jq. Except that once you try EDN, you wouldn't want to deal with JSON anymore. EDN is a lot nicer - it's compact, doesn't contain "syntactical garbage", and easier to read and modify. To deal with API requests I use github.com/borkdude/jet, another useful tool from the author of babashka.