Viewing profile — alexnask
alexnask
HN member- Joined
- Mon, Sep 28, 2020, 1:00 PM UTC
- HN karma
- 41
- Public activity
- 10 items
- HN profile
- View on Hacker News ↗
About alexnask
No profile information was provided.
Recent public activity
-
comment
Comment #24620252
Note that this is still very much a WIP :) I guess I should also mention my inspiration, the C++ dyno library ( https://github.com/ldionne/dyno ) I don't really see how this is rel…
-
comment
Comment #24619290
fwiw, the defers apply to scopes in Zig (similar to D's scope(exit) and scope(failure)) and thus are always static, not dynamic like Go's.
-
comment
Comment #24619220
Not quite, the linkers (at least ELF and PE which I am familiar with) will "free" parts of the file (when a block needs to be reallocated because the decl code gets too big, or whe…
-
comment
Comment #24619095
No, some parts of the binary file will be unused in the final executable if you keep updating it incrementally. The linkers will do what they can to reuse all previously freed bloc…
-
comment
Comment #24619080
This is just not true, the master build is literally the first thing you see on the download page. Don't get me wrong, it should be clarified on the ziglearn website anyway.
-
comment
Comment #24616738
> Rust's generics are complex and incur significant compilation overhead but they're also incredibly powerful. Zig doesn't have generics in the strictest sense of the word. What it…
-
comment
Comment #24616664
While I am not terribly familiar with the LLVM codebase, this kind of improvement would probably require massive internal changes. One example of this is the fact that codegen need…
-
comment
Comment #24616556
Hi, I don't necessarily disagree with you, however master builds are available for download for tier 1 targets on zig's website. The ziglearn website explicitly points to the websi…
-
comment
Comment #24616304
Supporting some kind of semantic server that will provide type information and information about comptime computations is one of the goals of the self hosted compiler. Currently no…
-
comment
Comment #24616198
Yes, the compiler will open the binary and only emit modified/new code and possibly change some values in a global offset table. As noted in the article, the same strategy will be …