News for hackers. Stuff that matters.
Re:Dagger Shell: Unix Pipeline Pattern for Typed API Objects by vito on Thursday March 27, 2025 @03:09PM (#43496975)
The Bash compatible syntax is just one representation of an underlying cross-language API. You can also write code in your preferred language, provided there's an SDK for it. (Currently: Python, TypeScript, Go, PHP, Java, Elixir, Rust, .NET)

But if you're talking specifically about shell or a "native" REPL in a safer language - I also want to scratch that itch. Some day I'll dust off https://github.com/vito/dash :)

Re:Dagger Shell: Unix Pipeline Pattern for Typed API Objects by esafak on Thursday March 27, 2025 @03:36PM (#43497252)
They even supported CUE at one point. https://dagger.io/blog/ending-cue-support
Re:Dagger Shell: Unix Pipeline Pattern for Typed API Objects by verdverm on Thursday March 27, 2025 @04:12PM (#43497643)
I worked with the Dagger team on that. It was super hard to marry two DAG engines that work in opposite directions. The team eventually heard from users they wanted to write in the language of their choice, so there are now a bunch of SDKs.

I think one could wrap the Go SDK with CUE, and have oft considered doing it, but the work has not migrated from the backlog yet

Re:Dagger Shell: Unix Pipeline Pattern for Typed API Objects by riedel on Thursday March 27, 2025 @03:52PM (#43497430)
I feel this is much more powershell like than bash. The container thing looks much more than a typed object than a plain character device/pipe. Also what is the bourne again part?
Re:Dagger Shell: Unix Pipeline Pattern for Typed API Objects by levlaz on Thursday March 27, 2025 @04:53PM (#43498050)
It’s def closer to powershell in all the best ways IMO. But the key point is that the container thing is actually a typed object. So is every other primitive in there including once you make yourself.
Re:Dagger Shell: Unix Pipeline Pattern for Typed API Objects by ledauphin on Thursday March 27, 2025 @06:32PM (#43498982)
okay, I think what I ultimately missed is that this is just a new language for the existing engine. I may not be the world's most careful reader.