> But then, at that point, you're saying something pretty profound about computer science (roughly: that there was no meaningfully more sophisticated and complex place to go from where we are today).
Or that human taste and expertise cannot helpfully guide a project there.
> that's what "productivity", in the economic sense, means
That's too strong. It does mean we can do the same work with fewer people, but depending on the shape of the demand curve that can mean more jobs exist doing that thing than otherwise would (an instance of the Jevons Paradox).
I guess we may be talking at cross purposes here - idiomatic usages of the pin macros don't really mean you need to understand whats going on here (beyond "async futures need to be pinned in order to repeatedly mutate them").
If you need to produce a type that interacts with Pin, it's a whole other level of hell.
> [Performance cost] is (de facto) required for dynamically typed languages, but not for statically typed ones where the newtype constructor/deconstructor can be elided at compile time.
For a single value, it should reliably be free in any reasonable statically typed language that meet your other criteria.
For a collection, it may still be de facto required. Unwrapping a set of addresses into a set of strings takes unnecessary cycles, an unsafe coercion, sufficiently sophisticated affordances around coercion that it can be safe, or a smart enough optimiser. At least some static languages have at least one of these; I'm not sure all do, and certainly not all have always had.
Nitpicking, but this has bugged me for a while and I'm taking this opportunity to vent:
"Enslaved people were counted as three-fifths of a person, not as full citizens."
They were not counted as three fifths of a person in a way that matters for what we talk about today. They got zero percent of the vote they deserved. They probably got, on average, quite substantially less than three fifths of the respect and dignity they deserved. They were counted as three fifths of a person for how much they magnified the power of the votes of their captors and how much taxes their State had to pay. Slavery would have been every bit as wrong if they were counted as whole persons (or half persons, non-persons, double persons) for apportionment and taxation.
reply