Live data from Hacker News

Viewing profile — dankoncs

dankoncs

HN member
Joined
Sun, Aug 22, 2021, 4:29 PM UTC
HN karma
60
Public activity
20 items

About dankoncs

No profile information was provided.

Recent public activity

  1. comment
    Comment #29221570

    I don't want to derail the parent thread, so let me ask you: what job skills are "low risk" for you? Can you give a couple of examples, please? Thank you! :)

  2. comment
    Comment #29221420

    Out of curiosity, why? Perspective projection is based off of an old insight from hundreds of years ago: https://en.wikipedia.org/wiki/Pinhole_camera Projective geometry and the pe…

  3. comment
    Comment #29220081

    Concise and good explanation. :) So the syscalls of a Linux/Unix machine are the same, b/c of the POSIX API. The POSIX API is a standard for *nix OSes. Now, we have compilers such …

  4. comment
    Comment #29218591

    Okay, let me give another try for this: So then we have 2 APIs. That is, we have the C standard library (as an API) and the POSIX API. The POSIX API defines the syscalls such as wr…

  5. story
    Ask HN: How would you explain an ABI?

    This would be my (possibly wrong) explanation: So in Linux we have syscalls such as write, read, close, socket, ... These syscalls are defined according to the POSIX standard. POSI…

  6. comment
  7. comment
    Comment #29205311

    Yep. Use some of the -W* flags (-Wall -Wpedantic -Wconversion, ...) and specify the standard -std=c90. Avoid undefined behaviors: - https://en.cppreference.com/w/c/language/behavio…

  8. comment
    Comment #29157828

    Cing through this, I can tell you that you can C C++: https://godbolt.org/z/sWETvsoKd (a demo for polymorphism in C90) Not only can you do OOP in C, you can also do FP, implement y…

  9. comment
  10. story
  11. comment
  12. comment
  13. comment
    Comment #28420511

    Archive link: https://web.archive.org/web/20210115100109/https://www.state...

  14. story
  15. comment
  16. comment
    Comment #28407568

    Thank you. 42. I edited my comment above.

  17. comment
    Comment #28406874

    int const* const x; // C int const& x; // C++ A reference is functionally equivalent to a const pointer. (Reference reassignment is disallowed. Likewise, you cannot reassign a cons…

  18. comment
  19. comment
  20. comment
    Comment #28402612

    Archive link: https://web.archive.org/web/20210902102730/https://noteflake...