TheAsprngHacker
Joined 9 years ago
Joined 9 years ago
As I understand it, this library is optimized to avoid branching (which incur an overhead) and take advantage of SIMD instructions (which process data in parallel).
As someone who is taking the accelerated version of this course right now, but had prior functional programming experience, I did feel limited at first. Some other people responded negatively to the student languages because they weren't "mainstream."
As for the expressive power of languages, as a matter of fact, Felleisen wrote a paper that rigorously defines this idea. Here is a talk by Shriram Krishnamurthi that discusses it: https://pwlconf.org/2019/shriram-krishnamurthi/ It turns out that local transformations (macros) do not add expressive power. A language feature adds expressive power if you can find two programs that are observationally equivalent in the base language, but not the extended language.
But Hedy seems to make the mistake that many curriculums do of focusing on the minutiae of syntax. Don't do that! Northeastern's course emphasizes broad concepts such as abstraction, accumulators, and generative recursion. Meanwhile, it uses simple s-expr syntax.
Now, UIP is valid if the only way of proving an equality is to show that the two terms are definitionally equal. However, there are various type theories, such as Homotopy Type Theory, in which this axiom does not hold because propositional equality can have other proofs.
Andrej Bauer's blog also uses GitHub issues for comments: http://math.andrej.com/
However, some people contrast OCaml and Rust in this regard, contradicting the views of the great grand-parent comment: https://news.ycombinator.com/item?id=25111104
The problem of primaries selecting for extremists could be partially alleviated with ranked-choice voting, so an extreme candidate with a significant minority of supporters can't win against a divided field of moderates. This is how Trump won the 2016 Republican nomination and how Sanders almost won the 2020 Democratic nomination before the establishment candidates dropped out and endorsed Biden. Or, we could try open primaries so independents can give input on the desired candidate.
> Reuters conducted polls in December 2019,[617] March 2020,[618] June 2020[619] and August 2020. The last poll showed that an increasing number of Hongkongers support the pro-democracy goals since the national security law was implemented. More than half of the respondents opposed the national security law. 70% wanted an independent commission of inquiry that looked into how the police handled the protests. 63% wanted universal suffrage. The support for amnesty of all arrested protesters rose to 50%. More than half of people still wanted Carrie Lam to resign. The number of people who opposed the pro-democracy demands went down to 19%. The majority (60%) still opposed Hong Kong independence, 20% supported the idea.[620]
https://en.wikipedia.org/wiki/2019%E2%80%9320_Hong_Kong_prot...