Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am using purego indirectly in two pet projects of mine. While it has its own issues it definitely solves the issue of cross-compilation.

In this particular case it may be that they will need to write a wrapper to abstract differences between the systemd C API if it is not stable, but at least they still can compile a binary from macOS to Linux without issues.

The other issue as other said is to use journalctl and just parse the JSON format. Very likely that this would be way more stable, but not sure if it is performant enough.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: