Live data from Hacker News

Viewing profile — kubkon

kubkon

HN member
Joined
Sat, Jun 05, 2021, 1:17 PM UTC
HN karma
29
Public activity
10 items

About kubkon

No profile information was provided.

Recent public activity

  1. comment
    Comment #41023550

    FYI, Zig is in the process of dropping dependence on lld on Linux and Windows; macOS uses Zig's own linker since roughly 2021 as far as I recall. Tracking issue for reference: http…

  2. comment
    Comment #36999729

    Hi, kubkon here, the author of Zig's MachO linker. I just wanted to explain our reasoning here a little bit. As you have hopefully noticed in the release notes, there are 5 core te…

  3. comment
    Comment #30720797

    Great question. With the presented approach in Zig, since you work on the binary directly, after you finish your hot-code reloading session, you can still run the generated binary …

  4. comment
    Comment #30720700

    Exactly, and the way I see it, this is the only valid use case for hot-code reloading in the first place: app in-development. I'll try augmenting my linker to be able to bake in th…

  5. comment
    Comment #30719630

    Nice! V does it the same way as Nim though, right? From quickly browsing over the sources, it looks like it is based on dynamic library hot swapping https://github.com/vlang/v/tree…

  6. comment
    Comment #30717057

    Wait, but what about debuggers then? Plus hot-code reloading should only ever be used for quick development cycles when prototyping your app in debug mode, so very much what a debu…

  7. comment
    Comment #30717040

    Yep, you are absolutely right, and hence why this is a proof-of-concept after all and a start really. With the proper tweaks to the linker though I am sure it would be possible orc…

  8. comment
    Comment #30717014

    Hey, author of the article here. Thanks for the suggestion! I actually didn't know about the MAP_JIT flag to mmap before and will defo consider it. As to elevating your privs - thi…

  9. comment
    Comment #27879830

    One tiny correction that we do support seamless C/C++ cross-compilation to macOS now with the advent of our own in-house linker `zig ld`. :-)

  10. comment
    Comment #27404878

    Hey smeenai! I am the author of the MachO linker in Zig. First of, I am closely following your work in LLVM and I am really delighted that someone of your aptitude took over the ba…