Category Archives: Coding

GIT Tips

Recovering lost commit Diff files on 2 branches Picking a commit from one to another branch Selectively adding changes from file Finding un-pushed commits on local branch Saving/recovering temporary local changes Display current working branch in repo Advertisements

Posted in Coding | Leave a comment

Always Be Coding

Good Read (with some good references included): View story at Medium.com

Posted in Coding | Leave a comment

Case Study – Compiler Optimization

They (compiler optimizations) do result in weird things sometimes and here is one such ¬†found with FreeRTOS for ARM Cortex-M3 port. This is as result of “Tail Call Optimization” as I had mentioned it in detail in my last post … Continue reading

Posted in Coding | Tagged , , | Leave a comment

Tail Call Optimization

Summary Tail Call Optimization is an optimization strategy used by compiler to generate code in which subroutine/function call is done without adding stack frame to call stack. More info is available here, http://en.wikipedia.org/wiki/Tail_call In Action I will try to explain … Continue reading

Posted in Coding | Tagged , , , | 1 Comment