#ziglang

Zig Weeklyzig_discussions
2025-05-19

Tase - Multi-agent centralized logs control and management tool written in zig

github.com/Gnyblast/tase

Discussions: discu.eu/q/https://github.com/

Zig Weeklyzig_discussions
2025-05-19

Zig recap for week 20/2025

discu.eu/weekly/zig/2025/20/

Get RSS feeds and support this bot with the premium plan: discu.eu/premium

Zig Weeklyzig_discussions
2025-05-18

Working on a terminal manipulation library in Zig! I'm calling it "ZTerm"

github.com/Rowobin/zterm

Discussions: discu.eu/q/https://github.com/

2025-05-16

@profoundlynerdy just because something has types doesn’t make it Haskell-like. Haskell’s type system is in the family of Lambda Calculii (the “Lambda Cube”) which is called “System-F”.

I don’t know much about Raku, but it seems to me to me to be a bit more similar to TypeScript. And what differentiates TypeScript from other languages: it takes a horrible programming language like JavaScript and makes it less bad by giving it a type system, likewise Raku makes Perl less bad in the exact same way. (Sorry, I’m not trying to be impolite, but JavaScript and Perl are objectively, truly awful, horrible programming languages.)

So I see both Raku and TypeScript only being useful to a company buried in the technical debt of a hugely profitable production application that was very unwisely written in a dynamically typed language (Perl or JavaScript), which then unfortunately grew to millions of lines of code, and now it can’t be maintained by anyone, and it could never possibly be rewritten from the ground-up in a good programming language like Haskell for any reasonable sum of money. So Raku and TypeScript both offer a half-measure solution to that problem: make the maintenance of horrible computer code a bit easier with a type system.

Haskell was never intended as a fix for horrible code, it took a really good experimental programming language called Miranda and turned it into something that you can use to do real, practical software engineering, and it does it better than any other language ever invented. You write a system in Haskell because you know up front that you want it to be stable and maintained in a cost-effective manner for decades.

Zig is not similar to Raku or Haskell. It is more analogous to what Scala does for Java. Java is already statically typed, but Scala’s type system is better, and it’s runtime is fully compatible with Java. Likewise, Zig is fully compatible with the C language runtime, but provides a slightly different, slightly better static type checking system than the C type system. Zig also solves a bunch of other problems that C has by providing it with modern features like namespaces and modules, which makes it much easier to use than C. Zig is the perfect way to replace old C code with something more modern, but only if you don’t need it to be as rigorously correct as Rust. I think Zig would be a nice language to use to replace non-safety-critical front-end libraries like Gtk, or maybe for things like game engines.

#tech #software #SoftwareEngineering #ZigLang #RakuLang #Perl #Haskell #Scala #Java #JVM #JavaScript #TypeScript

2025-05-16

Why is #Rakulang seemingly so underappreciated?

#Ziglang and #Haskell seem to outpace Raku's adoption curve. I say that as a fan of all three languages, I'm not casting shade. One is new and the other is niche, but they both seem to me good comparisons to Raku. Just look at the sizes of each language's subreddit to get a sense of respective community size.

If those are bad comparisons, I'm open to alternatives and polite discussion.

#programming

Zig Weeklyzig_discussions
2025-05-16

GitHub - kassane/zcc-d: D library for build scripts to compile C/C++ code using zig toolchain

github.com/kassane/zcc-d

Discussions: discu.eu/q/https://github.com/

2025-05-15

These ones looks cool

Have you guys already tried one of them?
If you know some other nice programming languages, write it in the replies ;)

#beeflang #odinlang #Zig #ziglang #programming #foss #fosstodon #floss #flosstodon

Zig Weeklyzig_discussions
2025-05-12

Zig recap for week 19/2025

discu.eu/weekly/zig/2025/19/

Get RSS feeds and support this bot with the premium plan: discu.eu/premium

Zig Weeklyzig_discussions
2025-05-06

Writing OS from scratch for Cortex-M using Zig + C + Assembly

youtu.be/KMgUgPFHL7Y

Discussions: discu.eu/q/https://youtu.be/KM

Zig Weeklyzig_discussions
2025-05-05

Zig recap for week 18/2025

discu.eu/weekly/zig/2025/18/

Get RSS feeds and support this bot with the premium plan: discu.eu/premium

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst