Remix.run Logo
The Fil-C Optimized Calling Convention(fil-c.org)
65 points by pizlonator 2 days ago | 8 comments
dvt 2 hours ago | parent | next [-]

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.

aniviacat 2 hours ago | parent | prev | next [-]

> 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.

pizlonator 2 hours ago | parent [-]

Mostly. A handful of people have made some very nice contributions though

rurban an hour ago | parent [-]

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

ummonk 2 hours ago | parent | prev | next [-]

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.

StilesCrisis an hour ago | parent [-]

The GC runs on a different thread anyway.

turkeyboi 40 minutes ago | parent [-]

You even read the comment you’re responding to? They’re saying no threads.

tines 37 minutes ago | parent | prev [-]

Pretty interesting, but what’s the reason of being for Fil-C?