{"id":13491877,"url":"https://github.com/ericsink/wasm2cil","last_synced_at":"2025-04-08T04:18:45.023Z","repository":{"id":39578510,"uuid":"178110324","full_name":"ericsink/wasm2cil","owner":"ericsink","description":"A \"compiler\" that can take a WebAssembly/WASI module and convert it to a .NET assembly","archived":false,"fork":false,"pushed_at":"2020-06-14T17:36:09.000Z","size":2998,"stargazers_count":286,"open_issues_count":6,"forks_count":24,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-24T09:36:34.782Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericsink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.TXT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-28T02:26:43.000Z","updated_at":"2025-02-27T21:16:00.000Z","dependencies_parsed_at":"2022-07-14T03:40:33.582Z","dependency_job_id":null,"html_url":"https://github.com/ericsink/wasm2cil","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/ericsink%2Fwasm2cil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericsink%2Fwasm2cil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericsink%2Fwasm2cil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericsink%2Fwasm2cil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericsink","download_url":"https://codeload.github.com/ericsink/wasm2cil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773721,"owners_count":20993639,"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-31T19:01:01.098Z","updated_at":"2025-04-08T04:18:45.001Z","avatar_url":"https://github.com/ericsink.png","language":"C","funding_links":[],"categories":["C","WASI-compatible Runtimes"],"sub_categories":[],"readme":"# wasm2cil\n\nThis is a .NET compiler for WebAssembly modules, including\nsupport for WASI.\n\nSpecifically, it can take a WebAssembly module and\ntranslate it into a .NET assembly on disk.\n\nThe resulting DLL is not interpreted -- it contains\nthe same functions as the WebAssembly module, translated\nfrom Wasm instructions to CIL instructions.\n\nThis is designed to be used with Clang 8 and\nwasi-sysroot.  In that sense, this provides a way\nto compile C/C++ for .NET, using Wasm as a halfway\npoint.  Like an alternative to pinvoke.\n\n(Rust should hopefully work too, but I haven't tried that yet.)\n\nAll of this is very much a work in progress.\n\nBut the current status is that some basic things\ndo work.  Working test apps in this repo include a \nsmall ray tracer and a basic port of SQLite.  The\nlatter can read and write SQLite database files that\nseem to be fully interoperable with \"regular\" SQLite\nbuilds.\n\nStill, I suggest you not try using this for anything serious yet.\n\nThe subdirectories of this repo have README files with\na bit more info.\n\nSee [my blog entry](https://ericsink.com/entries/wasm_wasi_dotnet.html) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsink%2Fwasm2cil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericsink%2Fwasm2cil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsink%2Fwasm2cil/lists"}