← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. Atomic Queue

    This post is about folly’s AtomicQueue.

  2. Integer Division in Bucketed Time Series

    This post is about a cool piece of integer math code in folly::BucketedTimeSeries.

  3. A Mental Model for C++ Coroutine

    C++ coroutine is not a library that is ready to go (e.g. std::vector).

  4. Access a function’s return value in C++ scope guard

    It is best to avoid accessing a function’s return value in a scope guard or we need to be really careful about the return value’s lifetime.

  5. When `__cxa_pure_virtual` is just a different flavor of SEGFAULT

    A program crashed during shutdown, with message pure virtual method called which came from __cxa_pure_virtual – where a pure virtual function points to, in its vtable.

  6. Rust’s early vs. late lifetime binding

    Lifetime in many ways are similar to types but also different.

  7. zsh interprets a standalone redirect as a `cat` command

    I use zsh and yesterday I was testing a program with myprogram 2>/dev/null.

  8. C++ coroutine and lambda’s lifetime

    We rarely need to worry about lambda’s lifetime more than any other objects in C++ until we are dealing with coroutine at the same time. folly’s wiki has a good example of why we need to be careful about lambda’s lifetime – https://github.com/facebook/fol…

  9. `folly::IOBuf` and zero-copy networking

    I see folly::IOBuf often used as a return value (sub-)type in RPC definitions for data intensive and high performance applications.

  10. What I learned about `inline` recently

    C++’s inline is pretty nice, in my opinion.