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
[-] TrickDacy@lemmy.world 5 points 3 days ago

Bash syntax sucks but imo rust syntax is 50 times worse. Interesting idea though.

[-] ferric_carcinization@lemmy.ml 3 points 3 days ago

What do you dislike about Rust's syntax?

[-] TrickDacy@lemmy.world 3 points 3 days ago

I just didn't like it. I did a tutorial years ago and it all felt unnatural and hard to read/write.

[-] airgapped@piefed.social 3 points 3 days ago* (last edited 3 days ago)

Likewise, the constant finger dancing between various symbols gave me RSI and was a readability nightmare. Shame because I liked Rust as a language.

[-] ferric_carcinization@lemmy.ml 2 points 3 days ago

Fair enough, I guess. I too find the syntax of some languages to be a bit unergonomic. Though, I could probably get used to them, given enough time.

I was just a bit curious, as Rust's syntax is not nearly as exotic compared to its signature features.

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

Linux

66688 readers
139 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