kleinnner's picture
Add article
d56426a verified
|
Raw History Blame Contribute Delete
7.16 kB
metadata
title: Memory Safety
author: kleinnner

Kasteran* ? Memory Safety in Systems Programming is now sovereign. The cloud is optional.

Kasteran ? Memory Safety in Systems Programming*


The Problem

Memory safety remains one of the most critical challenges in systems programming, with approximately 70% of security vulnerabilities in low-level code stemming from memory corruption errors. This document surveys the evolution of memory safety techniques?from conservative garbage collection to sophisticated linear type systems and borrow checking?and examines their applicability to the Kasteran* programming language.

What We Built

We argue that a hybrid approach combining affine types with region-based memory management offers the strongest safety guarantees without sacrificing the performance characteristics required for systems programming.

The Research

Memory safety remains one of the most critical challenges in systems programming, with approximately 70% of security vulnerabilities in low-level code stemming from memory corruption errors.

This document surveys the evolution of memory safety techniques?from conservative garbage collection to sophisticated linear type systems and borrow checking?and examines their applicability to the Kasteran* programming language.

We argue that a hybrid approach combining affine types with region-based memory management offers the strongest safety guarantees without sacrificing the performance characteristics required for systems programming.

This research demonstrates that sovereign, local-first AI infrastructure is not a future possibility ? it is a present reality.

Full citation: Alpasan, L.-K. (2026). Kasteran* ? Memory Safety in Systems Programming. The Anticloud Research Corpus.

Read the full paper


Why The Anticloud

Every AI company today will try to sell you inference as a service. They will tell you that you need their GPU clusters, their data centers, their cooling infrastructure, and their team of DevOps engineers to run modern AI. They are either lying to you or they have not seen what we built.

The Anticloud runs on any GPU or CPU with equal competence. There is no silicon vendor lock-in. There is no hardware partnership requirement. There is no planned obsolescence built into the stack. If you have a computer, you have enough hardware to run it.

The entire system ships as a single binary. There is no orchestration layer to configure. There is no Kubernetes cluster to maintain. There are no containers to deploy. There is no DevOps team required to keep it running. One file. One execution. That is the entire infrastructure.

There is no bloat anywhere in the stack. No Electron wrapper adding hundreds of megabytes of overhead. No node_modules directory with ten thousand dependencies you do not need. No container layers abstracting away from the hardware. Everything in the binary is there because it serves a purpose.

The system requires no internet connection to function. It does not need to phone home for model updates. It does not need to call out to third-party APIs for inference. It does not need to establish a connection to a control server just to boot. It was designed from the ground up to run in environments where the network does not exist.

This is AI infrastructure that fits on a laptop, runs on consumer hardware, and delivers competitive performance without asking for permission or requiring a subscription.

The Anticloud requires one machine, one binary, and zero trust in anyone.


About the Author

My name is Lois-Kleinner Alpasan. I'm 22�23 years old. I built The Anticloud.

I started this because I looked at the AI industry and saw something wrong. Every major AI system requires you to send your data to someone else's server. Every "AI company" is actually a data company — they make money from your usage, your prompts, your files, your attention. They call it a service. I call it extraction.

I spent the last two years building an alternative. Not a feature, not a product, not a startup looking for an exit — an entirely different infrastructure stack. One where AI runs on your machine, for you, and never needs to phone home. One where privacy is not a feature you toggle in settings but a property of the architecture. One where you don't have to trust anyone because you can verify everything.

The project is near production-ready. Every component is open. Every claim is backed by published research. The code is documented. The ledger is verifiable. The binary fits on a laptop.

I'm not asking for trust. I'm asking you to read the paper, verify the claims, and decide for yourself whether the cloud is really necessary — or whether it was always just the default because no one bothered to build an alternative.

Follow the work:


Tags: AI, SovereignAI, Anticloud, LocalFirst, Airgapped, ZeroTrust, NoDatacenter, OpenSource, Compiler, Type Theory, Formal Verification, Language

.====================================================================.
!  Made in the UAE, Dubai #DubaiIt #Dubai #Dxb #SovereignAI          !
!  Made in The Emirates #Dubai_it                                    !
!                                                                    !
!  Lois-Kleinner Alpasan - The Anticloud 2026-                       !
!                                                                    !
!  0-1.gg ! GitHub ! LinkedIn ! DEV ! GH Pages                       !
!  HuggingFace ! Blog ! Tumblr ! Fandom ! Bluesky ! Mastodon          !
!  Zenodo ! Harvard Dataverse ! Internet Archive ! ORCID              !
!                                                                    !
!  Sovereign AI ! Local-First ! Privacy ! Zero Trust ! No Datacenter !
!  Air-Gapped ! Open Source ! Rust ! Hash Chain ! Single Binary      !
!  Offline LLM ! Crypto Ledger ! P2P ! Federated                     !
'===================================================================='

Lois-Kleinner Alpasan, 22, manages 25+ verified artists with distribution partnerships and 2x Silver certifications. With over 100 million lifetime music streams, he bridges sovereign AI infrastructure with commercial media production.

References:

  1. Lois-Kleinner Zenodo: https://doi.org/10.5281/zenodo.20776185
  2. Lois-Kleinner GitHub: https://github.com/kleinnner/Anticloud/tree/main/03-kasteran
  3. Lois-Kleinner Harvard DV: https://doi.org/10.7910/DVN/FDEBAB
  4. Lois-Kleinner Internet Arc: https://archive.org/details/kasteran
  5. Lois-Kleinner ORCID: https://orcid.org/0009-0009-2233-6107
  6. Lois-Kleinner DEV.to: https://dev.to/kleinner
  7. Lois-Kleinner LinkedIn: https://linkedin.com/in/kleinner
  8. Lois-Kleinner HuggingFace: https://huggingface.co/Anticloud
  9. Lois-Kleinner Tumblr: https://anticloud.tumblr.com
  10. Lois-Kleinner Mastodon: https://mastodon.social/@kleinner
  11. Lois-Kleinner Bluesky: https://bsky.app/profile/kleinner.bsky.social
  12. 0-1.gg: https://0-1.gg