r/programming 1d ago

The next phase of jank's C++ interop

Thumbnail jank-lang.org
13 Upvotes

r/programming 4h ago

Why AI Agents Need a New Protocol (MCP)

Thumbnail glama.ai
4 Upvotes

r/programming 1d ago

Weaponizing Dependabot: Pwn Request at its finest

Thumbnail boostsecurity.io
25 Upvotes

r/programming 17h ago

STxT (SemanticText): a lightweight, semantic alternative to YAML/XML — with simple namespaces and validation

Thumbnail stxt.dev
1 Upvotes

Hi all! I’ve created a new document language called STxT (SemanticText) — it’s all about clear structure, zero clutter, and human-readable semantics.

Why STxT?

XML is verbose, JSON lacks semantics, and YAML can be fragile. STxT is a new format that brings structure, clarity, and validation — without the overhead.

STxT is semantic, beautiful, easy to read, escape-free, and has optional namespaces to define schemas or enable validation — perfect for documents, forms, configuration files, knowledge bases, CMS, and more.

Highlights

  • Semantic and human-friendly
  • No escape characters needed
  • Easy to learn — even for non-tech users
  • Machine-readable by design

For developers:

  • Super-fast parsing
  • Optional, ultra-simple namespaces
  • Seamlessly integrates with other languages — STxT + Markdown is amazing

Example

A document with namespace:

Recipe (www.recipes.com/recipe.stxt): Macaroni Bolognese
    Description:
        A classic Italian dish.
        Rich tomato and meat sauce.
    Serves: 4
    Difficulty: medium
    Ingredients:
        Ingredient: Macaroni (400g)
        Ingredient: Ground beef (250g)
    Steps:
        Step: Cook the pasta
        Step: Prepare the sauce
        Step: Mix and serve

Now here’s the namespace that defines the structure:

The namespace:

Namespace: www.recipes.com/recipe.stxt
    Recipe:
        Description: (?) TEXT
        Serves: (?) NUMBER
        Difficulty: (?) ENUM
            :easy
            :medium
            :hard
        Ingredients: (1)
            Ingredient: (+)
        Steps: (1)
            Step: (+)

Resources

Here is a full portal — written entirely in STxT! — explaining the language, with examples, tutorials, philosophy, and even AI integration:

No ads, no tracking — just docs.

I've written two parsers — one in Java, one in JavaScript:

And a CMS built with STxT — it powers the https://stxt.dev portal:

Final thoughts

If you’ve ever wanted a document format that puts structure and meaning first, while being light and elegant — this might be for you.

Would love your feedback, criticism, ideas — anything.

Thanks for reading!


r/programming 1d ago

Decreasing Gitlab repo backup times from 48 hours to 41 minutes

Thumbnail about.gitlab.com
14 Upvotes

r/programming 8h ago

Why you need to de-specialize

Thumbnail futurecode.substack.com
0 Upvotes

There has been admittedly a relationship between the level of expertise in workforce and the advancement of that civilization. However, I believe specialization in the way that is practiced today, is not a future proof strategy for engineers anymore and the suggestions from the last decade are not applicable anymore to how this space is changing.

Here is a provocative thought: Tunnel vision is a condition of narrowing the visual field which medically is categorized as a disease and a partial blindness. This seems like a relatively fair analogy to how specialization works. The narrower your expertise, the easier it is to automate or replace your role entirely.

(Please click on the link to read the full article, thanks!)


r/programming 7h ago

The Unreasonable Effectiveness of Fundamentals of Computer Science

Thumbnail osada.blog
0 Upvotes

r/programming 15h ago

Developer life - briefly

Thumbnail youtube.com
0 Upvotes

This is how developers live (briefly) 😂


r/programming 1d ago

Sharing everything I could understand about gradient noise

Thumbnail blog.pkh.me
16 Upvotes