{"id":17965361,"url":"https://github.com/t2ym/archive-object-oriented-persistent-storage","last_synced_at":"2026-01-18T13:29:15.972Z","repository":{"id":146685010,"uuid":"71532634","full_name":"t2ym/archive-object-oriented-persistent-storage","owner":"t2ym","description":"Archive of My Senior Thesis: \"Object-Oriented Persistent Storage for C++\" in 1998","archived":false,"fork":false,"pushed_at":"2016-10-21T05:51:10.000Z","size":308,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T01:46:20.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://t2ym.github.io/archive-object-oriented-persistent-storage/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t2ym.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-21T05:25:07.000Z","updated_at":"2016-10-21T05:35:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"03e8463c-1d7c-4a3b-8f2f-12a30571f13d","html_url":"https://github.com/t2ym/archive-object-oriented-persistent-storage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/t2ym/archive-object-oriented-persistent-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ym%2Farchive-object-oriented-persistent-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ym%2Farchive-object-oriented-persistent-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ym%2Farchive-object-oriented-persistent-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ym%2Farchive-object-oriented-persistent-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t2ym","download_url":"https://codeload.github.com/t2ym/archive-object-oriented-persistent-storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2ym%2Farchive-object-oriented-persistent-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-29T12:41:54.455Z","updated_at":"2026-01-18T13:29:15.933Z","avatar_url":"https://github.com/t2ym.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Object-Oriented Persistent Storage for C++](https://t2ym.github.io/archive-object-oriented-persistent-storage/)\n\n## Notes\n\n- Archive of my senior thesis in 1998\n- Platform: GNU C/C++ 2.7.2.1 on Linux 2.0.29 (32bit)\n- Not working on current platforms\n\n## Sample Code\n\n```cpp\n// Declarations\nPersistentStorage *ps; // the persistent storage \nPersistentPointer pp;  // the persistent pointer\nPersistentObject *obj; // the reference pointer\n\npp = ps-\u003eallocate(sizeof(PersistentObject)); // Allocate\n\n  // Grab and Instantiate\n  obj = new(pp.grab()) PersistentObject(parameters, ...); \n    obj-\u003emanipulate(parameters, ...); // Manipulate\n  pp.release(); // Release \n  obj = 0; // Invalidate the reference pointer\n\n  obj = pp.grabReadOnly(); // Read-only-Grab\n    obj-\u003ereference(parameters, ...); // Reference\n  pp.releaseReadOnly(); // Read-only-Release\n  obj = 0; // Invalidate the reference pointer\n\n  obj = pp.grab(); // Grab\n  obj-\u003e~PersistentObject(); // Destruct\n\nps-\u003edestroy(pp); // Destroy (also Release)\nps-\u003esynchronize(); // Synchronize\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft2ym%2Farchive-object-oriented-persistent-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft2ym%2Farchive-object-oriented-persistent-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft2ym%2Farchive-object-oriented-persistent-storage/lists"}