The warning that nostr:npub185h9z5yxn8uc7retm0n6gkm88358lejzparxms5kmy9epr236k2qcswrdp wrote on some of the bitcoinj consensus code is one of the most frightening warning comments I have ever seen! There is nothing remotely comparable to libbitcoinkernel to replace.
I knew that 10 years ago when I was messing around with this: