daniel:// stenberg:// on Nostr: In the #curl project, being written in C, we always work on simplifying the code. One ...
In the #curl project, being written in C, we always work on simplifying the code. One way is to use more internal helper functions and avoid direct use of some functions that are often involved in C mistakes/vulnerabilities.
To measure how this develops, we count number of these function calls used per every thousand lines of code. Over time.
In a graph.
Published at
2024-05-15 12:56:29Event JSON
{
"id": "addfa27cc2aee1da3e44d0f3e1253bfd6236ffdfd77ac0f4d0f3989335f80039",
"pubkey": "c6ded81787e5543f1b20f09d744b089443524d9e6fe4a95aaeb4c07b42e012cb",
"created_at": 1715777789,
"kind": 1,
"tags": [
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/112/445/207/733/525/135/original/c88064dd9b1a8186.png",
"m image/png"
],
[
"proxy",
"https://mastodon.social/@bagder/112445213224399889",
"web"
],
[
"t",
"curl"
],
[
"proxy",
"https://mastodon.social/users/bagder/statuses/112445213224399889",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/bagder/statuses/112445213224399889",
"pink.momostr"
]
],
"content": "In the #curl project, being written in C, we always work on simplifying the code. One way is to use more internal helper functions and avoid direct use of some functions that are often involved in C mistakes/vulnerabilities.\n\nTo measure how this develops, we count number of these function calls used per every thousand lines of code. Over time.\nIn a graph.\nhttps://files.mastodon.social/media_attachments/files/112/445/207/733/525/135/original/c88064dd9b1a8186.png\n",
"sig": "259a42a7c25e685a916a2507e694e03e8d702c8f0912274adb8f8e3f1877ddbb750f0171d5715a906f29db3dcff2ef2962befb8b7999501ee360638d8bc9fdcc"
}