Viewing profile — dankoncs
dankoncs
HN member- Joined
- Sun, Aug 22, 2021, 4:29 PM UTC
- HN karma
- 60
- Public activity
- 20 items
- HN profile
- View on Hacker News ↗
About dankoncs
No profile information was provided.
Recent public activity
-
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! :)
-
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…
-
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 …
-
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…
-
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…
- comment
-
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…
-
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…
- comment
- story
- comment
- comment
-
comment
Comment #28420511
Archive link: https://web.archive.org/web/20210115100109/https://www.state...
- story
- comment
-
comment
Comment #28407568
Thank you. 42. I edited my comment above.
-
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…
- comment
- comment
-
comment
Comment #28402612
Archive link: https://web.archive.org/web/20210902102730/https://noteflake...