{"id":16499432,"url":"https://github.com/tpapp/multibroadcast.jl","last_synced_at":"2026-02-03T06:37:41.724Z","repository":{"id":55588532,"uuid":"103815183","full_name":"tpapp/MultiBroadcast.jl","owner":"tpapp","description":"Utilities for broadcasting functions with multiple values in Julia","archived":false,"fork":false,"pushed_at":"2020-12-20T09:16:57.000Z","size":10,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-20T20:05:03.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-17T08:47:53.000Z","updated_at":"2019-06-14T01:45:54.000Z","dependencies_parsed_at":"2022-08-15T03:50:21.288Z","dependency_job_id":null,"html_url":"https://github.com/tpapp/MultiBroadcast.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tpapp/MultiBroadcast.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FMultiBroadcast.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FMultiBroadcast.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FMultiBroadcast.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FMultiBroadcast.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpapp","download_url":"https://codeload.github.com/tpapp/MultiBroadcast.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FMultiBroadcast.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29035798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T06:11:29.234Z","status":"ssl_error","status_checked_at":"2026-02-03T06:11:03.146Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-11T14:52:47.963Z","updated_at":"2026-02-03T06:37:41.703Z","avatar_url":"https://github.com/tpapp.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiBroadcast\n\n[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](http://www.repostatus.org/badges/latest/wip.svg)](http://www.repostatus.org/#wip)\n[![Build Status](https://travis-ci.org/tpapp/MultiBroadcast.jl.svg?branch=master)](https://travis-ci.org/tpapp/MultiBroadcast.jl)\n[![Coverage Status](https://coveralls.io/repos/tpapp/MultiBroadcast.jl/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/tpapp/MultiBroadcast.jl?branch=master)\n[![codecov.io](http://codecov.io/github/tpapp/MultiBroadcast.jl/coverage.svg?branch=master)](http://codecov.io/github/tpapp/MultiBroadcast.jl?branch=master)\n\n## Introduction\n\nThis is an **experimental** Julia package that explores broadcasting functions\nwith multiple values (cf\n[#23734](https://github.com/JuliaLang/julia/issues/23734)). The only\nexported function is `multi_broadcast`, which is best explained with\nan example:\n\n```julia\nf(x) = x+1, 2*x\na, b = multi_broadcast(f, 1:10)\na == collect(2:11)\nb == collect(2:2:20)\n```\nThere is a convenience syntax for this with the `@multi` macro:\n```julia\n@multi f.(1:10)\n```\n\nThe package also extends `broadcast!`, so if you preallocate for the output, you can do\n```julia\nx = 1:10\na = similar(BitArray, x)\nb = similar(Array{Int}, x)\nf(x) = isodd(x), 3*x\na, b .= f.(a, b) # note: no new syntax required\n```\n\n## Implementation\n\nI am relying on the existing implementation of `broadcast` as much as\npossible, saving values in a thin wrapper type that contains a tuple\nof arrays. Whether this is a viable approach remains to be seen.\n\nI wrote this up so that I can experiment with the interface, and\nbecause I find the functionality useful. If you have suggestions for\nimprovement, please open an issue or make a PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpapp%2Fmultibroadcast.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpapp%2Fmultibroadcast.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpapp%2Fmultibroadcast.jl/lists"}