logoalt Hacker News

reactordevlast Saturday at 7:38 PM3 repliesview on HN

But can I still write a library in C3 and export the symbols to use in bindings?

The only thing stopping me from just going full C the rest of my career is cstrings and dangling pointers to raw memory that isn’t cleaned up when the process ends.


Replies

sureglymoplast Saturday at 8:29 PM

Maybe I misunderstand but if the process ends its entire virtual address space is gone no? Did you mean subprocess or something different?

show 1 reply
paulddraperlast Sunday at 12:36 AM

> But can I still write a library in C3 and export the symbols to use in bindings?

Yes, it has the same ABI.

d-lisplast Saturday at 8:32 PM

> dangling pointers to raw memory that [are not] cleaned

How do you feel about building special constructs to automatically handle these ?

show 1 reply