Best alternative are static generators like Jekyll or static CMS like Publii https://getpublii.com
IMO the best solution is to host your actual articles on a static site and host the discussion elsewhere with a link at the bottom of the page. Host your own forum, make a subreddit, submit links to HN, whatever.
Obviously a bit more involved than your examples.