/zerobloat-lang

🚀 zerobloat language is a blazing fast language written in pure zero-bloat C (using loslib)

Primary LanguageC

ZeroBloat-Lang

zerobloat-lang is a blazing fast language written in pure zero-bloat C (using loslib).

For now, its support only clang and 1 architecture:

  • x86_64

Building

ZeroBloat lang has ZERO BLOAT BUILD SYSTEM WRITTEN IN ZERO-BLOAT SH SCRIPTS WITH ZERO BLOAT CONFIGURATION.

Edit target (and if you need, cflags and ldflags) variables in mk.conf and type ./make:

$ ./make

Hello world

ZeroBloat language has zero-bloat syntax: there no syntax.

$ touch hello-world.zb
$ bin/zb-minimal.out hello-world.zb
Hello, world!

Also, there is professional version of zb:

$ echo 'hello, world!' > hello-world.zb
$ zb hello-world.zb
hello, world!

Rust port

zbrs is a port of rust's 0% bloat language. Usage:

$ touch 'Hello, world!'
$ zbrs 'Hello, world!'
Hello, world!
$ wc -c 'Hello, world!'
0

Safety

ZeroBloat is fully memory-safe language without undefined behaviours (unlike C).

To-Do List

  • ZeroBloat minimal version (zb-minimal)
  • True ZeroBloat (zb)

Special thanks to

  • Fucking C community
  • Fucking Rust #![no_std] community