{"id":13424649,"url":"https://github.com/foonathan/lauf","last_synced_at":"2025-09-11T18:34:44.085Z","repository":{"id":60968336,"uuid":"488640297","full_name":"foonathan/lauf","owner":"foonathan","description":"Bytecode interpreter","archived":false,"fork":false,"pushed_at":"2025-01-23T09:23:46.000Z","size":896,"stargazers_count":72,"open_issues_count":0,"forks_count":3,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-24T09:15:30.897Z","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":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foonathan.png","metadata":{"files":{"readme":"README.adoc","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},"funding":{"patreon":"foonathan","custom":["https://jonathanmueller.dev/support-me/"]}},"created_at":"2022-05-04T15:19:20.000Z","updated_at":"2025-02-13T09:42:47.000Z","dependencies_parsed_at":"2024-10-26T23:43:40.350Z","dependency_job_id":"60916210-bbb5-4d98-a72f-4d8296110204","html_url":"https://github.com/foonathan/lauf","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/foonathan%2Flauf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foonathan%2Flauf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foonathan%2Flauf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foonathan%2Flauf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foonathan","download_url":"https://codeload.github.com/foonathan/lauf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246899641,"owners_count":20851894,"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":[],"created_at":"2024-07-31T00:00:57.375Z","updated_at":"2025-04-03T03:13:07.364Z","avatar_url":"https://github.com/foonathan.png","language":"C++","readme":"= lauf\n\nifdef::env-github[]\nimage:https://img.shields.io/endpoint?url=https%3A%2F%2Fwww.jonathanmueller.dev%2Fproject%2Flauf%2Findex.json[Project Status,link=https://www.jonathanmueller.dev/project/]\nimage:https://github.com/foonathan/lauf/workflows/CI/badge.svg[Build Status]\nendif::[]\n\nlauf is work-in-progress bytecode interpreter with a C API.\nIt is currently highly unstable, not ready for production use, and does not support anything other than a recent clang and Linux.\n\n== Features\n\n* Stack based bytecode API.\n* Designed to quickly generate bytecode and execute it; suitable for e.g. evaluating `constexpr` functions in a C++ compiler.\n* Extensible instruction set via `lauf_builtin`: things like `add` can be defined with your own semantics (e.g. overflow behavior).\n* Support for fibers: cooperative user threads to implement stackful coroutines and generators.\n* Fully sandboxed VM that supports low-level operations like pointer arithmetic.\n\n== FAQ\n\nHow fast is it?::\n  On an M1 processor, recursive `fib(35)` takes about 325ms while the luajit interpreter (without JIT) takes about 535ms.\n  Proper benchmarks are TODO.\n\nDoes it support just-in-time compilation?::\n  Currently, no.\n  I have started implementing it, but it's a lot of work, and I'll focus on adding features first.\n\nWhy is it called lauf?::\n  \"Lauf!\" is German for \"Run!\" and lauf runs bytecode.\n\n== Documentation\n\nCurrently no documentation besides header comments.\nEverything should be considered unstable.\n\n","funding_links":["https://patreon.com/foonathan","https://jonathanmueller.dev/support-me/"],"categories":["Scripts"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoonathan%2Flauf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoonathan%2Flauf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoonathan%2Flauf/lists"}