{"id":48155721,"url":"https://github.com/radarsimx/radarsimlib","last_synced_at":"2026-04-04T17:17:17.472Z","repository":{"id":194670138,"uuid":"691327662","full_name":"radarsimx/radarsimlib","owner":"radarsimx","description":"C wrapper for RadarSimX","archived":false,"fork":false,"pushed_at":"2026-03-10T19:37:30.000Z","size":444,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-11T01:16:46.320Z","etag":null,"topics":["c-wrapper","radar","simulation"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radarsimx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-14T00:46:18.000Z","updated_at":"2026-03-10T19:37:34.000Z","dependencies_parsed_at":"2023-09-14T15:42:05.111Z","dependency_job_id":"dc6d4ccc-45a1-4ac4-ade5-728b1da59e59","html_url":"https://github.com/radarsimx/radarsimlib","commit_stats":{"total_commits":51,"total_committers":1,"mean_commits":51.0,"dds":0.0,"last_synced_commit":"284f504fa2360631c281c91ded0bc9f5dfcd19e2"},"previous_names":["radarsimx/radarsimlib"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/radarsimx/radarsimlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radarsimx%2Fradarsimlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radarsimx%2Fradarsimlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radarsimx%2Fradarsimlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radarsimx%2Fradarsimlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radarsimx","download_url":"https://codeload.github.com/radarsimx/radarsimlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radarsimx%2Fradarsimlib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":["c-wrapper","radar","simulation"],"created_at":"2026-04-04T17:17:16.804Z","updated_at":"2026-04-04T17:17:17.457Z","avatar_url":"https://github.com/radarsimx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RadarSimLib\n\n\u003cimg src=\"https://raw.githubusercontent.com/radarsimx/.github/refs/heads/main/profile/radarsimlib.svg\" alt=\"logo\" width=\"200\"/\u003e\n\nThis library serves as the C wrapper for RadarSimCpp, offering a C interface to access its core functions, including GPU parallelization. For instructions on how to use this library, please refer to RadarSimM.\n\n## Features\n\n- **High-fidelity radar simulation** with comprehensive modeling capabilities\n- **C-compatible API** with opaque pointer pattern for C++ interoperability  \n- **Automatic memory management** with cleanup registry for leak prevention\n- **GPU acceleration support** for high-performance simulations\n- **Thread-safe operations** with comprehensive error handling\n- **Cross-platform compatibility** (Windows, Linux)\n\n## Memory Management\n\nRadarSimLib includes **automatic memory management** with three compatibility modes:\n\n### Default Mode (Recommended)\n- Lock-free implementation using STL containers\n- Good balance of performance and compatibility\n- Suitable for most single-threaded and multi-threaded applications\n\n### Thread-Safe Mode\n- Adds mutex locking for complete thread safety\n- Use when multiple threads create/free objects simultaneously\n- Enable with: `cmake .. -DRADARSIM_THREAD_SAFE=ON`\n\n### Simple Mode (Maximum Compatibility)\n- C-style arrays, no STL dependencies, no mutex\n- Ideal for embedded systems or applications with strict requirements\n- Enable with: `cmake .. -DRADARSIM_SIMPLE_CLEANUP=ON`\n\n**Key Benefits:**\n- Objects created with `Create_*` functions are automatically registered for cleanup\n- Manual cleanup with `Free_*` functions is still recommended and will unregister objects\n- Automatic cleanup occurs when the DLL/shared library is unloaded\n- Same API works across all modes - only internal implementation changes\n\nSee [COMPILATION_OPTIONS.md](COMPILATION_OPTIONS.md) for detailed configuration guide.\n\n## Build\n\n**Building `RadarSimLib` requires to access the source code of `RadarSimCpp`.**\n\n- Windows CPU\n\n```batch\nbuild_win.bat --arch=cpu\n```\n\n- Windows GPU\n\n```batch\nbuild_win.bat --arch=gpu\n```\n\n- Linux CPU\n\n```bash\n./build_linux.sh --arch=cpu\n```\n\n- Linux GPU\n\n```bash\n./build_linux.sh --arch=gpu\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradarsimx%2Fradarsimlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradarsimx%2Fradarsimlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradarsimx%2Fradarsimlib/lists"}