Hacker News new | ask | show | jobs
by notdefio 764 days ago
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.

1 comments

Thanks that makes sense.