[-] BatmanAoD@programming.dev 13 points 8 months ago

That's just not terribly meaningful, though. Was JavaScript the "best tool" for client-side logic from the death of Flash until the advent of TypeScript? No, it was the only tool.

[-] BatmanAoD@programming.dev 12 points 1 year ago

Nope. It links to an explanation of what that poster is:

This is the UNIX Magic Poster, originally created by Gary Overacre in the mid-1980s and published by UniTech Software.

[-] BatmanAoD@programming.dev 11 points 2 years ago

He spent four years as the project maintainer. That's hardly "flouncing off."

[-] BatmanAoD@programming.dev 12 points 2 years ago

See also Asahi Lina's thread on this, which explicitly says that Rust is one reason why their drivers cause fewer kernel panics than others: https://vt.social/@lina/113045456734886438

[-] BatmanAoD@programming.dev 11 points 2 years ago

It's relevant because there are still platforms that don't have actual Bash (e.g. containers using Busybox).

sh is not just a symlink: when invoked using the symlink, the target binary must run in POSIX compliant mode. So it's effectively a sub-dialect.

Amber compiles to a language, not to a binary. So "why doesn't it compile to sh" is a perfectly reasonable question, and refers to the POSIX shell dialect, not to the /bin/sh symlink itself.

[-] BatmanAoD@programming.dev 12 points 2 years ago

It's probably just easier to do all arithmetic in bc so that there's no need to analyze expressions for Bash support and have two separate arithmetic codegen paths.

[-] BatmanAoD@programming.dev 13 points 2 years ago

Minor point of clarification: it can't have runtime reflection, but in principle it could have compile time reflection.

[-] BatmanAoD@programming.dev 12 points 2 years ago

The animation that goes with this is pretty slick: https://x.com/Phantom_TheGame/status/1748457358521426375?s=20

[-] BatmanAoD@programming.dev 11 points 2 years ago

Oh hey, it's modern ed!

[-] BatmanAoD@programming.dev 11 points 2 years ago

...why not both? An auto-formatter for personal use, a linter for CI checks on PRs.

[-] BatmanAoD@programming.dev 13 points 2 years ago

There are a fair number of them: https://en.m.wikipedia.org/wiki/Non-English-based_programming_languages

But arguably, as long as the compiler supports unicode, it shouldn't matter that much what language the keywords are in. There are other more important issues impacting how easy it is to program in non-English languages:

  • availability of documentation and tutorials
  • English comments and API names in common libraries, especially the standard library
  • tooling for handling unicode, especially BiDi (which is part of why Arabic is especially tricky) - Vim, for instance, has had an open issue about this for almost a decade: https://github.com/vim/vim/issues/204
view more: ‹ prev next ›

BatmanAoD

0 post score
0 comment score
joined 3 years ago