{"id":61672,"library":"snmalloc","title":"snmalloc","description":"A high-performance, message passing based allocator.","status":"active","version":"0.7.4","language":"cpp","source_language":null,"source_url":null,"tags":["memory-allocator","performance","concurrency","c++"],"install":[{"cmd":"vcpkg install snmalloc","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(snmalloc CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE snmalloc::snmalloc)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"snmalloc/snmalloc.h","correct":"#include <snmalloc/snmalloc.h>"}],"quickstart":{"code":"#include <snmalloc/snmalloc.h>\n#include <iostream>\n\nint main() {\n    void* p = snmalloc::alloc(64);\n    if (p) {\n        std::cout << \"Allocated 64 bytes\\n\";\n        snmalloc::dealloc(p);\n    }\n    return 0;\n}","lang":"cpp","description":"Allocates and deallocates memory"},"warnings":[],"env_vars":null,"search_vec":"'alloc':9,12 'base':8 'c':15 'concurr':14 'high':4 'high-perform':3 'memori':11 'memory-alloc':10 'messag':6 'pass':7 'perform':5,13 'snmalloc':1","created_at":"2026-06-17T05:00:26.911887+00:00","updated_at":"2026-06-17T05:00:26.911887+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}