Inside OCCT TKernel: Plugin Loading, Message Dispatch, and Runtime Type Registration

TKernel forms the lowest layer of the OpenCASCADE Technology (OCCT) stack, providing portable abstractions for primitive data types, container templates, exception hierarchies, file systems, encoding, and OS-level services. Most of its directories wrap platform differences in ways familiar to anyone who has read a large cross-platform C++ codeb ...

Posted on Sat, 22 Aug 2026 16:12:35 +0000 by Talon

Memory Management and Object Lifecycle in C++

Memory Allocation: new vs. malloc The distinction betwean new and malloc lies at the core of C++’s object model: Language integration: new is an operator built into C++, while malloc is a C-standard library function declared in <cstdlib>. Unit of allocation: new allocates memory sized for a specific type (e.g., new Widget), where as mall ...

Posted on Thu, 21 May 2026 18:56:47 +0000 by PatriotXCountry