News for hackers. Stuff that matters.
Re:Amber – the programming language compiled to Bash by notdefio on Wednesday May 22, 2024 @11:28AM (#40442193)
It's not compiled in the way that C is compiled. Transpiled would be a better term (though there are debates on where the line is).

Amber code gets turned into bash code, and run by a bash interpreter. So at best Amber's performance will match Bash's performance.

I've seen people say bash is faster than PowerShell, but I don't have benchmarks to back it up. Even so, I wouldn't recommend using it for performance intensive tasks such as writing a web server.

The great advantage I see for Amber is being able to write scripts in a sane language (bash is not enjoyable to write), and have those scripts be able to run anywhere that Bash is installed.

Re:Amber – the programming language compiled to Bash by replwoacause on Wednesday May 22, 2024 @12:21PM (#40442767)
Thanks that makes sense.