Root · Socket Programming

the things about endian

binary and value expression are different. Basically, be is the store format in memory while ve is the human-readable values that be represents. eg. short a = 128, its value expression is looking like this: 00000000 10000000 its binary expression is looking like this: little endian  10000000  00000000 big endian     00000000 10000000 the aim… Continue reading the things about endian

Programming Languages · Python · Root

understand twisted deferred (1)

Deferred is a type of object designed to do one thing only: encode the execution order as callback-based and separately from the normal order of the python source codes. It does not deal with threads, parallelism, signals or subprecesses.It does not no know anything about an event loop, greenlets or scheduling. All it knows is what order… Continue reading understand twisted deferred (1)