mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
cleanup readme
This commit is contained in:
parent
2c8958f454
commit
fcacc85b4e
@ -23,15 +23,15 @@ compromises backward compatibility.
|
|||||||
* Generics so that one can write efficient data structures that work for any
|
* Generics so that one can write efficient data structures that work for any
|
||||||
data type.
|
data type.
|
||||||
* Ability to run arbitrary code at compile time and generate code.
|
* Ability to run arbitrary code at compile time and generate code.
|
||||||
|
* No null pointer. Convenient syntax for dealing with a maybe type so that
|
||||||
|
null pointer is not missed.
|
||||||
* A type which represents an error and has some convenience syntax with
|
* A type which represents an error and has some convenience syntax with
|
||||||
regards to resources.
|
regards to resources.
|
||||||
* Defer statement.
|
* Defer statement.
|
||||||
* Memory zeroed by default, unless you explicitly ask for uninitialized memory.
|
|
||||||
* Eliminate the need for configure, make, cmake, etc.
|
* Eliminate the need for configure, make, cmake, etc.
|
||||||
* Eliminate the need for header files (when using zig internally).
|
* Eliminate the need for header files (when using zig internally).
|
||||||
* Tagged union enum type.
|
* Tagged union enum type.
|
||||||
* Resilient to parsing errors to make IDE integration work well.
|
* Resilient to parsing errors to make IDE integration work well.
|
||||||
* Source code is UTF-8.
|
|
||||||
* Ability to mark functions as test and automatically run them in test mode.
|
* Ability to mark functions as test and automatically run them in test mode.
|
||||||
This mode should automatically provide test coverage.
|
This mode should automatically provide test coverage.
|
||||||
* Friendly toward package maintainers.
|
* Friendly toward package maintainers.
|
||||||
@ -39,14 +39,12 @@ compromises backward compatibility.
|
|||||||
provide a tag or sha1).
|
provide a tag or sha1).
|
||||||
* Include documentation generator.
|
* Include documentation generator.
|
||||||
* Shebang line OK so language can be used for "scripting" as well.
|
* Shebang line OK so language can be used for "scripting" as well.
|
||||||
* No null pointer. Convenient syntax for dealing with a maybe type so that
|
|
||||||
null pointer is not missed.
|
|
||||||
|
|
||||||
### Current Status
|
### Current Status
|
||||||
|
|
||||||
* Have a look in the examples/ folder to see some code examples.
|
* Have a look in the examples/ folder to see some code examples.
|
||||||
* Some language features available such as loops, inline assembly, expressions,
|
* Some language features available such as loops, inline assembly, expressions,
|
||||||
literals, functions.
|
literals, functions, importing other files.
|
||||||
* Only Linux x86_64 is supported.
|
* Only Linux x86_64 is supported.
|
||||||
* Only building for the native target is supported.
|
* Only building for the native target is supported.
|
||||||
* Optimized machine code that Zig produces is indistinguishable from
|
* Optimized machine code that Zig produces is indistinguishable from
|
||||||
@ -55,7 +53,6 @@ compromises backward compatibility.
|
|||||||
header files.
|
header files.
|
||||||
* The binaries produced by Zig have complete debugging information so you can,
|
* The binaries produced by Zig have complete debugging information so you can,
|
||||||
for example, use GDB to debug your software.
|
for example, use GDB to debug your software.
|
||||||
* Inline assembly is supported.
|
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user