Justo por eso los de @choquejuergas.bsky.social han hecho un foro para hablar tranquilicos de sus cosicas: foro.choquejuergas.com
Justo por eso los de @choquejuergas.bsky.social han hecho un foro para hablar tranquilicos de sus cosicas: foro.choquejuergas.com
odin-lang.org/docs/overvie...
odin-lang.org/docs/overvie...
Something I've found very neat for both Zig and Odin: they provide a Struct of Arrays interface out of the box to improve data locality.
Zig does it using comptime and its reflection capabilities to implement it in its std:
zig.news/kristoff/str...
Something I've found very neat for both Zig and Odin: they provide a Struct of Arrays interface out of the box to improve data locality.
Zig does it using comptime and its reflection capabilities to implement it in its std:
zig.news/kristoff/str...
I see now that the original statement might lead to confusion😅
I see now that the original statement might lead to confusion😅
Sorry for the spam, but I've been following them for a while, so I've collected quite a few things at this point ^_^
Sorry for the spam, but I've been following them for a while, so I've collected quite a few things at this point ^_^
youtu.be/oaeQRKWr0v4 is a very nice listen where they both give their ideas
youtu.be/oaeQRKWr0v4 is a very nice listen where they both give their ideas
Having a good BDFL you agree with leading the language instead of a company also adds up :)
Having a good BDFL you agree with leading the language instead of a company also adds up :)
I agree that for most people, such low-level languages are overkill and not so convenient
I agree that for most people, such low-level languages are overkill and not so convenient
You can use arenas instead of raw mallocs everywhere. You may even have reflection with macro juggling. Even generics in C11, but they're very ugly
You can use arenas instead of raw mallocs everywhere. You may even have reflection with macro juggling. Even generics in C11, but they're very ugly
In summary, Zig provides out of the box lots of things that only an experienced C developer can end up achieving with a strong and opinionated mindset
In summary, Zig provides out of the box lots of things that only an experienced C developer can end up achieving with a strong and opinionated mindset
Metaprogramming and reflection using exactly the same language is a big plus, as opposed to C++ which is an incredible mess
Metaprogramming and reflection using exactly the same language is a big plus, as opposed to C++ which is an incredible mess
The explicit error management is an improvement over exceptions, a la Rust and the rest of modern systems languages.
The explicit error management is an improvement over exceptions, a la Rust and the rest of modern systems languages.
The allocator-awareness of the std is very nice for systems programming and makes memory explicit.
The allocator-awareness of the std is very nice for systems programming and makes memory explicit.