Ethan Blanton on Nostr: After completing Chapter 8 (including extra credit), running the Writing a C Compiler ...
After completing Chapter 8 (including extra credit), running the Writing a C Compiler test suite through gcc takes 12.7 seconds, clang takes 23 seconds, and my compiler takes 21.8 seconds.
I don't see any reason that Debian 13 shouldn't be able to ship this as the default compiler. I'll need types other than int, function calls, and a few similar edge cases first, but it's looking promising.
Published at
2024-08-12 03:40:26Event JSON
{
"id": "28fc553c4ef7b830c2eff6243e131c34c144674631f9fcf9375ab1cfdf25eecf",
"pubkey": "ced8854413eb31949434fdf2005cdd22937a4b12e2699cec34799e8f5710ec89",
"created_at": 1723434026,
"kind": 1,
"tags": [
[
"proxy",
"https://social.sdf.org/@elb/112946972364512094",
"web"
],
[
"proxy",
"https://social.sdf.org/users/elb/statuses/112946972364512094",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://social.sdf.org/users/elb/statuses/112946972364512094",
"pink.momostr"
],
[
"-"
]
],
"content": "After completing Chapter 8 (including extra credit), running the Writing a C Compiler test suite through gcc takes 12.7 seconds, clang takes 23 seconds, and my compiler takes 21.8 seconds.\n\nI don't see any reason that Debian 13 shouldn't be able to ship this as the default compiler. I'll need types other than int, function calls, and a few similar edge cases first, but it's looking promising.",
"sig": "ff90cacb7f8f3fdf67fbe9500ac7727369a1c2f174e7a319f02be1c8c66e0f10652aca4de0267efbe7ca6124dd41f487ad5e7ac667f0b4c6b647d27eb489e8c0"
}