dianthrow
Re:Why Keccak is not ARX
on Tuesday September 19, 2017 @09:02PM (#15289989)
ARX in this case is referring to Add Rotate XOR, which is a common construction for hash functions. You are referring to the language.
Re:Show HN: 1 KB JavaScript framework for building front-end applications
on Saturday September 16, 2017 @11:41AM (#15265113)
I honestly love that these libraries keep getting smaller and faster. People have really started to hate these newer libraries, but as long as they are getting better, I'm fine with experimenting with them.
Vue even has a lighter alternative called Moon[1], which was on HN a while back. I'm curious as well about the performance of HyperApp. Looking at the JS frameworks benchmark[2], it's not the best, but not the worst either (pretty good for squeezing it all into 1kb).
[1] http://moonjs.ga
Re:Show HN: 1 KB JavaScript framework for building front-end applications
on Saturday September 16, 2017 @10:36AM (#15264807)
What you are looking at is called JSX[1]. It's not valid JavaScript, but is turned into function calls by transpilers such as Babel[2]. It's used as a more HTML-like syntax of writing function calls that output a representation of the DOM known as a "virtual DOM". You can embed JavaScript inside of JSX by using single curlies.