miniblog.
Jan 22, 2016
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!
Wilfred Hughes
Jan 22, 2016
The C preprocessor can be remarkably difficult to reason about:
7 Scandalous Weird Old Things About The C Preprocessor
blog.robertelder.org/7-weird-old-things-about-the-c-preprocessor/
Wilfred Hughes
Jan 21, 2016
Stoke is incredible: it takes a piece of code, generates tests, then fuzzes for equiv instructions to find speedups!
GitHub - StanfordPL/stoke-release
Contribute to StanfordPL/stoke-release development by creating an account on GitHub.
Wilfred Hughes
Jan 21, 2016
TIL CPU micro ops are not a black box, Intel provides a tool called IACA to help you see what's going on:
c - Obtaining peak bandwidth on Haswell in the L1 cache: only getting 62% - Stack Overflow
Wilfred Hughes
Jan 21, 2016
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.
GotW #94 Solution: AAA Style (Almost Always Auto)
Toward correct-by-default, efficient-by-default, and pitfall-free-by-default variable declarations, using “AAA style”… where “triple-A” is both a mnemonic and an evaluation …
Wilfred Hughes
Jan 20, 2016
Emacs tip of the day: you can use ! to explicitly run git commands inside magit. Handy for deleting large directories: ! rm -r somedir
Wilfred Hughes
Jan 20, 2016
Great blog post showing how to lower a traditional assembly language to BF:
https://gergo.erdi.hu/blog/2010-09-07-from_register_machines_to_brainfuck
,_part_2/
Wilfred Hughes
Jan 20, 2016
Understanding Compiler Optimization
https://www.youtube.com/watch?v=FnGCDLhaxKU
(great talk, Chandler notes 'LLVM does not optimise if UBSan cannot warn on UB')
Understanding Compiler Optimization - Chandler Carruth - Opening Keynote Meeting C++ 2015
Meeting Cpp
Wilfred Hughes
Jan 18, 2016
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)
Agner`s CPU blog
www.agner.org/optimize/blog/read.php?i=6
Wilfred Hughes
Jan 18, 2016
I'm really impressed with rustdoc. It produces attractive, searchable, cross-referenced docs. I'm considering writing some literate Rust.
Wilfred Hughes
Jan 17, 2016
"giving up ownership sells the community instead"
https://medium.com/message/diary-of-a-corporate-sellout-587479c215f4
(selling a small startup to an established company is difficult)
Wilfred Hughes
Jan 16, 2016
Once a language is established, it's rare to see much work on the docs. I'm impressed to see Rust is still polishing
API Documentation objectives for 1.6 · Issue #29429 · rust-lang/rust
These are the parts of the API documentation that I'm going to try to handle during the 1.6 release. To start, I'm going to: Keep it small. This is a new process, so I want to try to under-estimate...
Wilfred Hughes
Jan 16, 2016
The opposite of syntactic sugar is, amusingly, 'syntactic salt':
https://mail.mozilla.org/pipermail/rust-dev/2014-January/008324.html
(meaning: intentionally awkward syntax)
Wilfred Hughes
Jan 16, 2016
Rust has a great document describing much of its design rationale:
The Rust Design FAQ
doc.rust-lang.org/complement-design-faq.html
Wilfred Hughes
Jan 15, 2016
ido tip: if the current file doesn't exist, ido searches for similar files. You can undo with C-z, or simply disable
Emacs ido-mode and creating new files in directories, it keeps changing the directory while I'm typing - Stack Overflow
Wilfred Hughes
1
...
57
58
59
60
61
62
Showing 871-885 of 922 posts