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

Apparently the JS name was selected and announced in partnership with Sun from the very beginning, and Sun had the copyright over both Java and JapaScript up until the acquisition by Oracle. I had no idea, but that makes perfect sense.

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

The author actually agrees with this take, and even links to this post making it explicit: https://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.html

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

There is indeed a caveat in the introduction to the Reference that there may be statements in it that are specific to rustc. However, the authors strive to keep statements about the implementation separate from statements about the language.

The main reason there's not yet an "official" spec is that creating one takes enormous time and money, which are always limited resources. (Note that both C and C++ had no formal standard for over a decade after their initial release.) The Reference is "good enough" to make a formal spec not strictly necessary, and the existence of Ferrocene makes it even less necessary, since anyone who absolutely needs a spec can use Ferrocene.

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

Creation is easy, assuming the many-worlds interpretation of quantum mechanics!

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

Or Stockholm Syndrome

[-] BatmanAoD@programming.dev 4 points 2 years ago* (last edited 2 years ago)

No, I mean, analyzing the Amber expression to determine if Bash has a native construct that supports it is unnecessary if all arithmetic is implemented using bc. bc is strictly more powerful than the arithmetic implemented in native Bash, so just rendering all arithmetic as bc invocations is simpler than rendering some with bc and some without.

Note, too, that in order to support Macs, the generated Bash code needs to be compatible with Bash v3.

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

Do you mean Grace Hopper, who wrote the first assembler?

[-] BatmanAoD@programming.dev 4 points 2 years ago* (last edited 2 years ago)

I'm not sure I understand what issue Linus et al. are trying to solve. If the full hash is used whenever a commit reference is saved somewhere, then why does it matter how core.abbrev is configured? In particular, why use a static value, when git's default behavior is to compute a value based on the current number of objects in the repository? (Edit: just noticed this post is over 10 years old. Maybe git didn't have this automatic default behavior back then.)

For what it's worth, jj has an even better solution, which is to highlight the shortest unique prefix in each specific hash it displays.

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

Elixir is running on the BEAM. It wasn't invented until 2012, though, so it couldn't have become popular in time to influence the JVM or Netscape.

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

It's not too far off from how ed works!

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

I don't think they're interpreting that question as a gauge of how widely used nushell is in general. The comment below the result seems to be about how they should interpret the rest of the survey based on the ratio of users to non-users who responded.

[-] BatmanAoD@programming.dev 4 points 3 years ago

Zig's approach seems even more low-level and manual: https://ziglearn.org/chapter-5/

(In general, I think Rust and Zig both seem valuable, and I think it's a mistake to treat programming language success as a zero-sum game.)

view more: ‹ prev next ›

BatmanAoD

0 post score
0 comment score
joined 3 years ago