Live data from Hacker News

Viewing profile — mrathi12

mrathi12

HN member
Joined
Thu, Sep 20, 2018, 7:09 PM UTC
HN karma
95
Public activity
65 items

About mrathi12

No profile information was provided.

Recent public activity

  1. comment
    Comment #28422587

    This is such a common fallacy. C exposes lower-level memory management, but to then say "oh now you have pointers you can implement anything" is a push. If you need to implement vi…

  2. comment
    Comment #28422567

    > C lets you use OO if you want it Tenuous - if you are willing to implement objects yourself then you could use C sure, but I don't think that means the language "lets you use OO"…

  3. comment
    Comment #28419085

    Agreed, I think that the code itself should be readable through better names, with the comments being a bonus rather than critical to the understanding of the code.

  4. story
  5. comment
    Comment #26366545

    DTP tackles Article 20 of GDPR

  6. story
  7. story
  8. story
  9. story
  10. comment
    Comment #25543520

    WASM is definitely one to look out for.

  11. story
  12. comment
    Comment #25542996

    While we're here, let's not forget about the incredible Kaleidoscope tutorial. They really helped me get a grip with LLVM. https://llvm.org/docs/tutorial/index.html

  13. comment
    Comment #25542959

    Hi, author of the post here. Thank you very much for your kind words!

  14. comment
    Comment #25542958

    Yes, exactly. Clang emitted IR especially has a lot of (C/C++)-specific junk. If you look past that clutter, it's not too bad. I think the best way to learn to read IR is to look a…

  15. comment
    Comment #25542934

    The command to use is `clang -S -emit-llvm -O1 foo.c` It'll write it out to a foo.ll file. (I use -O1 so it cleans up a bit of the messy parts of the IR).

  16. comment
    Comment #25542930

    > learn to write little C programs and use clang to emit the IR. Highly recommend this. I used this to get an understanding of how to implement the IR for my language.

  17. comment
    Comment #25542927

    Regarding this post in particular, I chose to document everything in terms of the C++ API as that's the native API. You can use any of the other bindings, and just translate the sy…

  18. comment
  19. comment
    Comment #25542921

    Hey, author of the post here. Do I think the C++ API is important? For most languages no. The OCaml bindings in my case were almost sufficient, but I planned to do some memory fenc…

  20. comment
    Comment #25534760

    Hey, Author here. This post is just some of the advice I picked up along the way. What advice would you give interns and junior developers starting out in the industry?

  21. story
  22. comment
    Comment #25529710

    Author here. Let me know if you have any questions about the guide to LLVM. Happy to answer questions!

  23. story
  24. story
  25. story