Serialization and Marshalling

직렬화(Serialization)는 형변환이다. 데이터를 파일로 저장하거나, 네트워크를 통해 전송 하려면 약속된 형태로 변환해야 한다. 네트워크를 통해 데이터를 보내려면, 송신부는 데이터를 바이너리 스트림로 변환하여 네트워크 장치를 통해 전송한다. 수신부는 바이너리 스트림을 수신하면...

Asynchronous programming on Rust

In order to fully understand Asynchronous Prgramming, it’s better to know below keywords. Sync, Async Blocking, Non-blocking IO Preemptive, Non-preemptive Concurrency, Parallelism Thread vs Async Thread Thread works preemptive way....

Extensible abstract factory pattern, c++

This post introduces extensible abstract factory pattern. It is assumed that you know the basic factory pattern and CRTP pattern. The sample code is written by c++14. The main disadvantage...

Calling Rust functions from C++

Let’s talk about FFI(foreign function interface) on rust. FFI provides the way of creating a C-friendly API. +-----------------------------+ | hello() | +-----------+ | | main() => | hello() {}| |...

The serde with no_std

This post is about sample code about serde_json_core. Previous post about serde is here. Serde with no_std In order to use Serde in a no_std context default-features needs to be...