zig やってみる
新しいめの言語 zig をやってみる。
少しさわってみたとろ以下のような感想。
言語仕様 | GC | |
---|---|---|
zig | 小 | no |
c | 小 | no |
go | 小 | 有り |
rust | 大 | no |
d | 大 | 有り |
c++ | 特大 | no |
go
が C
の後継ポジションかと思っていたが zig
かもしれぬ。
rust
は身につかなかったので、今年は zig
やってみよう。
https://github.com/ousttrue/zig_note で実験中。
zls
GitHub - zigtools/zls: A Zig language server supporting Zig developers with features like autocomplete and goto definition
A Zig language server supporting Zig developers with features like autocomplete and goto definition - zigtools/zls
https://github.com/zigtools/zls
Notable language features that are not currently implemented include @cImport as well as most forms of compile time evaluation.