Live data from Hacker News

Viewing profile — phil-opp

phil-opp

HN member
Joined
Sun, Oct 25, 2015, 9:30 PM UTC
HN karma
708
Public activity
61 items

About phil-opp

No profile information was provided.

Recent public activity

  1. comment
    Comment #22752387

    Location: Karlsruhe, Germany Remote: yes Willing to relocate: no Technologies: Rust, systems programming, operating systems, embedded, open-source software Resume: https://www.link…

  2. comment
    Comment #22749994

    Great to hear that! I also found the official documentation a bit short on background information, so I decided to write my own explanation rather than link to something existing. …

  3. story
  4. comment
    Comment #22235912

    For single threaded programs you can e.g. use a Mutex implementation that only disables interrupts for the critical section ( https://docs.rust-embedded.org/book/concurrency/#mutex…

  5. comment
    Comment #22234953

    Thanks! I created them using draw.io ( https://about.draw.io/ ).

  6. comment
    Comment #22233563

    > I'll prepare an update to fix this. Update in https://github.com/phil-opp/blog_os/pull/738 and https://github.com/phil-opp/blog_os/pull/739

  7. comment
    Comment #22233437

    On the other hand, these strict requirements make sure that the global allocator is thread-safe. Also, I only count two compiler errors mentioned in this post and both have a valid…

  8. comment
    Comment #22233348

    > The overflow scenario should be treated the same as the out-of-memory scenario and also return null. Good point! I'll prepare an update to fix this. > It can do better, in `deall…

  9. comment
    Comment #20293008

    Thanks so much! Yes, I'm eagerly awaiting https://github.com/rust-lang/rust/pull/58457 and your follow-up https://github.com/rust-lang/rust/pull/60703 . AFAIK, a global allocator i…

  10. story
  11. comment
    Comment #19839432

    An interesting fact about this is that the author is on the Microsoft docs team, which uses a similar system for docs.microsoft.com [1]. So I don't think that GitHub has a problem …

  12. comment
    Comment #19770287

    The try_reserve method is exposed on all collection types, e.g. [1],but it is still unstable. [1]: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.try... I did not write m…

  13. comment
    Comment #19767320

    There is some minimal support for fallible allocation through the try_reserve method on various collections. See https://github.com/rust-lang/rust/issues/48043 for more information…

  14. comment
    Comment #19767289

    Great to hear that!

  15. comment
    Comment #19767286

    It's the first time that I hear about Rust on medical devices. Sounds really interesting! I'm glad to hear that my blog was useful to you! > I have been trying to hack at the utest…

  16. comment
    Comment #19765495

    Author here. This post is a rewrite of the previous Unit Testing [1] and Integration Tests [2] posts. It creates a custom test framework that runs test functions inside QEMU, so th…

  17. comment
    Comment #19043880

    Thanks for the detailed reply! I don't like the traditional GRUB approach because it leaves so much work for the kernel (assembly entry point, stack setup, creation of new page tab…

  18. comment
    Comment #19024862

    It is possible to access other address spaces, it is just a bit more complicated: - Set the recursive entry of the active level 4 table to the (recursive) level 4 table of the othe…

  19. comment
    Comment #19024832

    Thanks for the feedback! I chose recursive page tables because the underlying mapping is very simple as it only requires to map a single level 4 page table entry. Thus, the bootloa…

  20. comment
    Comment #18906263

    I assume backwards compatibility. It's a much smaller change to existing operating systems than to create a completely new page table format.

  21. comment
    Comment #18906244

    Thanks! Fixed in https://github.com/phil-opp/blog_os/commit/f423c068fec803725...

  22. comment
    Comment #18903883

    They were created with draw.io ( https://about.draw.io/ ).

  23. story
  24. story
  25. story