Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
CGamesPlay
2 days ago
|
parent
|
context
|
favorite
| on:
Go is portable, until it isn't
Use dlopen? I haven’t tried this in Go, but if you want a binary that optionally includes features from an external library, you want to use dlopen to load it.
immibis
2 days ago
[–]
It only works in a dynamically-linked binary, because the dynamic linker needs to be loaded.
reply
CGamesPlay
13 hours ago
|
parent
[–]
That makes sense. Some digging turns up some workarounds; the best I found was
https://github.com/jart/cosmopolitan/releases/tag/3.1
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: