Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social  路  activity timestamp 3 months ago

On this day last year, #libcurl celebrated its 18th anniversary of not breaking the ABI.

That makes it 19 years now.

https://daniel.haxx.se/blog/2024/10/30/eighteen-years-of-abi-stability/

daniel.haxx.se

Eighteen years of ABI stability

It has been eighteen years of libcurl ABI stability.
  • Copy link
  • Flag this post
  • Block
Michael Eggers 馃嚭馃嚘馃嚜馃嚭
Michael Eggers 馃嚭馃嚘馃嚜馃嚭
@pythno@mastodon.gamedev.place replied  路  activity timestamp 3 months ago

@bagder Have to read through this as I wonder how that's even possible for a lib of that caliber for such a long time. Afaik ABI breaks pretty easily if one just adds more fields to a struct. So you must have planned ahead very well to keep it ABI stable and upgradable, I guess.

  • Copy link
  • Flag this comment
  • Block
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social replied  路  activity timestamp 3 months ago

@pythno a combination of planning, luck and dedication I suppose. We don't change structs once introduced (with one exception that I can recall and that works since we only provide a pointer to it)

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct