Refactor fhash is done

Overview Aha, After some days, I have finished the refactor task for fhash, it’s really really big improvement for flibs, since many many components depend on it, such as: thread pool event framework pcap conversion lib log … Why need to do refactor The old fhash have some defects, such as: hard to iterate hard … Read more

A Tip of Writing Makefile — Using @

Ok, let’s talk about one of the tips for writing Makefile, the magic character ‘@’ Before continue, let’s think about one thing: when you want to build a project, write a shell script or use the Make for building your project, which one would you prefer? Ok, I’ll choose Make, the reasons are: The shell … Read more

Compile Clang3.4

As we know, llvm is a great project, and it also include the clang compiler. And for Clang 3.4, it support dumping the format configuration file, so that people can generate the self-style format for their own project. Detail: ClangFormat  and ClangFormatStyleOptions And for now, Clang 3.4 has not been released, but we can pull … Read more