{"id":15722404,"url":"https://github.com/defold/example-languages","last_synced_at":"2025-09-17T23:49:59.019Z","repository":{"id":192207789,"uuid":"662240347","full_name":"defold/example-languages","owner":"defold","description":"Example of writing an extension using different languages","archived":false,"fork":false,"pushed_at":"2025-01-16T15:03:44.000Z","size":59,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-15T18:55:43.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defold.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-07-04T17:03:28.000Z","updated_at":"2025-04-03T13:05:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b9a8461-6c04-469d-8d6e-70401a394034","html_url":"https://github.com/defold/example-languages","commit_stats":null,"previous_names":["defold/example-zig","defold/example-languages"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/defold/example-languages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fexample-languages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fexample-languages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fexample-languages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fexample-languages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defold","download_url":"https://codeload.github.com/defold/example-languages/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fexample-languages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275685503,"owners_count":25509530,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-03T22:07:26.671Z","updated_at":"2025-09-17T23:49:59.001Z","avatar_url":"https://github.com/defold.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"This example project shows how to write [native extensions](https://defold.com/manuals/extensions/) using C++, C# and Zig.\n\n* C++\n  * Stable\n* [Zig](https://ziglang.org)\n  * Experimental support\n  * The current state of the Zig toolchain is not stable, and may be updated at any time.\n  * Used an experimental [C API for Defold](https://github.com/defold/defold/blob/dev/engine/extension/src/dmsdk/extension/extension.h)\n* C#\n  * Experimental support\n  * Based on DotNet 9 with AOT compilation\n  * Generated from an experimental [C API for Defold](https://github.com/defold/defold/blob/dev/engine/extension/src/dmsdk/extension/extension.h)\n\n\n## Testing locally\n\nThe project is also designed to test performance of the different languages.\n\nTo build with certain setup, you can use a command line such as:\n\n  LOOPCOUNT=1000000 VARIANT=debug SERVER=http://localhost:9000 ./scripts/build_feature.sh arm64-android cpp\n\n* The `LOOPCOUNT` is used to control how many loops the performance tests should run.\n* The `cpp` controls which language to add. Lua is always part of the tests.\n  * Possible values are `cpp`, `csharp`, `zig` and `all`\n\nSee the [](./scripts/build_feature.sh) and [](./scripts/common.sh) for a full list of environment variables (BOB, SERVER etc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefold%2Fexample-languages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefold%2Fexample-languages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefold%2Fexample-languages/lists"}