Thursday, September 21, 2023

Lesson - Always use lld as linker for clang or llvm build, must if you are going for a debug build

I personally experienced today that using linux(Ubuntu)'s default linker(ld) is eating away all my RAM(and FYI my RAM is 32GB!!) when I enabled parallel jobs in make command. This caused a build error because the process got killed as all the RAM is occupied.

Please note that the above issue is not seen, if you doing a serial build.

The same Unix make-files when used lld as the linker with -DLLVM_USE_LINKER=lld for the cmake command, seems to be passing even with parallel jobs without any issue.

I have heard that many clang/llvm developers recommending lld over ld, but I truly experienced the advantage of that suggestion today.

And one more suggestion I have is to use ninja instead of Unix makefiles and ninja is much more faster when compared to parallel jobs using make.

Wednesday, September 13, 2023

(Review) ABC Murders - By Agatha Christie

 Although this is my first Agatha Christie's novel, I really liked it, it is a little bit high level English when compared with other Indian novels I have read.

Author's taking through the series of murders by the murderer is very good. The revelation by Poirot is so good at the climax scene. I was almost correct in most of deductions from the events that are explained. But the climax explanation gave me a little shock, how the things turned around.

As I understood from the foreword of the book, only this book have introduced the personal narration in some chapters compared to only Hastings narration in other books.

My rating:  3.5/5

Sunday, September 3, 2023

(Review) Will you Love Me? - By Ravinder Singh

The story was focused to deliver a message to readers, with a mix of a love story and typical Indian acceptance drama of love marriages. Ravinder Singh has captured the feeling of true love that can happen only for a few. I liked how the beauty of nature of Meghalaya state was expressed and visualized in wording in the novel. I sure added Meghalaya to my wish list of places after this.

Overall it a good read, but I still feel it cannot beat I too had a love story! That is still my top story from Ravinder.

Rating: 2.8/5


Lesson - Always use lld as linker for clang or llvm build, must if you are going for a debug build

I personally experienced today that using linux(Ubuntu)'s default linker(ld) is eating away all my RAM(and FYI my RAM is 32GB!!) when I ...