In lua/luajit, is flatbuffers really faster than json?
I work on a remote terminal most of the time. This article collects some tips from my experience.
bash multiple line editing Sometimes a complex command consists of multiple lines and you need to edit them before executing it. The lines may be in any format, e.
Vim, the god of editor, is popular in developers and hackers. I use vim over two decade (when I am in the college, I already use vim to write VHDL code to programming the chip).
A lot of people install many plugins into vim, and even turn vim into IDE, which is cumbersome and unnecessary in my eye.
What’s blocking? Nginx has one master process and multiple worker processes, and each worker process is single threading.
It’s well known that NGINX uses an asynchronous, event‑driven approach to handling connections. This means that instead of creating another dedicated process or thread for each request (like servers with a traditional architecture), it handles multiple connections and requests in one worker process.
Use systemtap to analyze the memory leak of lua code The memory used by lua code is managed by the GC, not calling malloc/free/mmap directly. The luajit GC uses mark-and-sweep algorithm. In simple words, it links all allocated gc objects in a global list.