Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Zig Programming Language

#1
The Zig Programming Language

The Zig programming language is a relatively young open source general purpose programming language. Joining a growing list of languages in our Programming Language playlist, Zig can be thought of as “Zig is to C as Rust is to C++”. It’s a relatively simple programming language with modern language features like generics, while offering manual memory management, exceptional C interop and more. It is built on top of the LLVM compiler and includes C and C++ compilers as well as the StdC libraries.

Zig is described as:

Focus on debugging your application rather than debugging your programming language knowledge.

  • No hidden control flow.
  • No hidden memory allocations.
  • No preprocessor, no macros.

A fresh approach to metaprogramming based on compile-time code execution and lazy evaluation.

  • Call any function at compile-time.
  • Manipulate types as values without runtime overhead.
  • Comptime emulates the target architecture.

Write fast, clear code capable of handling all error conditions.

  • The language gracefully guides your error handling logic.
  • Configurable runtime checks help you strike a balance between performance and safety guarantees.
  • Take advantage of vector types to express SIMD instructions portably.

If you are interested in learning Zig, the website is https://ziglang.org/. The project is open source under the MIT license with the source code hosted on GitHub. If you have any comments or questions you can check out the official Zig discord server here.

Of course, this is a game development channel, so you may be wondering how you create games with Zig. If you are interested in getting up and running with SDL, this is an excellent tutorial. If you would prefer Raylib of course there are bindings for Zig available here. Due to the straight forward C interop, working with any C library should be a fairly trivial process.

You can learn more about Zig in the video below.





https://www.sickgaming.net/blog/2021/04/...-language/
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Humble Head First Programming By O’Reilly Bundle xSicKxBot 0 62 04-20-2021, 05:20 PM
Last Post: xSicKxBot
  Checked C Language xSicKxBot 0 53 03-05-2021, 09:29 AM
Last Post: xSicKxBot
  Game Development in the Go Programming Language xSicKxBot 0 113 10-09-2020, 10:07 PM
Last Post: xSicKxBot
  Programming Languages Books By OReilly Bundle xSicKxBot 0 241 07-28-2020, 01:42 PM
Last Post: xSicKxBot
  wren Programming Language xSicKxBot 0 200 06-22-2020, 09:56 AM
Last Post: xSicKxBot
  Gravity Embeddable Programming Language xSicKxBot 0 213 06-10-2020, 07:43 AM
Last Post: xSicKxBot
  Beef Programming Language xSicKxBot 0 274 04-25-2020, 06:13 AM
Last Post: xSicKxBot
  Top Programming Languages Of 2019 xSicKxBot 0 353 11-11-2019, 08:25 AM
Last Post: xSicKxBot
  Humble Programming Book Bundle By Packt xSicKxBot 0 459 06-18-2019, 11:30 AM
Last Post: xSicKxBot
  SKIP Programming Language Released By Facebook xSicKxBot 0 820 09-27-2018, 09:01 AM
Last Post: xSicKxBot

Forum Jump:

[-]
Active Threads
[Tut] How to Check Your TensorFlow Versi...
Last Post: xSicKxBot
Today 01:57 AM
» Replies: 0
» Views: 5
(Indie Deal) FREE Slash It, Resident Evi...
Last Post: xSicKxBot
Today 01:56 AM
» Replies: 0
» Views: 5
News - Katy Perry’s Pokémon Song ‘Electr...
Last Post: xSicKxBot
Today 01:56 AM
» Replies: 0
» Views: 5
News - Here’s A Look At The Rockin’ Open...
Last Post: xSicKxBot
Today 01:56 AM
» Replies: 0
» Views: 6
MiniGDX Kotlin Game Development Framewor...
Last Post: xSicKxBot
Yesterday 05:36 PM
» Replies: 0
» Views: 7
Mobile - Mad Skills Motocross 3’s traile...
Last Post: xSicKxBot
Yesterday 05:36 PM
» Replies: 0
» Views: 5
Fedora - PipeWire: the new audio and vid...
Last Post: xSicKxBot
Yesterday 05:36 PM
» Replies: 0
» Views: 5
News - Random: Check Out These “Mock-Ups...
Last Post: xSicKxBot
Yesterday 05:36 PM
» Replies: 0
» Views: 5
News - Video: Pokémon Fan Reimagines The...
Last Post: xSicKxBot
Yesterday 05:36 PM
» Replies: 0
» Views: 5
News - Where Is Xur Today? (May 14-18) -...
Last Post: xSicKxBot
Yesterday 05:35 PM
» Replies: 0
» Views: 79

[-]
Twitter

Copyright © SickGaming.net 2012-2020