Live data from Hacker News

Viewing profile — borodi

borodi

HN member
Joined
Thu, Mar 25, 2021, 12:17 PM UTC
HN karma
161
Public activity
60 items

About borodi

No profile information was provided.

Recent public activity

  1. comment
    Comment #47122783

    Fun fact, Julia's parser and part of its compiler are implemented in femtolisp, and you can access it using a not so secret option in the Julia CLI.

  2. comment
    Comment #41024521

    I havent tried Tsan with rr but msan and asan work quite well with it (it’s quite slow when doing this) but seeing the sanitizer trigger then following back what caused it to trigg…

  3. comment
    Comment #41024391

    Chaos mode is an option when invoking rr that can expose some concurrency issues. Basically it switches which thread is executing a bunch to try and simulate multiple cores executi…

  4. comment
    Comment #40394882

    There is, it's called count_ones. Though I wouldn't be surprised if LLVM could maybe optimize some of these loops into a popcnt, but I'm sure it would be brittle

  5. comment
    Comment #39014527

    So it was a bit more pervasive than this, the issue was that flushing subnormals (values very close to 0) to 0 is a register that gets set, so if a library is built with the fastma…

  6. comment
    Comment #38785153

    btw, there has been a pretty nice effort of reimplementing the tidyverse in julia with https://github.com/TidierOrg/Tidier.jl and it seems to be quite nice to work with, if you wer…

  7. comment
    Comment #38333090

    LLVMs API is the c++ one. The C one while more stable also doesn't support everything. Keeping up with LLVM is annoying but it's not the source of bugs or anything of the sort. PS(…

  8. comment
    Comment #37849861

    Julia follows semver, so code written in 1.0 should work on the latest release (packages notwithstanding)

  9. comment
    Comment #37426040

    It tries to show you the type information on the source itself, instead of on the IR.

  10. comment
    Comment #37057712

    I do believe this is an issue of not having explicit dependencies. Julia takes the approach of, we build and ship everything for every OS, which means Pkg (the package manager) kno…

  11. comment
    Comment #36849710

    Julia does have really nice GPU support, being able to directly compile julia code into CUDA, ROCm, Metal or other accelerators. (Being GPU code it's limited to a subset of the mai…

  12. comment
    Comment #36179523

    You can try and build your own toy language for fun, or try to compile lox to some assembly/llvm ir. Another option is to try and contribute to an existing language (Julia ;) ).

  13. comment
    Comment #35886779

    We used the chromium snapshot file format ( https://learn.microsoft.com/en-us/microsoft-edge/devtools-gu... ). If firefox uses the same format then it should work, but I haven't te…

  14. comment
    Comment #35790962

    I'm sure there are reasons for it, but Chris Lattner has been jumping around a bit. Remember swift4TF. But hopefully this one is seen through with lots of open source too.

  15. comment
    Comment #34567349

    One interesting thing is that if julia can prove what types a function will be called with at compile time, it doesn't have to do dynamic dispatch, so it has no overhead. It's what…

  16. comment
    Comment #33906563

    That's one of the cool things about Julia. If it can prove the types of the arguments to a function, or at least reduce them to a small set. It can do the dispatch at compile time.…

  17. comment
    Comment #33742921

    Veritasium has a recent video that goes into the algorithm a little bit. So does 3blue1brown. But basically anything that processes signals digitally will probably use the FFT some…

  18. comment
    Comment #33575461

    Julia has many of the features one expects of a lisp. But it has a more "normal" syntax

  19. comment
    Comment #33384760

    SemVer is very important for me. If the language has binary dependencies the package manager should also handle them. Depending on the system for them leads to hard to debug issues…

  20. comment
    Comment #33295672

    Pop has pipewire since 22.04 IIRC.

  21. comment
    Comment #32971016

    LDP(load 2 registers) was switched in place of LDM, it seems that instructions that could touch so many registers at once made out of order/superscalar harder. source: https://comm…

  22. comment
    Comment #32814858

    The group working on it, (Valentin, Tim Holy etc) agree with you, which is why we are tending to call it TTFX(time to first X) instead of TTFP, so it includes everything, not just …

  23. comment
    Comment #32751669

    --lisp mode just lands you in the REPL of femtolisp, which is used for the parser and lowererer. It's kind of an easter egg for sure.

  24. comment
    Comment #32512595

    The syntax sugar you are looking for "mutating" the immutable stricts is basically what Accessors.jl does. I don't really see a reason to bring it into Base Julia if it doesn't nee…

  25. comment
    Comment #32509129

    Yes and no. There are ways around that for development like https://github.com/BeastyBlacksmith/ProtoStructs.jl . But changing the definition of actual structs isn't very feasable …