frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The Holy Grail of Linux Binary Compatibility: Musl and Dlopen

https://github.com/quaadgras/graphics.gd/discussions/242
41•Splizard•2h ago

Comments

einpoklum•1h ago
This seems interesting even regardless of go. Is it realistic to create an executable which would work on very different kinds of Linux distros? e.g. 32-bit and 64-bit? Or maybe some general framework/library for building an arbitrary program at least for "any libc"?
Splizard•46m ago
Check out Cosmopolitan C, you can compile a single native binary that targets Linux, Windows & Mac OS (even multiple architectures) it includes its own libc.
quesomaster9000•44m ago
Cosmopolitan goes one further: [binaries] that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS on AMD64 and ARM64

https://justine.lol/cosmopolitan/

oguz-ismail2•30m ago
>Linux

if you configure binfmt_misc

>Windows

if you disable Windows Defender

>OpenBSD

only older versions

sambuccid•19m ago
Appimage exists that packs linux applications into a single executable file that you just download and open. It works on most linux distros
greyw•13m ago
I vaguely remember that Appimage-based programs would fail for me because of fuse and glibc symbol version incompatibilties.

Gave up them afterwards. If I need to tweak dependencies might as well deal with the packet manager of my distro.

iberator•8m ago
Yup. Just compile it as static executable. Static binaries are very undervalued imo.
amelius•33m ago
Is there a tool that takes an executable, collects all the required .so files and produces either a static executable, or a package that runs everywhere?
mdavid626•29m ago
You can "package" all .so files you need into one file, there are many tools which do this (like a zip file).

But you can't take .so files and make one "static" binary out of them.

TheDong•20m ago
There are things like this.

The things I know of and can think of off the top of my head are:

1. appimage https://appimage.org/

2. nix-bundle https://github.com/nix-community/nix-bundle

3. guix via guix pack

4. A small collection of random small projects hardly anyone uses for docker to do this (i.e. https://github.com/NilsIrl/dockerc )

5. A docker image (a package that runs everywhere, assuming a docker runtime is available)

6. https://flatpak.org/

7. https://en.wikipedia.org/wiki/Snap_(software)

AppImage is the closest to what you want I think.

aa-jv•11m ago
AppImage comes close to fulfilling this need:

https://appimage.github.io/appimagetool/

Myself, I've committed to using Lua for all my cross-platform development needs, and in that regard I find luastatic very, very useful ..

Meneth•22m ago
That seems mostly useful for proprietary programs. I don't like it.
athrowaway3z•22m ago
I'd never heard of detour. That's a pretty cool hack.

The browser is the sandbox

https://simonwillison.net/2026/Jan/25/the-browser-is-the-sandbox/
144•enos_feedler•4h ago•76 comments

The Holy Grail of Linux Binary Compatibility: Musl and Dlopen

https://github.com/quaadgras/graphics.gd/discussions/242
41•Splizard•2h ago•13 comments

Things I've learned in my 10 years as an engineering manager

https://www.jampa.dev/p/lessons-learned-after-10-years-as
114•jampa•4d ago•15 comments

First, make me care

https://gwern.net/blog/2026/make-me-care
594•andsoitis•15h ago•180 comments

UK House of Lords Votes to Extend Age Verification to VPNs

https://reclaimthenet.org/uk-house-of-lords-votes-to-extend-age-verification-to-vpns
36•ubercow13•45m ago•8 comments

Scientists identify brain waves that define the limits of 'you'

https://www.sciencealert.com/scientists-identify-brain-waves-that-define-the-limits-of-you
197•mikhael•10h ago•44 comments

Emissary, a fast open-source Java messaging library

https://github.com/joel-jeremy/emissary
9•jeyjeyemem•3d ago•3 comments

A macOS app that blurs your screen when you slouch

https://github.com/tldev/posturr
596•dnw•18h ago•190 comments

Video Games as Art

https://gwern.net/video-game-art
66•andsoitis•8h ago•36 comments

Apple, What Have You Done?

https://onlinegoddess.net/2026/01/apple-what-have-you-done/
55•todsacerdoti•37m ago•55 comments

Iran's internet blackout may become permanent, with access for elites only

https://restofworld.org/2026/iran-blackout-tiered-internet/
265•siev•6h ago•186 comments

A static site generator written in POSIX shell

https://aashvik.com/posts/shell-ssg/
30•todsacerdoti•5d ago•17 comments

Case study: Creative math – How AI fakes proofs

https://tomaszmachnik.pl/case-study-math-en.html
87•musculus•11h ago•58 comments

Ask HN: DDD was a great debugger – what would a modern equivalent look like?

25•manux81•11h ago•30 comments

The future of software engineering is SRE

https://swizec.com/blog/the-future-of-software-engineering-is-sre/
116•Swizec•12h ago•56 comments

The Science of Fermentation [audio]

https://www.bbc.co.uk/programmes/m002pqg6
48•fallinditch•2d ago•14 comments

Building a Real-Time HN Display for $15

https://medium.com/@lee.harding/building-a-real-time-hn-display-for-15-3ea1772051ff
38•kylegalbraith•3d ago•11 comments

Using PostgreSQL as a Dead Letter Queue for Event-Driven Systems

https://www.diljitpr.net/blog-post-postgresql-dlq
213•tanelpoder•18h ago•64 comments

Compiling models to megakernels

https://blog.luminal.com/p/compiling-models-to-megakernels
22•jafioti•1d ago•10 comments

The Post Correspondence Programming Language: Domino-oriented Programming (2015)

https://davidlazar.github.io/PCPL/
6•mr_tyzik•3d ago•1 comments

I was right about ATProto key management

https://notes.nora.codes/atproto-again/
138•todsacerdoti•14h ago•107 comments

Running the Stupid Cricut Software on Linux

https://arthur.pizza/2025/12/running-stupid-cricut-software-under-linux/
18•starkparker•6h ago•2 comments

Environmentalists worry Google behind bid to control Oregon town's water

https://www.sfgate.com/national-parks/article/mount-hood-water-google-21307223.php
104•voxadam•6h ago•35 comments

LED lighting undermines visual performance unless supplemented by wider spectra

https://www.nature.com/articles/s41598-026-35389-6
90•bookofjoe•12h ago•53 comments

Web-based image editor modeled after Deluxe Paint

https://github.com/steffest/DPaint-js
226•bananaboy•21h ago•21 comments

Clawdbot - open source personal AI assistant

https://github.com/clawdbot/clawdbot
234•KuzeyAbi•9h ago•154 comments

Guix for Development

https://dthompson.us/posts/guix-for-development.html
81•clircle•5d ago•31 comments

Show HN: An interactive map of US lighthouses and navigational aids

https://www.lighthouses.app/
69•idd2•16h ago•19 comments

Bitwise conversion of doubles using only FP multiplication and addition (2020)

https://dougallj.wordpress.com/2020/05/10/bitwise-conversion-of-doubles-using-only-floating-point...
43•vitaut•19h ago•3 comments

ICE using Palantir tool that feeds on Medicaid data

https://www.eff.org/deeplinks/2026/01/report-ice-using-palantir-tool-feeds-medicaid-data
1219•JKCalhoun•16h ago•723 comments