News for hackers. Stuff that matters.
Re:Zig's New Relationship with LLVM by someziguser on Monday September 28, 2020 @09:17AM (#24616295)
In Zig the source files you are importing are implicitly structs. Personally I find it better to keep it consistent, declaring it like any other struct with the use of a built-in function. I don't think there's any advantage to turning it to a typical module import statement given the underlying semantics.
Re:Zig's New Relationship with LLVM by pjmlp on Monday September 28, 2020 @09:37AM (#24616457)
So Zig won't support binary libraries?
Re:Zig's New Relationship with LLVM by ifreund on Monday September 28, 2020 @09:42AM (#24616493)
It already does, dynamic linking is orthogonal to @import() semantics.