{"id":16251533,"url":"https://github.com/pfalcon/pycopy-jitgen","last_synced_at":"2025-03-19T20:30:52.758Z","repository":{"id":139749053,"uuid":"154044762","full_name":"pfalcon/pycopy-jitgen","owner":"pfalcon","description":"Generating machine code at runtime (aka JIT) using Pycopy (small Python dialect)","archived":false,"fork":false,"pushed_at":"2022-03-20T10:20:24.000Z","size":29,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T20:46:40.579Z","etag":null,"topics":["code-generation","jit","pycopy"],"latest_commit_sha":null,"homepage":"https://github.com/pfalcon/pycopy","language":"Python","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/pfalcon.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}},"created_at":"2018-10-21T19:30:52.000Z","updated_at":"2024-01-13T23:59:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf8f0eb5-62b0-441a-8f8d-644c9a7b5c08","html_url":"https://github.com/pfalcon/pycopy-jitgen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fpycopy-jitgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fpycopy-jitgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fpycopy-jitgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fpycopy-jitgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfalcon","download_url":"https://codeload.github.com/pfalcon/pycopy-jitgen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244014108,"owners_count":20383716,"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":["code-generation","jit","pycopy"],"created_at":"2024-10-10T15:10:30.730Z","updated_at":"2025-03-19T20:30:52.443Z","avatar_url":"https://github.com/pfalcon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"jitgen\n======\n\njitgen is a (very bare) demo of generating machine code at runtime using\nPycopy (https://github.com/pfalcon/pycopy) and executing it.\n\nCurrent, only x86 (32-bit) is supported. While demo is very bare (and set\nof supported instructions is very limited), it tries to show something more\ninteresting than \"a + b\", namely, being able to do something about Python\nobjects. For this, the code generated calls back into Pycopy for\nvarious API functions. For that to work, the executable should export\nsymbols for functions using -rdynamic linker flag.\n\nSumming up, to try this demo, build Pycopy's Unix version with:\n\n    make MICROPY_FORCE_32BIT=1 LDFLAGS_EXTRA=-rdynamic\n\nLicense\n-------\n\njitgen is written by Paul Sokolovsky and released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfalcon%2Fpycopy-jitgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfalcon%2Fpycopy-jitgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfalcon%2Fpycopy-jitgen/lists"}