Live data from Hacker News

Viewing profile — Quis_sum

Quis_sum

HN member
Joined
Sun, Dec 22, 2024, 2:32 PM UTC
HN karma
1
Public activity
7 items

About Quis_sum

No profile information was provided.

Recent public activity

  1. comment
    Comment #45679145

    I am probably too old school: Unless properly documented (the "whats" and especially the "whys") and provided with a test harness (plus the test cases, including all fringe cases b…

  2. comment
    Comment #43450520

    Clearly the author never worked with a CM2 - I did though. The CM2 was more like a co-processor which had to be controlled by a (for that age) rather beefy SUN workstation/server. …

  3. comment
    Comment #42627687

    C definitely does not need this - in fact I would go as far and consider it harmful. I agree that a feature like this could be useful, but then there are other useful features whic…

  4. comment
    Comment #42494494

    C was designed in the 1970s with the goal of giving you minimal overhead, bar using a macro-assembler. The way C handles "strings" provides exactly that. The OP clearly stated that…

  5. comment
    Comment #42491382

    I don't have an issue with the OP's example, which is quite nifty indeed, despite the penalties incurred.

  6. comment
    Comment #42491222

    s is still a pointer to character. This is just an optimised shorthand for (assuming ASCII): char s[3]; Which is then initialised with: 0x48,0x69,0x00 There simply is no such thing…

  7. comment
    Comment #42486531

    Sorry, but there is a significant misunderstanding: There is no such thing as a string in C. What you call a string is a pointer to char (typically "int8") - nothing more nothing l…