66

In short, Amber is a programming language with Rust like syntax that compiles down to bash. More details here: https://amber-lang.com/

On the surface, it seems nice. Cleaner syntax, types, compile-time safety checks, etc. So you get to write in something nicer than bash but get the portability of bash.

My wonder is if there are pitfalls that make it worse than instead writing it in something like Python or even bash itself. I'd guess the generated bash code probably isn't the prettiest to look at or debug.

you are viewing a single comment's thread
view the rest of the comments
[-] IanTwenty@piefed.social 13 points 3 days ago

I like the idea as BASH is available everywhere but has terrible gotchas in its syntax plus at times is unreadable.

When I did some moderately complicated amber scripts I hit bugs. Also still some important features are missing.

So I'm keeping an eye on it but it's definately not ready for anything serious yet.

I am also watching https://oils.pub/ and hoping one or both of these projects succeed.

this post was submitted on 26 Jul 2026
66 points (100.0% liked)

Linux

66672 readers
151 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS