And on echojs rules is this:
So yeah, I shall do it like that.
The part about `man wc` and the ctrl-c on vim were the funniest!
I kind of agree, but perhaps should be seen the opposite way.
So, instead of thinking about libui (or something similar) for only simple UI apps and electron for something more advanced, try to think about it more like using libui as default and only electron if something more complex is needed.
The way I see it, is that the difference between libui and electron, is that it is somehow the same as nativscript and phonegap, and offering a native experience can be considered a plus.
The advises in this article are good, but the author is wrong in the sense that he actually is not really going against the rule of "premature optimizations".
Donald Knuth said: "We should forget about SMALL EFFICIENCIES, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%."
If the speed gains are as huge as a magnitude of 10x or more, then they don't really count as "small efficiencies".
I think Eric S Raymond explains it better here: http://www.catb.org/esr/writings/taoup/html/ch01s06.html#rule_of_optimization
"From tortured code to incomprehensible data layouts, the results of obsessing about speed or memory or disk usage at the expense of transparency and simplicity are everywhere."
So, the rule is more about preventing writing hackish, non-KISS code that is faster than the simple, obvious code (code that is KISS), or at least until you realize there is a bottleneck you have to fix. Keep in mind that on languages like C, you can optimize writing code that is completely non-obvious, using knowledge of how the compiler works, etc.
That Ted Cruz link still on the rss feed. Echojs is still advertising that site right now.
Hey! I want to report that, at least at this moment, the rss feed is still showing that ted cruz spam link, even if the article was already deleted!