Tuesday, April 30, 2024

Zig - hello world

Hello world in Zig

PS C:\prj> mkdir hello-world
PS C:\prj> cd .\hello-world\
PS C:\prj\hello-world> zig init
You should see this output during init
info: created build.zig
info: created build.zig.zon
info: created src\main.zig
info: created src\root.zig
info: see `zig build --help` for a menu of options
Run it like this
PS C:\prj\hello-world> zig build run
The output should look like this
steps [4/7] install... All your codebase are belong to us.
Run `zig build test` to run the tests.

No comments:

Using Emacs as editor for SBCL on Ubuntu 26.04

Using Emacs as editor for SBCL on Ubuntu 26.04 Version info: OS: Ubuntu 26.04 Emacs: 30.2 SBCL: 2.6.0 Install Emacs and SBCL...