DEV Community

Cover image for ๐Ÿ‘‘ HolyC: The Divine Programming Language Behind TempleOS (WTF?!)
hmza
hmza

Posted on

๐Ÿ‘‘ HolyC: The Divine Programming Language Behind TempleOS (WTF?!)

๐Ÿ‘‘ HolyC: The Divine Programming Language Behind TempleOS (WTF?!)

Have you ever heard of a programming language blessed by God? ๐Ÿคฏ

Welcome to HolyC โ€” a language so unique, so controversial, and so fascinating that it demands your attention. Itโ€™s not just a programming language; itโ€™s part of a modern myth, a relic of software divinity handcrafted by the late genius Terry A. Davis.


๐ŸŒฉ๏ธ What Is HolyC?

HolyC is the primary programming language used in TempleOS, a lightweight operating system written entirely by one person. Think of it as a mix of:

  • ๐ŸŸฆ C (its closest cousin)
  • ๐ŸŸจ Assembly (it gives you god-like low-level control)
  • ๐ŸŸช Scripting (runs interactively in the shell)
  • ๐Ÿง  IDE scripting language (think Visual Basic meets kernel code)

It's simultaneously a systems language and a shell language โ€” all rolled into one.


๐Ÿ”ฎ Key Features of HolyC


/* Print a message */
U0 main() {
    "Behold the Lord's Temple!" CR;
}

Enter fullscreen mode Exit fullscreen mode

Some core features:

  • ๐Ÿ’พ Direct hardware access โ€” No sandbox. No layers. Just raw metal.
  • ๐Ÿ“Ÿ Inline graphics & sound โ€” You can embed graphics, music, and UI right into the code.
  • โšก Super-fast compiling โ€” Instant compilation and execution from the command shell.
  • ๐Ÿงฑ Full OS integration โ€” You can modify kernel structures, drivers, and even the editor โ€” all with HolyC.
  • ๐ŸŽฎ Game dev ready โ€” Includes built-in functions for pixel rendering, MIDI sounds, and more.

๐Ÿค” Why Does It Exist?

HolyC exists because Terry Davis had a vision: build a modern-day temple for God โ€” a programming temple. TempleOS was the realization of that vision, and HolyC was the holy tongue that powered it.

Some might say it's absurd. Others might say itโ€™s the purest form of solo genius the tech world has ever seen.

Either way... you canโ€™t ignore it.


๐Ÿ› ๏ธ Sample Code That Draws Pixels


U0 DrawSomething() {
    I64 x, y;
    for (x = 0; x < 640; ++x)
        for (y = 0; y < 480; ++y)
            Poke(&vid[x][y], rand());
}

Enter fullscreen mode Exit fullscreen mode

This paints random colors to the screen using direct memory access.


๐Ÿงฌ HolyC vs C: How Different?

Feature C HolyC
Kernel Mode Access โŒ Limited โœ… Full access
Graphics Built-in โŒ No โœ… Yes (draw pixels!)
Shell/REPL โŒ None โœ… Built-in interpreter
Written by Many devs One man (Terry Davis)
Language Design ANSI Standard Unique, Divine-inspired

โš ๏ธ Should You Use HolyC?

Honestly... probably not. Unless you're:

  • A retro computing fan.
  • An OS developer.
  • A tech historian.
  • Or simply curious about one of the most eccentric languages of all time.

But if you're any of the above โ€” HolyC is a wild ride worth exploring.


๐Ÿชฆ A Final Note

Terry Davis passed away in 2018, but his work remains. HolyC is a tribute to a one-of-a-kind mind that left a mark on programming history โ€” strange, beautiful, and undeniably powerful.

"God said I should build TempleOS." โ€“ Terry A. Davis


๐Ÿ™ HolyC is not just a programming language. It's a digital relic.

Would you dare write code in the language of a temple?

Top comments (0)