Categories
Tags
3d ABI Actions algorithms alignment analyze APIT Arc Architecture arm array ascii ash assembly asynchronous attribute base64 bithacks Blogging box c c23 cdylib CHAR_BIT clamp clang clang-format client clippy cmake compiler Computer concat concurrency const_fn constexpr contravariant cos covariant cpp cpu crate CS Customization cybersecurity DataStructure db debugging Demo deserialization discrete dll doc DP drawio dtruss dylib Dynamic emulator example Example FFI ffmpeg flamegraph flat_map fold format FP fsanitize Functional FunctionalProgramming functions futures Fuwari game GATs gcc gccrs generics gitignore glibc GUI hacking hashmap haskell heap hyperfine Imperative inference intel interop invariant iterator join justfile kernel LaTeX leak LFU limits linux lto MachineLearning macOS map Markdown math ML mmap mod mp3 nc nextest OnceLock optimization OS ownership panic parallels perf physics pin postgresql procedure product profiling pub radare2 rayon release reverse RPIT rust sanitizer Science science serialization server shift SIMD sin size SmallProjects so socket std strace String StringView strip strlen struct sum super surrealdb SWAR swisstable synchronous syscall tan test thread time toml tracing traits trap triangulation type uint32_t UnsafeRust utf16 utf8 vector Video vulkan wsl x86_64 xilem zig
260817rustVScpp_constexpr_pros_cons
2026-08-17
Rust const fn and C++ constexpr solve a similar problem—allowing computations to happen at compile time—but their design philosophies are quite different.
1309 words
|
7 minutes
Reason_Vulkan_uses_optional_uint32_t_alignmentVS_Size
2026-08-16
Debugging할때 나오는 Alingment와 Size 개념을 잡아보자. The reason Vulkan uses optional<uint32_t> here is semantic rather than performance-related: a queue-family index may or may not have been found yet. The optional makes that state explicit instead of inventing a special sentinel integer.
1034 words
|
5 minutes
unique_ptr_VS_shared_ptr_Ownership
2026-08-16
The idea is RAII: acquire the resource in the constructor, and release it in the destructor. With std::unique_ptr or std::shared_ptr, you can instead give the smart pointer a custom deleter that knows how to release a non-C++ resource
2920 words
|
15 minutes
struct_in_C
2026-08-12
Sure! Here is a simple and complete example showing how to use struct in C.
1876 words
|
9 minutes
C23_Finding_variable_errors_that_are_not_initialized
2026-08-11
clang&gcc로 초기화되지 않는 변수 에러 찾기 & Finding variable errors that are not initialized with clang & gcc
1376 words
|
7 minutes
rust-documentation_comments
2026-08-02
In Rust, both /// and //! are documentation comments, but they document different things.
998 words
|
5 minutes