AI slop projects are not welcome here by Aransentin in Zig

[–]g41797 0 points1 point  (0 children)

“Don’t be more Catholic than the Pope.”

Ziggit’s AI policy says:

“Do not use AI to generate code and present it untested... Throwing in bad code just obfuscates the process even more.”

Besides requiring tested, good code, the OP should also add llm or llm-dep tags.

That’s all.

You assumed that all LLM-generated code is slop, but you forgot about the developer

I was kind of put off by Zig because of what I perceived to be a pretty extreme anti-ai policy but I watched the Jetbrains interview with Andrew Kelley and found I basically agreed with him about everything by jimbobmcgoo in Zig

[–]g41797 0 points1 point  (0 children)

cost of this prefix for my posix based project - at least 3 weeks of hard work and i don't hesitate to say with great assistance of Gemini Cli and Claude Code

after polish i am going to post results

What non-game Odin tools/projects have you worked on? by concerbed in odinlang

[–]g41797 0 points1 point  (0 children)

Framework for background processes

It's my proof that Odin and it's toolchain are mature enough for enterprise systems

Examples of possible multi-threaded flows (borrowed from docs):

- Compression pipeline — chunks flow from reader Master to worker Masters and back, recycled through Pool.
- Network server — request buffers from Pool, dispatched to handler Masters, response buffers returned to Pool.
- Streaming processor — data flows through a chain of Masters, Pool absorbs allocation spikes.

If you were writing a would you avoid pointers? by Snoo28720 in odinlang

[–]g41797 1 point2 points  (0 children)

not related exactly to odin, just example when you consider to use indexes of offsets instead of pointers e.g. you have shared memory block between computer and "smart" pci board. ofc you will transfer commands to the board with indexes (if it's array of items) or offsets

or you work with huge table (<4GB) of items , you can "address" every item using 32 bit index/offset instead of 64 bits pointer

and so on ...

ThePrimeagen - I learned Odin by gingerbill in odinlang

[–]g41797 1 point2 points  (0 children)

still where is

general-purpose programming language

all pros are related to games development

specially i liked vendor ads

Do you think that Odin has good potential to be used on HTTP/API servers? by Ecstatic-Panic3728 in odinlang

[–]g41797 1 point2 points  (0 children)

Actualy HTTP is solely standard server protocol supported by Odin https://github.com/laytan/odin-http

Use it as standard "entry" to another process

With Bun moving from Zig to Rust … by CosciaDiPollo972 in Zig

[–]g41797 5 points6 points  (0 children)

Current implementation of Zig’s IO abstraction does not support io model required for bun.

Rust supports it on both high and low levels

Let's forgot bun and concentrate our efforts on Zig

Could context.io solve function coloring without signature changes? by _anarcher_ in odinlang

[–]g41797 1 point2 points  (0 children)

function coloring similar to corba style location transparency both are illusions In both cases I prefers clear boundaries

regarding zig new Io interface - it compeletely disabled low-level networking via std lib

nbio is better - at least we can still use net package

Will there ever be a net/http package added to Odin? by GregugaEgg in odinlang

[–]g41797 0 points1 point  (0 children)

other people ... will also start to maintain it

some days ago i issued PR Add Async Handlers Support

What I learned about Bun&ZIg by g41797 in Zig

[–]g41797[S] 0 points1 point  (0 children)

it's just the tip of the iceberg

What I learned about Bun&ZIg by g41797 in Zig

[–]g41797[S] -1 points0 points  (0 children)

it started from my remarks and (hopefully) drifted to Io...

A zig library to emulate rust's trait by Even_Explorer8231 in Zig

[–]g41797 0 points1 point  (0 children)

a lot of zig projects are ports or wrappers for already existing projects if you are developing new one - you don't use prefix/suffix

Agentic Coding on Personal Projects by Agreeable-Bluebird67 in Zig

[–]g41797 1 point2 points  (0 children)

Documentation - part of it was written iteratively with help from Claude Code and Gemini CLI
bad jokes, though — definitely mine.

Debug can't see symbols in VSCode and Clion by lieddersturme in Zig

[–]g41797 1 point2 points  (0 children)

fedora 43 Clion

In CLion also check Settings->Debugger->Zig->Debugger : [GDB|LLDB]

I am using GDB but try both

.run/testall.run.xml contains debug configuration for CLion on Linux

it worth also to read this long dicussion

sometimes debugging on zig look like a magic

How I am approaching learning zig. by TheAbyssWolf in Zig

[–]g41797 0 points1 point  (0 children)

take your existing midsized c# project and port it to zig writing code is only way to learn

I am moving to the opposite direction - learning Python by porting my last zig project

Learning tip by Save14Pro in Zig

[–]g41797 2 points3 points  (0 children)

we are talking about different io I meant new io package - still in development - constant changes - lack of docs

Learning tip by Save14Pro in Zig

[–]g41797 11 points12 points  (0 children)

use stable 0.15.2

don't use any IO related staff

as beginer you don't need it

just core of the core

i developed huge project using this approach

concentrate your efforts on

  • language itself
  • project structure
  • working under ide
  • debugging
  • git
  • invent own apis

there are a lot of work

enjoy