miniblog.

'C is not a simple language... it's a simple machine model for building software on bare machines' https://lambda-the-ultimate.org/node/4554#comment-72306
Lisp tools often have great names. Today: metabang-bind: https://common-lisp.net/project/metabang-bind/user-guide.html (it's a neat, generalised destructuring-bind)
Io is a really elegant language: https://iolanguage.org/guide/guide.html#Introduction (it's very OOP, even next to Smalltalk!)
We think of assemblers as being a simple mapping of mnemonics to opcodes, but there is ambiguity sometimes:
The Siren Call of Automated Browser Testing https://cugablog.wordpress.com/2016/01/21/the-siren-call-of-automated-browser-testing/ (great post that also correlates with my experience)
Apparently (according to the haskell-mode retrospective: https://github.com/haskell/haskell-mode/wiki/Haskell-Mode-2015-retrospective ) lexical scoping produces better warning in Emacs!
Cog VM is implemented in Smalltalk, translated to a lower level lang: https://www.mirandabanda.org/cogblog/about-cog/ described as a "joy to work with"—high praise!
The C preprocessor can be remarkably difficult to reason about:
Stoke is incredible: it takes a piece of code, generates tests, then fuzzes for equiv instructions to find speedups!
TIL CPU micro ops are not a black box, Intel provides a tool called IACA to help you see what's going on:
When should you use auto in C++? https://herbsutter.com/2013/08/12/gotw-94-solution-aaa-style-almost-always-auto/ argues that it's safer, more readable and more consistent.
Emacs tip of the day: you can use ! to explicitly run git commands inside magit. Handy for deleting large directories: ! rm -r somedir
Great blog post showing how to lower a traditional assembly language to BF:
Understanding Compiler Optimization https://www.youtube.com/watch?v=FnGCDLhaxKU (great talk, Chandler notes 'LLVM does not optimise if UBSan cannot warn on UB')
When does hyperthreading make sense? https://www.agner.org/optimize/blog/read.php?i=6 (it's a great option to have, but no panacea)
Showing 4,816-4,830 of 7,584 posts