{"id":22887198,"url":"https://github.com/electrostat-lab/jme-alloc","last_synced_at":"2025-07-27T12:12:30.820Z","repository":{"id":65399872,"uuid":"588898764","full_name":"Electrostat-Lab/jme-alloc","owner":"Electrostat-Lab","description":"A direct dynamic memory allocation API for jMonkeyEngine lwjgl-2 and android games","archived":false,"fork":false,"pushed_at":"2023-08-08T10:27:59.000Z","size":18390,"stargazers_count":6,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-03T16:17:57.403Z","etag":null,"topics":["allocation-api","android-api","bash-scripting","cpp","desktop","gcc-complier","gradle","gradle-api","gradle-build","java","jmonkeyengine3","linux","llvm-clang","lwjgl2","macos","ndk","shell","virtual-memory","virtual-memory-management","windows-x64"],"latest_commit_sha":null,"homepage":"https://hub.jmonkeyengine.org/t/jme-alloc-project/46356","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Electrostat-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2023-01-14T12:07:59.000Z","updated_at":"2024-05-03T16:18:10.878Z","dependencies_parsed_at":null,"dependency_job_id":"e3194ded-b304-4d77-a7b4-c9a649fc8811","html_url":"https://github.com/Electrostat-Lab/jme-alloc","commit_stats":null,"previous_names":["electrostat-lab/jme-alloc"],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2Fjme-alloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2Fjme-alloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2Fjme-alloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2Fjme-alloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Electrostat-Lab","download_url":"https://codeload.github.com/Electrostat-Lab/jme-alloc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229612414,"owners_count":18098821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["allocation-api","android-api","bash-scripting","cpp","desktop","gcc-complier","gradle","gradle-api","gradle-build","java","jmonkeyengine3","linux","llvm-clang","lwjgl2","macos","ndk","shell","virtual-memory","virtual-memory-management","windows-x64"],"created_at":"2024-12-13T20:31:26.421Z","updated_at":"2024-12-13T20:31:27.027Z","avatar_url":"https://github.com/Electrostat-Lab.png","language":"Java","readme":"# \u003cp align=left\u003e \u003cimg src=\"https://user-images.githubusercontent.com/60224159/220400745-2582342f-5f4f-4827-b65f-a037e078c890.svg\" height=100 width=100 /\u003e  jme-alloc project \u003c/p\u003e\n[![](https://github.com/Software-Hardware-Codesign/jme-alloc/actions/workflows/build-test.yml/badge.svg)](https://software-hardware-codesign.github.io/jme-alloc/)\n[![](https://github.com/Software-Hardware-Codesign/jme-alloc/actions/workflows/doc-website.yml/badge.svg)](https://software-hardware-codesign.github.io/jme-alloc/) [![](https://github.com/Software-Hardware-Codesign/jme-alloc/actions/workflows/build-deploy.yml/badge.svg)](https://repo.maven.apache.org/maven2/io/github/software-hardware-codesign/jme3-alloc-desktop/)\n[![](https://github.com/Software-Hardware-Codesign/jme-alloc/actions/workflows/debug-deploy.yml/badge.svg)](https://repo.maven.apache.org/maven2/io/github/software-hardware-codesign/jme3-alloc-desktop-debug/)\n\nA direct dynamic memory allocation api for jMonkeyEngine lwjgl-2 and android games.\n### To build locally, use: \n```bash\n┌─[pavl-machine@pavl-machine]─[/home/twisted/GradleProjects/jme-alloc]\n└──╼ $./gradlew clean \u0026\u0026 \n      ./gradlew :jme3-alloc:compileJava \u0026\u0026 \\\n      ./gradlew :jme3-alloc-native:compileX86_64 \u0026\u0026 \\\n      ./gradlew :jme3-alloc-native:copyNatives \u0026\u0026 \\\n      ./gradlew :jme3-alloc:assemble\n```\n### To test locally, use: \n```bash\n┌─[pavl-machine@pavl-machine]─[/home/twisted/GradleProjects/jme-alloc]\n└──╼ $./gradlew :jme3-alloc-examples:run\n```\n### For more about, building, testing and contributing, visit:\n\u003e [CONTRIBUTING.md](https://github.com/Software-Hardware-Codesign/jme-alloc/blob/master/CONTRIBUTING.md)\n\n### For quick use: \n```java\n/* select your platform here */\nfinal String platform = \"desktop\"\nfinal String binaryType = \"debug\"\nfinal String version = \"1.0.0-pre-gamma-1\"\n\nrepositories {\n    mavenCentral()\n}\ndependencies {\n    implementation \"io.github.software-hardware-codesign:jme3-alloc-${platform}-${binaryType}:${version}\"\n}\n```\n\n#### API:\n- [x] Native extraction according to the system variant (OS + architecture) using [`com.jme3.alloc.util.loader.NativeBinaryLoader`](https://github.com/Software-Hardware-Codesign/jme-alloc/blob/master/jme3-alloc/src/main/java/com/jme3/alloc/util/loader/NativeBinaryLoader.java).\n- [x] Dynamic linking code.\n- [x] Base Allocator/De-allocator API: [`com.jme3.alloc.util.NativeBufferUtils`](https://github.com/Software-Hardware-Codesign/jme-alloc/blob/master/jme3-alloc/src/main/java/com/jme3/alloc/util/NativeBufferUtils.java) and [`com.jme3.alloc.NativeBufferAllocator`](https://github.com/Software-Hardware-Codesign/jme-alloc/blob/master/jme3-alloc/src/main/java/com/jme3/alloc/NativeBufferAllocator.java).\n- [x] Native logging api with output to an external log file stream.\n- [x] Garbage collectible buffers API.\n\n#### Build-system:\n- [x] Separate jvm and native modules.\n- [x] Generating header files for java sources.\n- [x] Packaging java and natives in a jar.\n- [x] Github-actions.\n- [x] Handling different variants build (linux-x86-64).\n- [x] Handling different variants build (linux-x86).\n- [x] Handling different variants build (windows-x86-64).\n- [x] Handling different variants build (macos-x86-64).\n- [x] Handling different `android` build architectures (aarch-64, arm32, intel-x86-64, intel-x86).\n- [ ] Handling different variants build (windows-x86).\n- [ ] Handling different variants build (macos-x86).\n\n#### Documentation: \n- [x] JavaDocs.\n- [x] NativeDocs.\n- [x] Running Examples.\n- [x] Contribution guide. \n- [ ] Documentation website for different releases (not only the latest).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectrostat-lab%2Fjme-alloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectrostat-lab%2Fjme-alloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectrostat-lab%2Fjme-alloc/lists"}