Live data from Hacker News

Viewing profile — higherhalf

higherhalf

HN member
Joined
Wed, Aug 01, 2018, 4:25 PM UTC
HN karma
99
Public activity
34 items

About higherhalf

github.com/rbakbashev

Recent public activity

  1. comment
    Comment #46611200

    Thanks, I really should've looked deeper than that.

  2. comment
    Comment #46610784

    clock_gettime() goes through vDSO, avoiding a context switch. It shows up on the flamegraph as well.

  3. comment
    Comment #44129928

    Thanks, I looked it up and it's indeed quite ugly, and my shebang isn't portable. A little saddened that even 'env -S' didn't make it to POSIX.

  4. comment
    Comment #44129176

    Seems a little complicated when you can do: //usr/bin/env rustc "$0" && ./config "$@"; exit Or //usr/bin/env rustc --edition 2024 "$0" && ./$(basename $0 .rs); rm $(basename $0 .rs…

  5. comment
    Comment #43752541

    > It doesn't allow you to import `std::iter::Iterator::collect` on its own. It's an associated function, and needs to be qualified. You probably noticed, but it should become a thi…

  6. comment
    Comment #43349713

    What makes this a "systems programming language", especially since it has "no pointers or references"?

  7. comment
    Comment #39343698

    It's not due to a move to AI-enhanced workflows. The article speculates that it's caused by companies wanting to develop AI-related products, moving some workforce and culling the …

  8. story
  9. comment
    Comment #38207185

    This can be done even simpler: global _start _start: jmp next string: db `Hello World!\n` len: equ $ - string next: mov ecx, string mov edx, len mov ebx, 1 mov eax, 4 int 80h mov e…

  10. comment
    Comment #38127403

    Yes. Kind of. AMD processors have Upper Address Ignore (UAI) with 7 bits of ancillary data, for Intel there is Linear Address Masking (LAM) with 6 or 15 bits [1]. The latter has ma…

  11. comment
    Comment #37017001

    They mention git worktrees in the next paragraph.

  12. comment
    Comment #36898684

    It's a joke, as some Rust projects used to repetitively claim to be "memory safe & blazing fast", thus becoming a tongue-in-cheek phrase. I also anticipated language to be Rust, bu…

  13. comment
    Comment #36532266

    > But rust absolutely does not have any C/C++ compatibilty besides [..] > In zig you _can_ actually start with a c codebase and rewrite it file by file in zig and you _can_ include…

  14. comment
    Comment #36127463

    Excited for threads, sockets, futexes, but not excited for fork, signals and setjmp. They didn't include POSIX stuff like shared memory, select(2), unix sockets, and had to draw a …

  15. story
  16. comment
    Comment #35674998

    There's also JSON5 https://json5.org

  17. comment
    Comment #35512575

    There's something mildly charming about fixes to ed(1) in software released today. > Fixed ed(1) to print bytes read/written and the ? prompt to stdout, not stderr.

  18. comment
    Comment #35184652

    This fits as a "list of links by topic": https://github.com/rust-embedded/awesome-embedded-rust

  19. comment
    Comment #35022239

    > tmux show-environment > [..] > -WINDOWIDkj Consequence of using Vim to edit blog posts? It should be, according to author's dotfiles :-P Or maybe using tmux, because I also press…

  20. comment
    Comment #34358301

    For me, it was the "I Am Graphics And So Can You" [1] series, where author progresses from the similar concepts up to a working renderer for DOOM 3, linked in the intro of this art…

  21. comment
    Comment #34296100

    > [..] in kernel mode while retaining the ability to compare how the very same usermode bits run on the Linux kernel as well. That's a unique feature in the realm of educational ke…

  22. comment
    Comment #33634705

    I'm latching onto a non-main argument to be pedantic, but I'd like to mention that Rust is fine for _non-embedded_ kernel development too, in my experience. As you're likely aware,…

  23. comment
    Comment #30692808

    Speaking of significantly faster linkers, I personally use mold[1], including when writing in Rust. [1]: https://github.com/rui314/mold

  24. comment
    Comment #28493056

    I was wondering if memfd_secret [1] could be a part of a solution to this problem. Sounds like it. Of course, it'd require a recent kernel version, which is an obstacle. [1] https:…

  25. comment
    Comment #27744688

    I fail to see a contradiction.