Hacker News new | ask | show | jobs
by saikyun 1707 days ago
It's easy to treat any C struct as an abstract object in Janet, then have functions that do specific things (e.g. write to the file, read from it, etc). You have to write some manual code, but it's generally not too bad.