The Fil-C Optimized Calling Convention
65 points
2 days ago
| 4 comments
| fil-c.org
| HN
dvt
1 hour ago
[-]
Great video here by the man himself: https://x.com/filpizlo/status/1976831020566798656

From my cursory glance, the real magic (InvisiCaps) appears to be a unique take on fat pointers to track types, access rights, etc. Pretty clever, and the website is a great technical read.

reply
aniviacat
1 hour ago
[-]
> Fil-C is a personal passion project by Filip Pizlo.

Do I understand correctly that this project is based on the work of just one person, Filip Pizlo? If so, that's amazing.

reply
pizlonator
1 hour ago
[-]
Mostly. A handful of people have made some very nice contributions though
reply
rurban
1 hour ago
[-]
So you just need safe unicode identifiers I guess, fixing the longstanding unicode C11 spec bug, which made identifiers unidentifiable. Restricting to ASCII would be safest. In my rcc compiler I use my libu8ident
reply
ummonk
2 hours ago
[-]
Interesting project in general. I wonder whether it could be adapted to behave reasonably without relying on threading. E.g. run the GC only when *alloc is called.
reply
StilesCrisis
1 hour ago
[-]
The GC runs on a different thread anyway.
reply
turkeyboi
42 minutes ago
[-]
You even read the comment you’re responding to? They’re saying no threads.
reply
tines
39 minutes ago
[-]
Pretty interesting, but what’s the reason of being for Fil-C?
reply