Top all-time · #5630
Code Thoughts
Personal blog · jackmott.github.io/programmingprogrammingsystems
Code Thoughts is a personal blog at jackmott.github.io about programming and systems. Since 2016, 13 different Hacker News readers have linked it 18 times, most often “Making the obvious code fast (2016)”. The last post was in 2017, but the archive is still widely read.
Too few sampled comments (6) to say how often HN recommends it.?
Why HN links it
HN readers link this blog for Visual Studio and C++ IDE tips, plus posts on parallel loops with Rust and rayon and C# performance. Commenters cite it as a practical tooling and benchmarking reference.
Summarised by Claude from a sample of 6 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Thoughts on code
Most-linked posts?
- Making the obvious code fast (2016)4 people · 4 mentions · first linked 2016-08-04
- Adventures in F# Performance – Benchmarking the F# Core Library3 people · 3 mentions · first linked 2016-08-15
- Think Before You Parallelize: A tour of parallel abstractions2 people · 2 mentions · first linked 2016-09-02
What Hacker News says?
I've got a few visual studio tips here: https://jackmott.github.io/programming/tools/editor/ide/visu... and here: https://jackmott.github.io/programming/tools/editor/ide/visu... I'm not familiar with jetbrains but if you can probably find equivalents for all those VS tips in jetbrains. are you one of my interns? haha. It can be worthwhile to at least partially master emacs/vim as well, since these exist on all platf…
Comment linking /programming/tools/editor/ide/visual/studio/2016/07/11/decruft-visual-studio.html
on “Ask HN: For those programming 10+ years, what do you wish you knew 4 years in?”Submitted When Big O Fools You as a story · 205 points
HN discussion> However, the point where I do agree with you is that we have a performance issue with JS. And I am not talking about slow JS engines. I am talking about developers who are not aware of how costly some operations are (e.g. loading a bunch of libraries). Yes, that is an issue that naturally arises with abstractions, but to conclude that abstractions themselves are the problem is wrong. I could not agree more. https:…
Comment linking /programming/2016/07/22/making-obvious-fast.html
on “Preventing the Collapse of Civilization [video]”Submitted Think Before You Parallelize: A tour of parallel abstractions as a story · 188 points
HN discussionA while back I did a whirlwind tour trying out different parallel looping abstractions in different languages, comparing their performance and ease of use. Rust+Rayon was one of the best. Simple code, fast runtime: https://jackmott.github.io/programming/2016/08/30/think-befo...
Comment linking /programming/2016/08/30/think-before-you-parallelize.html
on “Saved by the compiler: Parallelizing a loop with Rust and rayon”Submitted Making the obvious code fast (2016) as a story · 109 points
HN discussionThanks for your reply. I'm fairly new to C#, and was hoping that linq would make my life easier. Oh well. I made some benchmarks myself: https://pastebin.com/5vQNpbPC And esp. the Sum is a lot slower in linq. Not quite an order of magnitude, but pretty bad. Even worse: float sum = 0; arr.Select(x => (sum += x * x)).ToList(); return sum; This is somehow still a lot faster than the normal linq Sum. What does .Sum() do…
Comment linking /programming/2016/07/22/making-obvious-fast.html
on “Should array length be stored into a local variable in C#?”Submitted Making the obvious code fast as a story · 23 points
HN discussionPVS-Studio user review: PVS-Studio C# - https://jackmott.github.io/programming/2016/11/01/PVS-Studio...
Comment linking /programming/2016/11/01/PVS-Studio.html
on “We continue checking Microsoft open source projects: analysis of PowerShell”Submitted Adventures in F# Performance – Benchmarking the F# Core Library as a story · 7 points
HN discussionVisual Studio 2015 Update 3 has some performance improvements and some big C++ compiler improvements. You can also make it less visually 'noisy' with some of these settings: https://jackmott.github.io/programming/tools/editor/ide/visu...
Comment linking /programming/tools/editor/ide/visual/studio/2016/07/11/decruft-visual-studio.html
on “C++ IDEs – a rant”Submitted Adventures in F# Performance as a story · 3 points
HN discussionSubmitted Taking out the garbage as a story · 2 points
HN discussionSubmitted Taking out the garbage: The cost of allocations as a story · 2 points
HN discussionSubmitted Adventures in F# Performance as a story · 2 points
HN discussionSubmitted Making the Obvious Code Fast as a story · 1 points
HN discussionSubmitted De-Cruft Visual Studio as a story · 1 points
HN discussion