>

Uol 2025 Wk3 && LeetCode Biweekly Contest 168 Solutions

Weak Vertices The Problem In graph theory, the structural integrity of a network can often be analyzed by identifying fundamental shapes within it, such as triangles. A triangle provides rigidity and is a common motif in many applications. This problem asks us to identify vertices that are not part of any triangle. A vertex i is defined as being part of a triangle if it has two distinct neighbors, j and k, which are also neighbors of each other. Our task is to find all vertices that do not satisfy this condition, which the problem statement refers to as “weak vertices.” The graph is given to us in the form of an adjacency matrix. ...

October 25, 2025 · 56 min · 11743 words · Tategoto Azarasi

Beyond Basic Bridging: Robust Eventing Between C++ EnTT and Rust WASM with Boost.Signals2

Refactor a C++ EnTT host and Rust WASM plugin, replacing custom event triggers with Boost.Signals2 via Wasmtime for robust, decoupled FFI communication and advanced host-plugin interaction.

April 7, 2025 · 37 min · 7721 words · Tategoto Azarasi

Bridging the Gap: Flexible Relationship Management Between C++ Host and Rust WASM Plugins using EnTT

Manage EnTT entity relationships in a C++ host from Rust WebAssembly (WASM) plugins using Wasmtime, a stable C FFI, and a data-driven approach to overcome WASM boundary limitations.

April 6, 2025 · 23 min · 4873 words · Tategoto Azarasi

Deep Dive into Wasmtime: Bidirectional Communication and Memory Sharing Between C++ and Rust Wasm Modules

A detailed technical guide on using the Wasmtime runtime to enable complex bidirectional communication, shared memory access, and struct passing between C++ host applications and Rust WebAssembly modules.

April 6, 2025 · 27 min · 5657 words · Tategoto Azarasi