Loom

A blog engine that just works. One binary, no setup, no dependencies.

Posts tagged “move-semantics” (2)

Substructural Types — When Resources Are Not FreeMar 28 16.8K

Classical logic lets you copy and discard premises freely. Remove those abilities and you get the logic of resources — linear, affine, relevant, ordered. RAII, move semantics, and unique_ptr are fragments of this theory. C++ is a substructural language and doesn't know it.

--c++20 --type-theory --linear-types --affine-types --raii --move-semantics