[Skynet] Skynet introduction example

1, Download and edit CentOS7.7. Install corresponding software: yum install git #git for downloading source code yum install gcc #For compiling source code yun install autoconf #For compiling source code yum install readline-devel #It will be used to compile Lua Download skynet source code: git clone https://github.com/cloudwu/skyne ...

Posted by nareshrevoori on Tue, 21 Dec 2021 11:43:45 +0100

The actual combat of Redis advanced project has been in 0202, and there is no Redis Java advanced technology route

Everyone has heard of the 10000 hour law, but is this really the case? After 10000 hours of CRUD, don't you only know CRUD? These days, you don't properly update your own technology stack. When you go out to chat and boast with others, you don't lose it (⊙ o ⊙) Interview topics What is distributed lock? First, in order to ensure the availabi ...

Posted by RonHam on Sat, 18 Dec 2021 21:21:03 +0100

Interactive use and sharing of c/c + + and lua

preface: In the process of embedded development, we will use some scripting tools to assist our work, such as shel or python, Lua, etc. today, I will share with you the interactive use of lua scripts I use in my work. Author: conscience still exists REAUTHORIZING authorization and onlookers: welcome to WeChat official account: Yu Linjun O ...

Posted by timmy0320 on Sun, 12 Dec 2021 16:16:47 +0100

Simple implementation of libevent Library

1. Definitions libevent is a lightweight event triggered network library, open source and cross platform, focusing on the underlying network library; It supports a variety of IO multiplexing technologies, timers, asynchronous IO and signal events. libevent API provides a mechanism to call the callback function when the condition of an event occ ...

Posted by luxluxlux on Wed, 22 Sep 2021 19:37:28 +0200

Inconsistent table order caused by Lua cjson

      Lua cjson is a simple and compact open source library that can be loaded by Lua script require. In Lua, the mutual conversion (encoding and decoding) between Lua value and Json value is completed through a series of lua cjson API calls.       A problem is found in the use of lua cjson: ...

Posted by amedhussaini on Sun, 19 Sep 2021 01:57:02 +0200

Lua string.format() use collation

In the actual development process using Lua, the frequency of using the function string.format() to format a string is very high. Here is a summary of the use of this function. Parameter analysis string.format(formatstring, ...) formatstring   Is a format string (must be a string), which may contain multiple escape codes (such as the mo ...

Posted by tiagofrancis on Sun, 12 Sep 2021 07:26:53 +0200