{"id":27753452,"url":"https://github.com/sunfishcode/particle","last_synced_at":"2026-01-24T02:04:45.555Z","repository":{"id":265588474,"uuid":"740494115","full_name":"sunfishcode/particle","owner":"sunfishcode","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-08T15:12:36.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-22T02:18:31.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunfishcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-08T13:12:04.000Z","updated_at":"2024-01-08T13:12:04.000Z","dependencies_parsed_at":"2024-11-30T03:15:32.639Z","dependency_job_id":null,"html_url":"https://github.com/sunfishcode/particle","commit_stats":null,"previous_names":["sunfishcode/particle"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fparticle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fparticle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fparticle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfishcode%2Fparticle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunfishcode","download_url":"https://codeload.github.com/sunfishcode/particle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251446169,"owners_count":21590668,"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":"2025-04-29T06:00:44.912Z","updated_at":"2026-01-24T02:04:45.527Z","avatar_url":"https://github.com/sunfishcode.png","language":null,"readme":"the existence of a text format for wasm values called wave implies the existence\nof a corresponding binary format for wasm values called particle\n\nThere are many things that *can* be optimized for in a binary format. Here's\nsome preliminary brainstorming about a hypothetical point in the design space:\n\n - As with Wave, values themselves don't encode their full types. This saves\n   size, but means that type information must be negotiated at a higher level.\n\n - There's no factoring of redundancies between expressions. Combine with a\n   general-purpose compressor (eg. gzip or others) when this is important.\n   \n - Encode strings as UTF-8, preceded by a length in code units, so that consumers can\n   allocate a buffer up front, or skip over the string value.\n\n - Don't try to implement non-coercive subtyping at the expression level. Higher-level\n   formats and protocols should record the types that expressions are encoded with, and\n   subtyping conversions should be performed by consumers recognizing that the encoded\n   types differ from the destination types.\n\n - Encode integers as plain-binary rather than LEB128 or some other compressed form.\n   This allows eg. list\u003cu8\u003e to be plain-binary. Encode floats as plain-binary too,\n   though canonicalize NaNs (to sign = 0, quiet = 1, rest = 0).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunfishcode%2Fparticle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunfishcode%2Fparticle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunfishcode%2Fparticle/lists"}