• FizzyOrange
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 个月前

    Operating system interfaces use the C ABI, but they don’t require you to use C.

    Actually that’s true on most OSes, but not Linux - that uses syscalls as its interface not function calls to a shared library, so it’s the syscall ABI.

    I still feel like designing and bootstrapping your own higher level language is going to be less painful overall than writing a Rust compiler in C. And probably more fun.