Idea for a blog focused on mastering the V programming language
Site organization
Structured as:
- Today I Learned (TIL) posts
- Articles
- News
Pages can be accessed:
- in chronological order
- by category (til, articles, news )
- by tags
Ideas for TILs
- Text templates
- Compile-time constructs
Ideas for articles
Tech stack for this site
How this site is built and published:
- Generated with Hugo (at least initially)
- Powered by a web server developed in V
- Hosted on Fly.io
Interesting aspects:
- Web services in V
- Tricks of the trade like load shedding
- Performance
3D graphics in V
Building a flight sim in V
Misc
Why?
Why host on Fly.io with your own custom-built web server instead of the usual options for serving static content?
First of all, to get familiar with deployment of web services written in V (more on this later).
And to experiment with load shedding techniques that would allow a site on a small budget to withstand significant surges in traffic… careful what you wish for 😅
Relevance and deprecation
Frontmatter includes also a field which is the version of V were the post is relevant.
For example v: ">=0.4.5
Default to TIL
GitJournal is configured to set category: TIL
for every new note.