Size: a a a

2019 June 29

A

Andrew in ru.nim.talks
А в вланге сишкокод читаемый, потому что вланг - это обрезок.
источник

.

..:: махуноф ::.. in ru.nim.talks
и использовать их без нимовских костылей
источник

.

..:: махуноф ::.. in ru.nim.talks
короче @NXShock пошли писать свой язык
источник

A

Andrew in ru.nim.talks
..:: махуноф ::..
короче @NXShock пошли писать свой язык
Я хочу гошку с дженериками и ошибками как в расте.
источник

.

..:: махуноф ::.. in ru.nim.talks
и синтаксисом как ним
источник

A

Andrew in ru.nim.talks
..:: махуноф ::..
и синтаксисом как ним
👍
источник

.

..:: махуноф ::.. in ru.nim.talks
и маленький вес бинов сверху
источник

.

..:: махуноф ::.. in ru.nim.talks
и будет агонь
источник

A

Andrew in ru.nim.talks
..:: махуноф ::..
и маленький вес бинов сверху
Ага, если выпилить гошные интерфейсы, то проги станут норм весить.
источник

SR

Sergey Ryabinin in ru.nim.talks
Andrew
Я хочу гошку с дженериками и ошибками как в расте.
А чо с ошибками?
источник

.

..:: махуноф ::.. in ru.nim.talks
Andrew
Ага, если выпилить гошные интерфейсы, то проги станут норм весить.
схуяли
источник

A

Andrew in ru.nim.talks
Sergey Ryabinin
А чо с ошибками?
Мне исключения не нравятся. В zig и rust - вот это я считаю норм обработка ошибок
источник

.

..:: махуноф ::.. in ru.nim.talks
Andrew
Мне исключения не нравятся. В zig и rust - вот это я считаю норм обработка ошибок
кстати а чё по зигу
источник

A

Andrew in ru.nim.talks
Появится dead code elimination.
источник

SR

Sergey Ryabinin in ru.nim.talks
Эм
источник

A

Andrew in ru.nim.talks
..:: махуноф ::..
кстати а чё по зигу
Издалека выглядит вкусно, не особо тыкал.
источник

.

..:: махуноф ::.. in ru.nim.talks
надоб кстати зижку потыкать
источник

A

Andrew in ru.nim.talks
..:: махуноф ::..
надоб кстати зижку потыкать
+
источник

.

..:: махуноф ::.. in ru.nim.talks
zig --help
Usage: C:\ProgramData\chocolatey\lib\zig\tools\zig-windows-x86_64-0.4.0\zig.exe [command] [options]

Commands:
 build                        build project from build.zig
 build-exe [source]           create executable from source or object files
 build-lib [source]           create library from source or object files
 build-obj [source]           create object from source or assembly
 builtin                      show the source code of that @import("builtin")
 cc                           C compiler
 fmt                          parse files and render in canonical zig format
 id                           print the base64-encoded compiler id
 init-exe                     initialize a `zig build` application in the cwd
 init-lib                     initialize a `zig build` library in the cwd
 libc [paths_file]            Display native libc paths file or validate one
 run [source] [-- [args]]     create executable and run immediately
 translate-c [source]         convert c code to zig code
 targets                      list available compilation targets
 test [source]                create and run a test build
 version                      print version number and exit
 zen                          print zen of zig and exit

Compile Options:
 --assembly [source]          add assembly file to build
 --c-source [options] [file]  compile C source code
 --cache-dir [path]           override the local cache directory
 --cache [auto|off|on]        build in cache, print output path to stdout
 --color [auto|off|on]        enable or disable colored error messages
 --disable-gen-h              do not generate a C header file (.h)
 --disable-pic                disable Position Independent Code
 --enable-pic                 enable Position Independent Code
 --disable-valgrind           omit valgrind client requests in debug builds
 --enable-valgrind            include valgrind client requests release builds
 --emit [asm|bin|llvm-ir]     emit a specific file format as compilation output
 -ftime-report                print timing diagnostics
 --libc [file]                Provide a file which specifies libc paths
 --name [name]                override output name
 --output-dir [dir]           override output directory (defaults to cwd)
 --pkg-begin [name] [path]    make pkg available to import and push current pkg
 --pkg-end                    pop current pkg
 --main-pkg-path              set the directory of the root package
 --release-fast               build with optimizations on and safety off
 --release-safe               build with optimizations on and safety on
 --release-small              build with size optimizations on and safety off
 --single-threaded            source may assume it is only used single-threaded
 -dynamic                     create a shared library (.so; .dll; .dylib)
 --strip                      exclude debug symbols
 -target [name]               <arch><sub>-<os>-<abi> see the targets command
 --verbose-tokenize           enable compiler debug output for tokenization
 --verbose-ast                enable compiler debug output for AST parsing
 --verbose-link               enable compiler debug output for linking
 --verbose-ir                 enable compiler debug output for Zig IR
 --verbose-llvm-ir            enable compiler debug output for LLVM IR
 --verbose-cimport            enable compiler debug output for C imports
 --verbose-cc                 enable compiler debug output for C compilation
 -dirafter [dir]              same as -isystem but do it last
 -isystem [dir]               add additional search path for other .h files
 -mllvm [arg]                 forward an arg to LLVM's option processing
 --override-std-dir [arg]     use an alternate Zig standard library
источник

.

..:: махуноф ::.. in ru.nim.talks


Link Options:
 --dynamic-linker [path]      set the path to ld.so
 --each-lib-rpath             add rpath for each used dynamic library
 --library [lib]              link against lib
 --forbid-library [lib]       make it an error to link against lib
 --library-path [dir]         add a directory to the library search path
 --linker-script [path]       use a custom linker script
 --object [obj]               add object file to build
 -L[dir]                      alias for --library-path
 -rdynamic                    add all symbols to the dynamic symbol table
 -rpath [path]                add directory to the runtime library search path
 --subsystem [subsystem]      (windows) /SUBSYSTEM:<subsystem> to the linker
 -framework [name]            (darwin) link against framework
 -mios-version-min [ver]      (darwin) set iOS deployment target
 -mmacosx-version-min [ver]   (darwin) set Mac OS X deployment target
 --ver-major [ver]            dynamic library semver major version
 --ver-minor [ver]            dynamic library semver minor version
 --ver-patch [ver]            dynamic library semver patch version

Test Options:
 --test-filter [text]         skip tests that do not match filter
 --test-name-prefix [text]    add prefix to all tests
 --test-cmd [arg]             specify test execution command one arg at a time
 --test-cmd-bin               appends test binary path to test cmd args
источник