코딩Coding/Zig_❤️lang
-
01.04.2022 - Zig / Strings in 5 minutes코딩Coding/Zig_❤️lang 2022. 7. 12. 22:32
https://www.huy.rocks/everyday/01-04-2022-zig-strings-in-5-minutes 01.04.2022 - Zig/Strings in 5 minutes Just like C/C++, you can define a string in Zig with an array of bytes or as a null-terminated string literal. ```javascript var s = "hello"; // *const [5:0]... www.huy.rocks
-
zig tutorial ❤️| Tsoding Daily진정한 프로그래머 유튜브코딩Coding/Zig_❤️lang 2022. 6. 30. 17:31
https://youtu.be/eIX9zER9vjY 9분12초 helloworld 다르게 출력 역시 고수라 첨 보는 언어도 바꿔서 하네 ㅋㅋ const std = @import("std"); pub fn main() !void { const stdout = std.io.getStdOut().write(); try stdout.print("Hello, {s}!\n", .{"world"}); } tutorial에 나오는 코드 https://github.com/ratfactor/ziglings/blob/main/exercises/001_hello.zig GitHub - ratfactor/ziglings: Learn the Zig programming language by fixing tiny broken pr..
-
zig --help❤️ zig명령어로 할 수 있는것들코딩Coding/Zig_❤️lang 2022. 6. 30. 08:44
zig --help Usage: zig [command] [options] Commands: build Build project from build.zig init-exe Initialize a `zig build` application in the cwd init-lib Initialize a `zig build` library in the cwd ast-check Look for simple compile errors in any set of files build-exe Create executable from source or object files build-lib Create library from source or object files build-obj Create object from so..
-
zig언어 -> C언어를 zig파일 변환이 가능하다 ㅎㅎㅎ 대박이네 ㅋ 근데 macOS는 버그가 있는듯 ㅠㅠ 불완전하게 변환된다.코딩Coding/Zig_❤️lang 2022. 6. 30. 08:43
zig translate-c sizeofval.c >> size.zigsize.zig 라는 파일이 생성이 되었다. ㅎㅎ zig run size.zig ./size.zig:309:44: error: TODO: support C ABI for more targets. https://github.com/ziglang/zig/issues/1481 _ = printf("char size of val : %lu\n", @sizeOf(u8)); ^ ./size.zig:309:44: note: pointers, integers, floats, bools, and enums work on all targets _ = printf("char size of val : %lu\n", @sizeOf(u8)); 내가 공부하려고 ..
-
Zig Language 공식문서코딩Coding/Zig_❤️lang 2022. 6. 23. 16:09
https://ziglang.org/documentation/master/std/ Documentation - Zig Loading... This declaration is not tested or referenced, and it has therefore not been included in semantic analysis, which means the only documentation available is whatever is in the doc comments. ziglang.org ❤️ Zig FAQ https://github.com/ziglang/zig/wiki/FAQ GitHub - ziglang/zig: General-purpose programming language and toolcha..
-
Zig 배우기 ziglearn.org코딩Coding/Zig_❤️lang 2022. 6. 23. 16:00
https://ziglearn.org/ Chapter 0 - Getting Started Ziglearn - A Guide / Tutorial for the Zig programming language. Install and get started with ziglang here. ziglearn.org https://github.com/jonathangjertsen/zig-examples GitHub - jonathangjertsen/zig-examples: Programs, tests, build scripts that I write to teach myself Zig (https://ziglang.org), i Programs, tests, build scripts that I write to tea..
-
[Zig ❤️ tutorial]Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.코딩Coding/Zig_❤️lang 2022. 6. 15. 19:35
공식 홈페이지 https://ziglang.org/ Home ⚡ Zig Programming Language Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software. ⚡ A Simple Language Focus on debugging your application rather than debugging your programming language knowledge. No hidden control flow.N ziglang.org https://ziglang.org/learn/ Learn ⚡ Zig Programming Language ziglang.or..