Live data from Hacker News

Viewing profile — fbkr

fbkr

HN member
Joined
Thu, Feb 27, 2020, 8:26 AM UTC
HN karma
42
Public activity
21 items

About fbkr

No profile information was provided.

Recent public activity

  1. comment
    Comment #32099872

    Raspberry Pi Pico is ARM though.

  2. comment
    Comment #31583832

    > Madrigal Elektromotoren GmbH Wait, isn't this a fictitious company from breaking bad?

  3. comment
    Comment #30935666

    > Stray away from this model (e.g., relaxed atomics) Relaxed atomics are still data-race free, did you mean non-atomic accesses?

  4. comment
    Comment #30864637

    I, along with everyone in the embedded space, have been using separate function sections forever for --gc-sections and I would be very surprised if they really cause any bloat and …

  5. comment
    Comment #30858778

    > There are linker flags that allow some deduplication but those have their own drawbacks As long as you use --icf=safe I don't see any drawback, and most of the time it results in…

  6. comment
    Comment #30839745

    You cannot overload operators of integral types in C++, if you mean you can overload `int operator+(int, int)` to be saturating. You can create `saturating_int` kind of types easil…

  7. comment
    Comment #30607662

    Can you actually connect HDMI input to a thunderbolt only display? I have the LG 5K thunderbolt-only display and cannot use it with a desktop PC due to this issue.

  8. comment
    Comment #30433067

    Isn't this supposed to be a strength of framework? Their machines are pretty modular. Users should get to pick and choose AMD vs Intel, keyboard layouts, wifi chipsets without fram…

  9. comment
    Comment #30431351

    I've been using `expected`, i.e. value-or-error type, for a while in C++ and it works just fine, but the article shows it has some noticeable overhead for the `fib` workload for in…

  10. comment
    Comment #30399626

    Have you checked section 9.1 of the System V ABI doc?

  11. comment
    Comment #29572578

    There is no double indirection and allocation here, it stores the FILE* directly, not as a pointer to a FILE*.

  12. comment
    Comment #29492648

    Section 2.1.1 talks about fixed stack sizes though, so you only get to do 1 allocation, and in general it is not possible to precisely compute the necessary transitive stack size g…

  13. comment
    Comment #29389629

    I doubt that's possible with the C++98 preprocessor.

  14. comment
    Comment #29387643

    Disclaimer: I dislike iostreams and in our environment is completely banned. However, in C++98, how else would you handle when you have an arbitrary number of things to print in a …

  15. comment
    Comment #27624529

    I thought Zircon is the kernel and Fuchsia is the operating system. Though that wouldn't prevent Google from building Android on top of Fuchsia.

  16. comment
    Comment #25704584

    Could you explain how cmake stuff isn't portable or broken between different flavors of Unix? I comfortably maintain CMake builds that work on linux (with centos, ubuntu and arch),…

  17. comment
    Comment #24813023

    This fails when you want `4 + c` or `c + 4.f` etc. So you either have a gross number of overloads doing the same thing, or you just put an implicit constructor to `complex`. Also, …

  18. comment
    Comment #24808062

    > C language has some very limited implicit type conversions What? C will happily compile this: void g() { float f = 3.14; int* ip = &f; } C++ has no such _craziness_. Your strawma…

  19. comment
    Comment #24580732

    This is not correct, what you are thinking is implementation defined or maybe unspecified behavior. Please do explain the behavior of calling an uninitialized function pointer on x…

  20. comment
    Comment #24511337

    Maybe I'm missing it but I wish there was an ESP8266 board with a proper JTAG connector. I have hacked something on a protoboard for nodemcus before, but it ended up being pretty m…

  21. comment
    Comment #22642728

    It's for bare metal microcontroller development. It _can_ work for those, but you probably already have relatively better alternatives for those environments.