Title: id: research: Roc shared-library embedding reality check — what roc build library outputs actually exist · Issue #5995 · developing-today/code · GitHub
Open Graph Title: id: research: Roc shared-library embedding reality check — what roc build library outputs actually exist · Issue #5995 · developing-today/code
X Title: id: research: Roc shared-library embedding reality check — what roc build library outputs actually exist · Issue #5995 · developing-today/code
Description: Part of the worlds design program: #5955. Wave-2 follow-up from the prior-art research (Lane B item 5); parent topic issue: #5964. Research source: workspace/scratch/worlds-capabilities-brief-2026-11-04/prior-art-research.md. Question Dr...
Open Graph Description: Part of the worlds design program: #5955. Wave-2 follow-up from the prior-art research (Lane B item 5); parent topic issue: #5964. Research source: workspace/scratch/worlds-capabilities-brief-2026-...
X Description: Part of the worlds design program: #5955. Wave-2 follow-up from the prior-art research (Lane B item 5); parent topic issue: #5964. Research source: workspace/scratch/worlds-capabilities-brief-2026-...
Opengraph URL: https://github.com/developing-today/code/issues/5995
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id: research: Roc shared-library embedding reality check — what roc build library outputs actually exist","articleBody":"Part of the worlds design program: [#5955](https://github.com/developing-today/code/issues/5955). Wave-2 follow-up from the prior-art research (Lane B item 5); parent topic issue: [#5964](https://github.com/developing-today/code/issues/5964). Research source: `workspace/scratch/worlds-capabilities-brief-2026-11-04/prior-art-research.md`.\n\n## Question\n\nDrew recalls \"at least in one version of the compiler there is a way to make a DLL.\" Close this question with evidence before the dynamic-user-functions design (#5964) builds on it.\n\n## What the prior-art pass found (to verify, not assume)\n\nNo evidence in Roc docs, FAQ, or examples of a supported DLL/dynamic-loading story for Roc modules. Roc compiles via LLVM to a static executable linked with the host; the FAQ's stated plan is to compile \"only to very low-level targets like machine code and WebAssembly\" (https://www.roc-lang.org/faq). The recollection most plausibly refers to: (a) the platform *host* being buildable as a shared-library artifact that other programs load — the host is the DLL, not the Roc app; or (b) `roc build --lib`-style outputs discussed for the old compiler for embedding. In neither case can a running world hot-swap a Roc library without recompiling/restarting the host process.\n\n## Work\n\n- Pin the current compiler's actual library outputs (build one, inspect the artifacts) and what a host must do to load one.\n- Check both compiler lines the repo cares about (pin vs track, per #5964's design points).\n- Deliverable: a short evidence doc — outputs that exist, load mechanics, and the explicit conclusion for #5964: **do not design around native Roc DLL hot-swap**; the mechanism must live at the host/Wasm/process layer (see the hot-swap alternatives follow-up under #5955).\n\n## Done looks like\n\nDoc landed and linked from #5964; the DLL question is answered with artifacts, not recollection.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T05:13:07Z","url":"https://github.com/developing-today/code/issues/5995"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c2df5992-a0e4-80d6-db59-027a4dc20c0c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B72E:28FBD0:29D6A3:386255:6B061689 |
| html-safe-nonce | e64303be2f8c7855296a7580aef9bf3c3d77a43daeba6946964fbfd196d8aaa9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzJFOjI4RkJEMDoyOUQ2QTM6Mzg2MjU1OjZCMDYxNjg5IiwidmlzaXRvcl9pZCI6IjI1MDYyNzEwOTU4NTA5MzE4NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 32806ee033772e0bfd31b9030a0693e93997a2a01da71ed29f6525c1fb9d4d4a |
| hovercard-subject-tag | issue:6217243041 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/5995/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86a7da2f856ea49eaba887994989a27bb60a9bff17e8029d2342c41fc1529f60/developing-today/code/issues/5995 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86a7da2f856ea49eaba887994989a27bb60a9bff17e8029d2342c41fc1529f60/developing-today/code/issues/5995 |
| og:image:alt | Part of the worlds design program: #5955. Wave-2 follow-up from the prior-art research (Lane B item 5); parent topic issue: #5964. Research source: workspace/scratch/worlds-capabilities-brief-2026-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width