The C-Shaped Hole in Package Management
lobste.rs·1d·
Discuss: Lobsters
📦Nixpkgs
Preview
Report Post

I disagree with it very deeply. I don’t feel up to writing my usual longposts, so I’ll try to state the problem succinctly.

The problem with this mindset is along two points, the first leading to the other. The first is that the C, and it’s resulting semantics, are very tightly coupled to the machine and operating system it is running on.

While we have mostly normalised on x64 and the SYSV ABI, this was not always the case, and even today it is not always the case. To write "correct C", you absolutely have to know the platform and the OS on which it is deployed, and said C code cannot be considered correct between "foreign systems" (i.e. systems where integer behaviour is different, where the system interfaces are different, etc.). The C standard ratified and smoothed over…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help