miniblog.

/proc/$PID/maps is a marvellous debugging aid. It helps answer questions like 'is this pointer in range for the heap?'
Many languages without GC use refcounting. Sadly this doesn't prevent surprising pauses -- one DECREF could end up freeing a large graph.
Great example of out-of-bounds array/struct access being exploited for optimisation by gcc:
I can't create an ipython notebook as fast as I can fiddle in a normal REPL. The results are brilliant though. Truly showing your workings!
Whilst Rust does not have higher kinded types, it does have higher rank trait bounds: https://stackoverflow.com/questions/35592750/how-does-for-syntax-differ-from-a-regular-lifetime-bound/35595491#35595491 (lifetimes for closures)
Blogged: LLVM Developer Meeting 2016:
I haven't yet found a use case for nested comments. What problem do they solve?
Calling Conventions Demystified https://www.codeproject.com/Articles/1388/Calling-Conventions-Demystified (interesting tidbit: callee cleaning up stack reduces code size, e.g. __stdcall)
Is the fastcall calling convention faster? https://stackoverflow.com/q/2188680 (it depends on arch and how sensitive your app is to register pressure)
Code review, especially in open source software, is a lot like postal chess. It's asynchronous and unpredictable.
I've read that 2% of bugs are type errors in dynamic languages. Spent 45 mins on a subtle issue in tags tables today
Emacs package of the day: multi-compile https://github.com/ReanGD/emacs-multi-compile Great if there are multiple compile commands you run frequently.
Contrasting C++ lambdas with Obj-C blocks: https://www.mikeash.com/pyblog/friday-qa-2011-06-03-objective-c-blocks-vs-c0x-lambdas-fight.html (generally similar, though naturally C++ gives you more rope/flexibility)
Great article on the UX challenges around self driving cars: https://www.fastcodesign.com/3054330/innovation-by-design/the-secret-ux-issues-that-will-make-or-break-autonomous-cars (the user needs to know what the car will do!)
I'd rather believed that XEmacs had user-defined reader macros. Turns out it doesn't, but it does defined two extra reader macros: #+ and #-
Showing 691-705 of 922 posts