{"id":13505520,"url":"https://gitlab.com/kosmospredanie/gpseq","last_synced_at":"2025-03-30T00:31:02.083Z","repository":{"id":62842712,"uuid":"12264432","full_name":"kosmospredanie/gpseq","owner":"kosmospredanie","description":"A parallelism library for Vala and GObject","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":18,"open_issues_count":4,"forks_count":3,"subscribers_count":null,"default_branch":"master","last_synced_at":"2024-11-01T03:32:27.726Z","etag":null,"topics":["GObject","channels","fork-join","glib","multithreading","parallel","parallelism","vala","work-stealing"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":null,"metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-10T09:48:32.641Z","updated_at":"2022-05-18T21:10:09.703Z","dependencies_parsed_at":"2022-11-07T19:15:24.623Z","dependency_job_id":null,"html_url":"https://gitlab.com/kosmospredanie/gpseq","commit_stats":null,"previous_names":[],"tags_count":34,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/kosmospredanie%2Fgpseq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/kosmospredanie%2Fgpseq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/kosmospredanie%2Fgpseq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/kosmospredanie%2Fgpseq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/kosmospredanie","download_url":"https://gitlab.com/kosmospredanie/gpseq/-/archive/master/gpseq-master.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4518426,"owners_count":6902,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":["GObject","channels","fork-join","glib","multithreading","parallel","parallelism","vala","work-stealing"],"created_at":"2024-08-01T00:01:09.326Z","updated_at":"2025-03-30T00:30:57.070Z","avatar_url":null,"language":null,"funding_links":[],"categories":["Libraries"],"sub_categories":["Concurrency"],"readme":"# gpseq\n\n[![pipeline status](https://gitlab.com/kosmospredanie/gpseq/badges/master/pipeline.svg?style=flat-square)](https://gitlab.com/kosmospredanie/gpseq/commits/master)\n[![coverage report](https://gitlab.com/kosmospredanie/gpseq/badges/master/coverage.svg?style=flat-square)](https://gitlab.com/kosmospredanie/gpseq/-/jobs/artifacts/master/file/coverage/index.html?job=test)\n\nGpseq is a parallelism library for Vala and GObject.\n\n```vala\nusing Gpseq;\n\nvoid main () {\n    string[] array = {\"dog\", \"cat\", \"pig\", \"boar\", \"bear\"};\n    Seq.of_array\u003cstring\u003e(array)\n        .parallel()\n        .filter(g =\u003e g.length == 3)\n        .map\u003cstring\u003e(g =\u003e g.up())\n        .foreach(g =\u003e print(\"%s\\n\", g))\n        .wait();\n}\n\n// (possibly unordered) output:\n// DOG\n// CAT\n// PIG\n```\n\n```vala\nusing Gpseq;\n\nvoid main () {\n    Channel\u003cstring\u003e chan = Channel.bounded\u003cstring\u003e(0);\n    run( () =\u003e chan.send(\"ping\").ok() );\n    print(\"%s\\n\", chan.recv().value);\n}\n\n// output:\n// ping\n```\n\n## Features\n\n- Work-stealing task scheduling with managed blocking\n- Functional programming for data processing with parallel execution support (Seq)\n- Unbuffered, buffered, and unbounded MPMC channels\n- Fork-join parallelism\n- Parallel sorting\n- Futures and promises\n- 64-bit atomic operations\n- Overflow safe arithmetic functions for signed integers\n- ...\n\n## Documentation\n\nRead [wiki](https://gitlab.com/kosmospredanie/gpseq/wikis),\n[valadoc](https://valadoc.org/gpseq-1.0/index.htm),\nand [gtkdoc (C API)](https://gitlab.com/kosmospredanie/gpseq/-/jobs/artifacts/master/file/gtkdoc/html/index.html?job=build).\n\nThere is a developer's guide in the wiki.\n\n## Install\n\nSee the [installation guide](INSTALL.md).\n\n## License\n\nGpseq is released under the [LGPL 3.0 license](COPYING).\n\n### Libgee\n\nGpseq uses a modified version of timsort.vala of libgee.\nSee [TimSort.vala](src/TimSort.vala) and [COPYING-libgee](COPYING-libgee).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fkosmospredanie%2Fgpseq","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fkosmospredanie%2Fgpseq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fkosmospredanie%2Fgpseq/lists"}