Zig

What is IQfy's opinion on Zig? Why isn't it as popular as Rust and Golang? Have you ever used it for a project of yours?
In my junior eyes it seems like a good language to learn, but then again, I am a junior so I don't really know shit

POSIWID: The Purpose Of A System Is What It Does Shirt $21.68

Tip Your Landlord Shirt $21.68

POSIWID: The Purpose Of A System Is What It Does Shirt $21.68

  1. 4 weeks ago
    Anonymous

    Good for what? As a career move? Don't bother, the boomers in charge won't migrate anything to Zig anytime soon.
    For your own edification, and learn how things can be done differently, yeah absolutely.

    • 4 weeks ago
      Anonymous

      I am kind of stuck without a job for a year due to legal government bullshit forced upon me so i learn random shit while NEETing on my parents home.
      I like the fact that it is basically the best C build system and you can use it with C immediately.
      Other than that I like the general direction and optional safety.

      It's always good to learn i guess.

      I personally don't think they will move to Zig but it is very easy to integrate it with C libraries or replace the build system of an application with something that just works far better.

      • 4 weeks ago
        Anonymous

        >I am kind of stuck without a job for a year due to legal government bullshit forced upon me
        What did you do anon?

        • 4 weeks ago
          Anonymous

          my country has mandatory army training(I am not sure what the correct translation is)
          It turns out although I regularly go to the gym and am in many ways more trained than the average soldier in my country. I can't finish my army duties because I am too fat.
          So I was forced to take 1 year off the army.
          Problem with this is HR is too afraid to hire me(and i've been told exactly this from recruiters) because they are too afraid of the small possibility of the army taking me back in next year.
          So here I am trying to find a job, living with my parents at 23.
          I hate everything about this.

          • 4 weeks ago
            Anonymous

            >mandatory army training
            its called conscription

          • 4 weeks ago
            Anonymous

            oh ok thanks anon i thought conscription was just for war

          • 4 weeks ago
            Anonymous

            >It turns out although I regularly go to the gym and am in many ways more trained than the average soldier in my country. I can't finish my army duties because I am too fat.
            Powerlifting. Not even once.

          • 4 weeks ago
            Anonymous

            big muscles are literally bloat, the only thing that matters is wrists and low bodyfat

          • 4 weeks ago
            Anonymous

            big muscles are literally bloat, the only thing that matters is wrists and low bodyfat

            I don't powerlift but I do MMA.
            I try to exercise every day, somehow in my effort i earned a body type that is a very light version of Kyriakos Grizzly.

    • 4 weeks ago
      Anonymous

      Yeah I can see that, I'm mainly thinking of using it for personal stuff.

      I am kind of stuck without a job for a year due to legal government bullshit forced upon me so i learn random shit while NEETing on my parents home.
      I like the fact that it is basically the best C build system and you can use it with C immediately.
      Other than that I like the general direction and optional safety.

      It's always good to learn i guess.

      I personally don't think they will move to Zig but it is very easy to integrate it with C libraries or replace the build system of an application with something that just works far better.

      Cool cool, although I don't have much experience with C its good to know.

      >I'm in my second year of college and this language seems good to learn despite it being used in exactly no jobs I'm training for
      You're a damn lying shill. Buy an ad

      Nice headcanon, anon. I'm a fullstack junior who is simply curious about expanding my repertoire.

      • 4 weeks ago
        Anonymous

        If you are going to learn Zig you might as well learn a bit of C imo

  2. 4 weeks ago
    Anonymous

    >I'm in my second year of college and this language seems good to learn despite it being used in exactly no jobs I'm training for
    You're a damn lying shill. Buy an ad

  3. 4 weeks ago
    Anonymous

    nocoder language

    its very simple
    need performance and/or hardware access? use c or c++
    nees some script or small tool to automate some job? python
    anything else? java/c#/go

    anything else is just nocoder, hello worlder, fizzbuzzer crap

    • 4 weeks ago
      Anonymous

      Great language selection anon.

    • 4 weeks ago
      Anonymous

      >nocoder language
      Bun was made in Zig so this isn't true at all

    • 4 weeks ago
      Anonymous

      Zig is awesome.
      Go is good too though but it's for different things.
      Rust is unmitigated trash.
      C/C++ + Zig + Go + Python + Bash/shell are all the languages your need to know.

      What about Lisp or Haskell, isn't knowing them meant to teach you how to program differently and better even if you never end up using them?

    • 4 weeks ago
      Anonymous

      >anything else? java/c#
      go away with your Black person oop trash

  4. 4 weeks ago
    Anonymous

    looks cool
    hope it beats out rust long term
    but its too new to say anything about its future
    an ultimately nothing will or should replace C/C++

  5. 4 weeks ago
    Anonymous

    Zig is awesome.
    Go is good too though but it's for different things.
    Rust is unmitigated trash.
    C/C++ + Zig + Go + Python + Bash/shell are all the languages your need to know.

    • 4 weeks ago
      Anonymous

      >Go is good too though but it's for different things.
      Can you explain what are those "different things"? I understand the purpose of C as a systems programming language, Python is for automation and high level programming, and POSIX Shell also for automation. I'm not fully ignorant about Go, but I don't have a clear vision about it, neither. Go was made to replace C/C++, but now it's replacing the use of python and other high level languages.

      • 4 weeks ago
        Anonymous

        >Python is for automation and high level programming
        You don't want to write a full backend in python, that's just insanity.

      • 4 weeks ago
        Anonymous

        nta
        >Go was made to replace C/C++
        huh? where has this come from? golang is garbage collected, no way it was ever meant to replace C/C++. replacing c/c++ is more of rust/zig job
        golang has goroutines(green threads), channels and great tooling. it's my go to for small servers/clients and porting overgrown shell scripts. channels are a bit wasteful, but it's hard to go wrong with them

        • 4 weeks ago
          Anonymous

          >huh? where has this come from?
          It was a bade phrasing by me, what I intended to say is to solve some problems with C++.

        • 4 weeks ago
          Anonymous

          >Go was made to replace C/C++
          no it wasnt, lol
          the guy who made C was involved with making Go but it was never intended to be a replacement or successor
          it was just meant to be a language thats very easy to learn, fast and compiles fast, garbage collected, and really good at concurrency
          if anything it should be a java replacement for after weve moved beyond the strict OOP meme

          Go is good if you want a language thats very simple and easy to write, you need something thats fast but doesnt need to be quite as fast as C, you want something that can be compiled to an executable, and/or you want easy and scalable concurrency

          you're rewriting history. it was absolutely touted as a cpp replacement initially

          https://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html?m=1

          • 4 weeks ago
            Anonymous

            idk history. anyone who touted language with GC as cpp replacement is moronic

      • 4 weeks ago
        Anonymous

        >Go was made to replace C/C++
        no it wasnt, lol
        the guy who made C was involved with making Go but it was never intended to be a replacement or successor
        it was just meant to be a language thats very easy to learn, fast and compiles fast, garbage collected, and really good at concurrency
        if anything it should be a java replacement for after weve moved beyond the strict OOP meme

        Go is good if you want a language thats very simple and easy to write, you need something thats fast but doesnt need to be quite as fast as C, you want something that can be compiled to an executable, and/or you want easy and scalable concurrency

        • 4 weeks ago
          Anonymous

          Go sounds really nice
          Should my next step after Python be Go or C++?

          • 4 weeks ago
            Anonymous

            if you want to whack small progams/server go golang. if you want to write performance critical applications, games or join existing codebase go c++. but c++ is mess and you will hate your life

          • 4 weeks ago
            Anonymous

            Go would be much easier to learn coming from Python and is a very nice middle ground between the two
            C++ was my first language but I dont even use it, lately I just use Python and Go for all my needs

            one of the main creators of Go said he was surprised to find most of the people moving over to Go were python and ruby programmers rather than the C++ programmers he had expected
            its hard to say which you should learn first because if you havent learned C++ you definitely should learn it at some point and being good at C++ will make you more employable
            but if youre just a hobbyist and arent doing low level systems or ultra low latency stuff then youll probably never need anything faster than Go
            so in an ideal world Id say learn Go first but learn both eventually

          • 4 weeks ago
            Anonymous

            >cnile seethes about C++
            >makes worse thing than C++
            >noooo why are you not using C++ sar!
            golang is not only slow but its compiler is shit, so shit I can tell it was written in C without looking it up.

          • 4 weeks ago
            Anonymous

            Elaborate in which ways the Go compiler is shit, good sir.

          • 4 weeks ago
            Anonymous

            all of them, starting from being so bloated that it acts as a code formatter and a linter, and ending with it generating garbage code

          • 4 weeks ago
            Anonymous

            you're absolutely moronic

          • 4 weeks ago
            Anonymous

            I don't use shitlangs like Go so I cannot be.

          • 4 weeks ago
            Anonymous

            yeah but you talk a lot of shit about things you have no idea about

          • 4 weeks ago
            Anonymous

            Yet you use C and not Asm (exclusively). You're a pseudo intellectual no-coder masquerading as someone of skill because jeets on this board can't into pointers.

          • 4 weeks ago
            Anonymous

            I use C++, C is a shitlang where worthless shitlangs like Go are created
            >muh ASM
            yeah I can inline it in C++ when I need to

            yeah but you talk a lot of shit about things you have no idea about

            I am not the one who's too moronic to look at generated code, nocodeshitter.

          • 4 weeks ago
            Anonymous

            >generated code
            what the frick are you even talking about
            you mean assembly?
            you are 100% a nocoder

          • 4 weeks ago
            Anonymous

            >cnile seethes about C++
            >makes worse thing than C++
            >noooo why are you not using C++ sar!
            golang is not only slow but its compiler is shit, so shit I can tell it was written in C without looking it up.

            >my compiler has features, the horror.
            You know I love gofmt, i love gopls.
            I love the fact that the developers of go decided that we would all have a single style of writing go because the shit is happening on the C space where every project has its own styling is moronic.

          • 4 weeks ago
            Anonymous

            >I love the fact that we're all equivalent NPC's and all of our fizzbuzzes will look equivalent no matter how we write them.
            Code style is a personal thing and if your troony lang tries to force something I don't like then I'm simply not going to use it.

          • 4 weeks ago
            Anonymous

            You know what I also love the fact that all go lang is readable because of that, I can read up a professional's Golang and it is very understandable.

          • 4 weeks ago
            Anonymous

            if err
            if nil
            if err if nil
            if err
            if nil
            if err
            if nil
            if else nil err
            err nil if lol

            >readable

          • 4 weeks ago
            Anonymous

            if err !=nil is not an issue
            try,catch is.

          • 4 weeks ago
            Anonymous

            properly written C++ program only has one try catch, in main, don't see how this is an issue but I'm not moronic so I cannot empathise with you

          • 4 weeks ago
            Anonymous

            are you try catching the entire program?

          • 4 weeks ago
            Anonymous

            average error in a program results in things being fricked beyond repair and you wanting to exit, you literally cannot name one usecase where that's different
            >b-b-but
            not an error, write your meme composable if else chains as appropriate.

          • 4 weeks ago
            Anonymous

            wrong
            the program Im currently working on in Go receives data over websockets and sometimes that data is faulty or in some unexpected format and go's error catching system makes that really easy to deal with without crashing my program
            this is more generally a very common thing in network programming
            again, you are a nocoder larper and you should not have opinions on things you know nothing about

          • 4 weeks ago
            Anonymous

            >Go's error catching system
            Go doesn't have any system, it's just moronic cnile if else
            >and sometimes that data is faulty
            drop the connection and add the ip to iptables for 2 weeks, works on my machine

          • 4 weeks ago
            Anonymous

            Off the top of my head, here is a case where you wouldn't want an error crashing your program.
            func get_number() int {
            for {
            reader := bufio.NewReader(os.Stdin)
            user_input, _ := reader.ReadString('n')

            number, err := strconv.Atoi(user_input)
            if err != nil {
            fmt.Println("Please enter a valid integer")
            } else {
            return number
            }
            }
            }

          • 4 weeks ago
            Anonymous

            >Stdin
            yeah I would, interactive programs are very low IQ, all programs I write are supposed to run for years untouched or to run and immediately exit upon success or any tiny thing I don't like in your input, fix your input, monkey

          • 4 weeks ago
            Anonymous

            I accept your concession.

          • 4 weeks ago
            Anonymous

            I accept the fact that you're a nocoder and think that the code you wrote is actually good, speaking of that, really curious to see how you would handle a ^C being sent while inside this loop

          • 4 weeks ago
            Anonymous

            thats not even close to the right syntax, you are 1000% a larper whos never written a line of code and formed your contrarian opinions from shit you read online

          • 4 weeks ago
            Anonymous

            >nooo you didn't type it correctly
            ok troony sorry my time isn't worthless enough to write out
            if err != nil {
            return err;
            }

            but 100 times to prove a point

          • 4 weeks ago
            Anonymous

            describe 1 personal project you made recently

          • 4 weeks ago
            Anonymous

            branchless fizzbuzz in Zig

  6. 4 weeks ago
    Anonymous

    Good language, I hope it will reach 1.0 in good state and btfo rust.

  7. 4 weeks ago
    Anonymous

    >Why isn't it as popular as Rust and Golang?
    It's not production ready at least for most tech companies. Not that its buggy but it isn't standardized with some experimental changes with each version. The package manager that came out in 0.11 still needs a lot more work done. It is still a nice language that has been used to make good software. Scrolling Github, you will find a lot of projects using it such as Bun unlike other meme langs that only have a single project that gives it notice. Zig won't get you a job so stick to using it for hobbies.

    • 4 weeks ago
      Anonymous

      >Not that its buggy
      It IS buggy

      • 4 weeks ago
        Anonymous

        When was the last time you tried it and with which version?

        • 4 weeks ago
          Anonymous

          Black person there are aliasing bugs IN THE STANDARD LIBRARY. They are still fixing the hidden references fiasco.

          • 4 weeks ago
            Anonymous

            c has some of those same issues

          • 4 weeks ago
            Anonymous

            c has legacy compat
            what does zig have?

          • 4 weeks ago
            Anonymous

            Sex.

          • 4 weeks ago
            Anonymous

            >what does zig have?
            c compat

  8. 4 weeks ago
    Anonymous

    >build memelang on top of LLVM
    >say you will never succumb to corporate ~~*backers*~~
    >pretend like LLVM is best thing ever
    >do a full 360 and go in opposite direction by accepting corporate donations and trying to reimplement LLVM from scratch
    will never reach v1.0

  9. 4 weeks ago
    Anonymous

    i ain't gonna sponsor your shitty language, frick off

  10. 4 weeks ago
    Anonymous

    rust won as general purpose language
    golang is cool for quick small program dealing with internet instead of nodejs abomination
    python for ecosystem

    zig is nice for embedded systems instead of dealing with C/C++ tooling I guess

    • 4 weeks ago
      Anonymous

      >pre 1.0 shitlang
      >something important
      lol, lmao

    • 4 weeks ago
      Anonymous

      Rust is not used anywhere, Zig has multiple high profile projects going on
      and yes you can link me all the "microsoft invests $1 million into rust" articles you want but that's not a project, they're not using rust and will never will

      • 4 weeks ago
        Anonymous

        >Rust is not used anywhere, Zig has multiple high profile projects going on
        Kek
        Rust is used by all of cloudflare. Zig has a meme nodeJS replacement that nobody uses in production.

      • 4 weeks ago
        Anonymous

        >Rust is not used anywhere, Zig has multiple high profile projects going on
        look I hate rust but this is just the opposite of true
        Im looking for a job in finance and theres a ton of prop trading firms, hedge funds, banks, etc looking for rust developers

        • 4 weeks ago
          Anonymous

          Really? I thought they wanted C++ and Python devs exclusively

          • 4 weeks ago
            Anonymous

            well, okay "a ton" was an exaggeration but many of the faster moving and newer prop trading firms are moving from c++ to rust because its easier to write low latency trade execution algos without having to worry about memory
            bugs thatll lose you millions of dollars
            however, highly optimised c++ produces more efficient assembly and is faster than rust when done right so the ultra super low latency hft firms will probably continue using c++
            but writing perfectly optimised c++ requires a level of expertise thats very rare, so its easier to train/find people to write slightly suboptimal rust vs find one of like a 100 people in the world who can write your perfect c++

          • 4 weeks ago
            Anonymous

            Is writing good C++ that hard? Why? How do you become a proper C++ master?

          • 4 weeks ago
            Anonymous

            >ultra super low latency
            thats hard yes, were talking about nanoseconds here. honestly probably easier to just write assembly at that point

          • 4 weeks ago
            Anonymous

            theres a difference between "good" c++ and *perfect* c++, combine that with HFT being a very small and very secretive niche and there are only a handful of people who can do it
            Im not one of those few so I cant tell you precisely what goes into it, but from what Ive read theres a lot of nuances you need to know about the assembly your code will produce, cache locality, etc
            see: https://archive.is/tsUFH

          • 4 weeks ago
            Anonymous

            theres a difference between "good" c++ and *perfect* c++, combine that with HFT being a very small and very secretive niche and there are only a handful of people who can do it
            Im not one of those few so I cant tell you precisely what goes into it, but from what Ive read theres a lot of nuances you need to know about the assembly your code will produce, cache locality, etc
            see: https://archive.is/tsUFH

            this is another good article that corroberates what I said here

            well, okay "a ton" was an exaggeration but many of the faster moving and newer prop trading firms are moving from c++ to rust because its easier to write low latency trade execution algos without having to worry about memory
            bugs thatll lose you millions of dollars
            however, highly optimised c++ produces more efficient assembly and is faster than rust when done right so the ultra super low latency hft firms will probably continue using c++
            but writing perfectly optimised c++ requires a level of expertise thats very rare, so its easier to train/find people to write slightly suboptimal rust vs find one of like a 100 people in the world who can write your perfect c++

            about why Rust is used:
            https://archive.is/9M4p1

            >But that insane complexity penalty compared to C++ while writing unsafe code is what makes Rust so great. Because of it, Rust is a tool you can leave alone with a junior engineer and trust that the outcome will be less wild than the same situation with a language like C++. Rust makes you emotionally pay for writing dangerous code, while C++ rewards you.

          • 4 weeks ago
            Anonymous

            >Is writing good C++ that hard?
            Yes
            >Why?
            Not only you need to know about all the low-level shit you would in C (writing cache friendly code, analyzing/writing ASM snippets when needed, understanding microarchitecture, etc.), plus learn about the thousand footguns that can affect both correctness and performance, plus become good at template metaprogramming, which is basically a weirdo functional language without the niceties of a real functional language, and all the weird but invaluable tricks you can do with them, probably learn a shitton of boost libraries, etc.
            Look at the Intel HPC handbook if you want an idea of what you're dealing with.
            >How do you become a proper C++ master?
            Years of experience, engaging with the language, reading the proposals, etc. C++ is probably the hardest language there is when it comes to burden of knowledge.

          • 4 weeks ago
            Anonymous

            >knowing how computers work is C thing
            midwit, same optimizations you can do in C can be done in Python, understanding icache pressure does not require tinkertroonying with a memelang that has no features

          • 4 weeks ago
            Anonymous

            Python is just C with syntactical sugar and a shitty interpreter instead of a compiler. Almost every Python library that does any real work is made in C.

          • 4 weeks ago
            Anonymous

            except for ones written in fortran because cniles can't write efficient code

          • 4 weeks ago
            Anonymous

            excelt for all ML libs written in C++ because cniles cannot create anything useful

          • 4 weeks ago
            Anonymous

            lmao
            Explain to me, in your own words, how to use Intel intrinsics from Python

          • 4 weeks ago
            Anonymous

            Using Intel intrinsics in Python involves leveraging libraries optimized to utilize Intel processor features. Popular libraries like NumPy and SciPy, when optimized with Intel's Math Kernel Library (MKL), can take advantage of these intrinsics for improved performance.
            Here's an example using NumPy:

            python

            import numpy as np

            array = np.random.rand(1000000)
            total = np.sum(array)

            print(total)

            This code generates a large array of random numbers and sums them up. The Intel-optimized version of NumPy can utilize Intel intrinsics to perform this calculation faster. Hope that helps!

          • 4 weeks ago
            Anonymous

            >how do you use proc intrinsics in Python instead of C
            >you call a C library
            sasuga moron

          • 4 weeks ago
            Anonymous

            >How do you become a proper C++ master?
            no one is, not even the people making the standards or implementing the compilers

          • 4 weeks ago
            Anonymous

            >not even people who understand C++ the least
            good bait anon

          • 4 weeks ago
            Anonymous

            >writing perfectly optimised c++
            It's a fool's game unless you have a very specific target device (such as an ASIC made by the corp you're working for).
            Most of the time, you do pretty well by using good algorithms and avoiding both excess copies and (to a somewhat lesser extent) excess dereferencing.
            Copies are never zero cost. Deep dereferencing can't be quite as heavily optimized by hardware.

          • 4 weeks ago
            Anonymous

            >unless you have a very specific target device (such as an ASIC made by the corp you're working for).
            thats exactly what the biggest HFT firms are using, ASICs and FPGAs

      • 4 weeks ago
        Anonymous

        https://desuarchive.org/g/search/text/Rust%20is%20not%20used%20anywhere%2C%20Zig%20has%20multiple%20high%20profile%20projects%20going%20on/

  11. 4 weeks ago
    Anonymous

    >Nig

  12. 4 weeks ago
    Anonymous

    AYBABTU

  13. 4 weeks ago
    Anonymous

    >What is IQfy's opinion on Zig?
    I like it
    >Why isn't it as popular as Rust and Golang?
    largely because it's not yet production-ready mostly because there is no globohomos behind them to inject money.
    >Have you ever used it for a project of yours?
    yes, nothing special but I've written some inventory software with it and I had no issue using sqlite and the included http server.
    I'm no webdev but I like the fact that bun is gaining traction as it's the biggest and most hyped zig project to date.
    >In my junior eyes it seems like a good language to learn
    it is but don't neglect C and C++. a good swe can learn basically any language after a few years but I would suggest learning the most important ones first (especially the ones related to your field)

  14. 4 weeks ago
    Anonymous
  15. 4 weeks ago
    Anonymous

    >he's taking the /zig-heil/-pill
    Welcome aboard, my zigger
    Enjoy your stay

    • 4 weeks ago
      Anonymous

      tbh this is the only reason i would care about learning this language. just so i can call myself a real zigga

  16. 4 weeks ago
    Anonymous

    >`>100521829
    NTA but I like to think of it as "server side C with guard rails" and honestly far better standardization of some things.
    > What about garbage collection
    Optional and you don't really want to manually handle memory on a server in my opinion.
    >what about huge file sizes
    Happens because it is statically compiled plus as we've seen with rust no one cares.

  17. 4 weeks ago
    Anonymous

    dropped ziglings after error unions

  18. 4 weeks ago
    Anonymous

    Odin is Zig without all the Andrew Kelley shenanigans. Odin is way better.

    • 4 weeks ago
      Anonymous

      What do you mean by Andrew Kelley shenanigans?
      I'm currently trying to learn a bit from everything just to have some kind of reference (which imo is better than participating in special Olympics throwing shit at "C++-gays" or "Rust trannies"), so I tried Odin recently and really enjoyed it. Zig seems cool, but I haven't touched it yet.

      • 4 weeks ago
        Anonymous

        He's very stubborn in some unreasonable ways, like the "unused variables always are error", and worrying about ditching LLVM instead of fricking stabilizing the language first. Well it's his language but I think it always remain a niche.

        • 4 weeks ago
          Anonymous

          https://mastodon.social/@andrewrk/112362751644363647
          >good riddance to everybody who doesn't use zig because they want unused variables in their code.

          >I hate reading your code, and I've constructed a life for myself where I don't have to anymore.

          >every time you complain, I celebrate my life achievement.

          • 4 weeks ago
            Anonymous

            he sounds like he has a small dick

          • 4 weeks ago
            Anonymous

            he sounds like he has a small dick

            my laptop with 8GB RAM cannot bootstrap this pile of shit because his C++ code has more leaks than his mothers vegana every time a black man walks by.

          • 4 weeks ago
            Anonymous

            What the actual frick is wrong with him. He's so autistic about this very specific corner case.

          • 4 weeks ago
            Anonymous

            It's a more general thing. It's to filter out a certain category of programmers who never read compiler warnings and can't be arsed to think before they write code. Usually they mash instructions until it works with the excuse that "we'll refactor it later". And when later comes, they say "it works, why rewrite it?"

          • 4 weeks ago
            Anonymous

            >we cannot just filter them out on human level by bullying and beating, we must make compiler broken to anyone trying to use it as intended

          • 4 weeks ago
            Anonymous

            >Aliasing problem? Nah, it's actually a feature
            >Unused code though? ONE OF THE WORST PROGRAMMING CRIMES EVER
            I'm getting mixed signals here. His priority is fricked up. If Zig failed to make its users care about compiler warnings or following Zig's idiomatic way, then it's Andrew moron Kelly's fault.

          • 4 weeks ago
            Anonymous

            his priority has always been fricked up. watch any previous stuff with roadmaps and you can tell he never intends to actually hit 1.0 and just ride the gravy train of free money instead. he's horrible about accepting prs that just break shit on github clearly not thinking things through at all. the pr that added the aliasing bugs had shocking little review if it's what i remember, or any changes to "fix" it. he didn't even add the optimization himself

            ?t=2200

          • 4 weeks ago
            Anonymous

            yeah he'd rather create some meme package manager or something

          • 4 weeks ago
            Anonymous

            it's some sort of mental illness language designers have
            they think they're gods that know better than everyone else
            worse part is that it's encouraged by others, they called it "abiding by conventions"
            >YOU VILL USE SNAKE CASE
            >YOU VILL NOT HAVE UNUSED VARIABLES
            >YOU VILL NOT HAVE UNREACHABLE CODE
            >YOU VILL WRITE YOUR PROGRAMS HOW I WANT YOU TO

        • 4 weeks ago
          Anonymous

          >and worrying about ditching LLVM instead of fricking stabilizing the language first
          issue about ditching LLVM is literally meant for 1.0 you monkey

          • 4 weeks ago
            Anonymous

            ditching LLVM means 1.0 will never happen

        • 4 weeks ago
          Anonymous

          >like the "unused variables always are error"
          not really much of an issue, if you don't have a shit editor the "_ = " in inserted automatically in your code.
          >instead of fricking stabilizing the language first
          the language is stable you fricking moron, save for async maybe, the author is clear about his approach of adding compiler builtin functions to handle new features/suggestions, which is far superior to bloating the language syntax.

          • 4 weeks ago
            Anonymous

            >not really much of an issue, if you don't have a shit editor the "_ = " in inserted automatically in your code.
            That's 1) an tacit admission that the forced error *is* annoying, 2) not a solution, I want the compiler to remind me I left something to do, just not to unnecessarily stop me when I working on it. Instead they propose code reviews for hunt for forgotten _ = blahs, wtf. Is it so bad to add an opt-in flag, even if just for Debug compilation mode?

          • 4 weeks ago
            Anonymous

            yes opt-ins are bad, because morons like Andrew himself are too moronic to remember to use them

            Don't believe me? Go check his stage0 compiler in C++, look at that awful code, and tell me he's not a nocodeshitter with a god complex.

          • 4 weeks ago
            Anonymous

            >yes opt-ins are bad, because morons like Andrew himself are too moronic to remember to use them
            I mean an opt-in to turn the error into a warning, the reverse of the usual GCC way. An just for Debug mode, I'm fine with being always strict in release modes.

          • 4 weeks ago
            Anonymous

            >turn error into warning
            it shouldn't be an error in the first place, GCC got it right

          • 4 weeks ago
            Anonymous

            GCC Black folk were literally hired by the Antichrist to create their shit ass compiler

          • 4 weeks ago
            Anonymous

            being antichrist means loving your country and hating Black folk, homosexuals and trannies so no wonder GCC is good

          • 4 weeks ago
            Anonymous

            it forces consistency through every library you'd use instead of every code base doing whatever the frick it wants.
            i dropped Nim because almost every single library relied on macro magic it's straight up unreadable, every single one had custom DSL and random flags that wouldn't act nice with yours, hell, even the standard library had inconsistencies if you change compiler flags too.
            Zig wins through simplicity, clarity and unified code even if it gets autistic about it. Try reading C++ or Nim code without going insane.

          • 4 weeks ago
            Anonymous

            C wins through code actually being written in it and it being used in the real world, noone cares about irrelevant shit like "consistency" among millions of people who aren't NPCs

      • 4 weeks ago
        Anonymous

        hes actually a huge midwit, bordering genuine dimwit
        https://andrewkelley.me/post/the-techno-optimist-manifesto.html
        this is the guy in charge of your "highly opinionated" language btw
        shame since it has a few nice ideas and a good stdlib, but with someone this stupid its hard to have faith

        • 4 weeks ago
          Anonymous

          He literally rides on top of LLVM then larps a real programmer who can write his own compiler.

        • 4 weeks ago
          Anonymous

          yeah he is a weirdo.
          He seems to have an idea that money corrupts projects and that he should have a foundation.

          ?si=KMhKph59p5dIsUoY&t=1242
          but i can find "corrupt things" in both, its almost like the issue is bad investors that guide the company to do stupid things for investment money.
          (don't go publically shared kids.)

          He literally rides on top of LLVM then larps a real programmer who can write his own compiler.

          https://github.com/ziglang/zig/issues/16270

          He's very stubborn in some unreasonable ways, like the "unused variables always are error", and worrying about ditching LLVM instead of fricking stabilizing the language first. Well it's his language but I think it always remain a niche.

          > unused variables always are error
          I want to say i disagree with him but I also really can't say I disagree.
          its something you get used to in the end of the day

          • 4 weeks ago
            Anonymous

            >its something you get used to in the end of the day
            I will never get used to moronic homosexuals telling me what to do, if I wanted to get rid of unused variables, I'd run GCC with -Wunused-variable -Werror.

    • 4 weeks ago
      Anonymous

      and Odin has the exact aliasing issue as Zig, except the dev was more moronic about the subject which killed every interest I had in Odin.
      And let's not forget

      >https://github.com/graphitemaster/codin
      While Zig is dropping llvm for their own backend, Odin's future is a glorified C transpiler.

      • 4 weeks ago
        Anonymous

        qrd on this aliasing scenario?

        • 4 weeks ago
          Anonymous

          ?t=292
          nothing that can't be solved by adding an intermediate temp variable in reality.
          programmers need to be aware of how the compiler handles different values when it comes to passing it to functions. passing by reference and passing by value should be defined by the language.

          • 4 weeks ago
            Anonymous

            >self.isFull()
            >self.grow()
            kek what a meme lang, learned nothing from decades of idiocy

          • 4 weeks ago
            Anonymous

            beats whatever the frick this is
            https://doc.rust->lang.org/src/alloc/vec/mod.rs.html#1535

          • 4 weeks ago
            Anonymous

            >unsafe
            >unsafe
            >unsafe
            >unsafe
            lol

          • 4 weeks ago
            Anonymous

            These are equivalent. Most languages have this babyduck nonsense. Modern operating systems allow overcommiting memory. If you allow dynamic data structures that might grow without a bound, you already accept the fact that your program might get axed by your system, such as OOM killer on Linux, and that's why I stopped pretending and made use of it, it is now a feature. My Linux implementation of vector in C++ does not have capacity. I simply use mmap to mmap as much virtual memory as there is physical RAM on the system, pushing a new value is as simple as incrementing the pointer, removing is as simple as decrementing. There's no need to check if there's enough memory or if buffer is big enough, OS does it for you.
            >but what if you have to create a lot of objects then clear the vector
            madvise MADV_FREE or MADV_DONTNEED depending on usecase, I use MADV_FREE because it's faster and Linux will reclaim this memory when it needs to and if I need it again shortly then Linux won't have to do anything and overall it's more efficient and makes more sense. Computing on desktop systems is cooperative effort by behaving like a white man, and I won't fight it, I will behave like a white man.
            >but what if your program uses only 2MB out of total 64GB you allocated
            not my problem, both have same overhead, allocating 64GB upfront is therefore superior, virtual memory is practically infinite.
            >what about not linux
            my code defaults to std::vector, I don't mind if my code is bad for systems I couldn't care less about.

          • 4 weeks ago
            Anonymous

            ah, so that anon was sperging about next to nothing.

          • 4 weeks ago
            Anonymous

            it's a massive deal. saying it's "next to nothing" shows how much of a nocoding larper you are. people who champion zig don't tend to not use zig or program in general which i'm guessing is your case

          • 4 weeks ago
            Anonymous

            if it's such a massive problem then explain why it is. right now in text. demonstrate you understand it.

          • 4 weeks ago
            Anonymous

            values act like pointers sometimes and now you have dangling pointers bugs and other memory safety issues when you shouldnt have any because semantically you are dealing with values

            zig is such a meme

          • 4 weeks ago
            Anonymous

            >values act like pointers sometimes and now you have dangling pointers bugs and other memory safety issues
            so you are a moron who doesn't even understand what that optimisation does.

          • 4 weeks ago
            Anonymous

            nice ad hom with no rebuttal silly

      • 4 weeks ago
        Anonymous

        targeting C is good, it lets you write C code with better syntax

      • 4 weeks ago
        Anonymous

        >and Odin has the exact aliasing issue as Zig
        damn it's true
        https://github.com/odin-lang/Odin/issues/2971
        another cross on my memelang-to-try list

        • 4 weeks ago
          Anonymous

          >"it's not a problem"
          >*closes issue*
          lmao

  19. 4 weeks ago
    Anonymous

    >Why isn't it as popular as Rust and Golang?
    Gee, I don't know, the fact that it's literally 0.11 and probably wont have a stable release for another 5 years might have something to do with it. Oh, and don't forget both the languages you mentioned have huge financial backings behind them.

    Any other stupid questions?

  20. 4 weeks ago
    Anonymous

    If Zig was named Goop no one would use it

  21. 4 weeks ago
    Anonymous

    >Why isn't it as popular as Rust and Golang?
    because it hasnt reached 1.0 stable yet you dumb moron

  22. 4 weeks ago
    Anonymous

    Bun.js is written in Zig and is pretty good if you get past the fact that it promised to be faster than rust (it's slightly slower) but then uses 40 times fricking more memory... and uWebSockets on node.js is faster anyways since it just calls to a C++ application lmao

  23. 4 weeks ago
    Anonymous

    Death to all ziggers. Nim is just superior.

  24. 4 weeks ago
    Anonymous

    >Why isn't it as popular as Rust and Golang?
    Corpos like things that they can control. Even if there's no real advantage to controlling it, control helps psychopaths sleep better at night.

    • 4 weeks ago
      Anonymous

      corpos like things that work

      lmao aliasing bugs and not 1.0

  25. 4 weeks ago
    Anonymous

    i have no reason to use it because go is good enough for me

  26. 4 weeks ago
    Anonymous

    idk but seems like another gimmick, sticking to C / C++ master race.

  27. 4 weeks ago
    Anonymous

    >No hidden control flows
    >automatic referencing
    >async

    >doctool
    >unfinished
    >standard library
    >unfinished
    >package manager
    >unfinished
    >async
    >removed, unfinished
    >custom backend
    >unfinished
    Language is never hitting 1.0, I'm just hoping for Jai to come out soon

    • 4 weeks ago
      Anonymous

      you forgot defer, it pretends to be out in the open but it hides when exactly the defer will run, in some cases you would rather it ran earlier, if you actually program and understand that not every problem is the same

  28. 4 weeks ago
    Anonymous

    Zig is great, but it lacks the community support that Rust has.
    If you want to be a good programmer, you should create prototypes using Python and convert it into Rust for use in production.
    If you want a graphical user interface on top, you should use Typescript and use either Angular or React.
    If you also want it to be available on mobile platforms, you should use Ionic and Capacitor.

  29. 4 weeks ago
    Anonymous

    needs zig++ with operator and function overloading. unironically.

    • 4 weeks ago
      Anonymous

      usecase?

      • 4 weeks ago
        Anonymous

        Try developing some actual software and you wouldn't have to ask these inane questions.
        >hurrr do we need air to breathe? durrr

        • 4 weeks ago
          Anonymous

          yes I do, in C++, so I find no usecase for zig++

          • 4 weeks ago
            Anonymous

            Again, if you truly did you wouldn't be wasting everyone's time here.
            Maybe try the stupid questions thread to develop your knowledge on this topic?

          • 4 weeks ago
            Anonymous

            >wasting time
            zig is a meme shitlang and a waste of time, if you didn't come here for that it's your own problem

          • 4 weeks ago
            Anonymous

            We already knew you were shitposting, anon. No need to declare it.

          • 4 weeks ago
            Anonymous

            one day you will stop being a nocodeshitter and realize that C++ has everything you ever needed.

          • 4 weeks ago
            Anonymous

            One day you will wake up, look around, and see that anyone who made something worthwhile did so by working together with others.
            And those "other people" (I know, a very difficult term for you) won't be as smart as you. They need guidelines, rails. An environment that forces them to work as they should.

          • 4 weeks ago
            Anonymous

            all good software I actually use has garbage code style according to me so you can keep coping because zig will never be one of them

          • 4 weeks ago
            Anonymous

            Imagine being so butthurt, you start responding to yourself instead of the person who is talking to you.

    • 4 weeks ago
      Anonymous

      Try developing some actual software and you wouldn't have to ask these inane questions.
      >hurrr do we need air to breathe? durrr

      Just use generics and variadic functions

  30. 4 weeks ago
    Anonymous

    It's the only language that actually felt like it made a difference the time I spent writing software in terms of memory efficiency.

    I am a proud Zigger.

    • 4 weeks ago
      Anonymous

      >esl babble that doesn't make sense
      completely unsurprised by the c avatargay

    • 4 weeks ago
      Anonymous

      Replace C with Rust and that image would be pretty accurate.

  31. 4 weeks ago
    Anonymous

    Ah, Zig - the dark horse of programming languages! While it may not be as popular as Rust and Golang (yet), Zig has a growing fanbase on IQfy and elsewhere in the dev community.

    Zig is a relatively new language that aims to be a simple, fast, and practical replacement for C. It has some neat features, like compile-time code execution and built-in support for cross-compilation, that make it a great choice for certain types of projects.

    As for why it's not as popular as Rust and Golang, there are a few reasons:

    1. It's still relatively new and unknown.

    2. It doesn't have the same level of corporate backing as Rust (Mozilla) or Golang (Google).

    3. It's a bit more low-level than Rust or Golang, which can make it harder to use for certain types of applications.

    4. Zig is still in pre-1.0 development, so it's evolving and changing, which can make it riskier to use in production environments.

    That said, if you're interested in systems programming or embedded development, Zig is definitely worth checking out. And don't worry about being a junior - everyone starts somewhere, and learning new languages is a great way to expand your skillset!

    • 4 weeks ago
      Anonymous

      gpt post

      • 4 weeks ago
        Anonymous

        I'm sorry you think that way Black person! I didn't know wellspoken polite helpfulness was owned by llm spooks. Should I have called op a homosexual a few more times? Looked at the timezones to see if the post was made when jeets wake up to be more racist? have a nice day.

        • 4 weeks ago
          Anonymous

          grok post

Your email address will not be published. Required fields are marked *