Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Risor – Fast and flexible scripting for Go developers and DevOps (risor.io)
24 points by gizzlon on Aug 3, 2023 | hide | past | favorite | 8 comments


I really like the pipe operators. I remember seeing this in Scheme a long time ago. I wonder why this isn't more common in other languages?


Yeah. I know Elixir has its pipe operator |> which operates similarly. I don't know how much this really plays a part, but because "|" is so commonly used for the bitwise-or operator, you then have to choose another token to use for it. With Risor I made the judgement that bitwise-or can be handled in some other way, since it's less important than getting a concise pipe expression.


What makes a scripting language cloud ready?


What this is referring to is that the AWS SDK is built into the Risor binary. This means that using Risor you can call any AWS API without needing to install extra packages/dependencies/etc.


But not GCP? But also Postgres? But not MySQL? I cannot find any mention of which APIs are built in and which are not in the documentation.


All good questions. Risor hasn't really fully "launched" yet and its documentation is incomplete at this point.

GCP and Azure to be added in the coming weeks. Here's a related GitHub issue:

https://github.com/risor-io/risor/issues/65

For now, you can browse the available modules in the source tree here:

https://github.com/risor-io/risor/tree/main/modules

Please open an issue on GH if you have other module requests! MySQL is a logical one but I was waiting for someone to ask :-)


Fair enough. Things show up on HN and it's hard to tell what state they're in.


Yes indeed. FWIW, I'd love any feedback on the project if there are things you like or dislike, in your first impression.




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

Search: