Login
You're viewing the ruby.social public feed.

Replies

  • Nov 22, 2026, 1:03 AM
    @techokami@woof.tech the very first thing any modern x86 operating system does is set up the separate code and data addres spaces of the x86 so that both of them point to the same region containing all unified physical memory so that programmers can pretend they're programming a von neumann machine
    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Nov 22, 2026, 1:06 AM

    @linear probably also should have mentioned that I really don't like the 4 architectures I listed for various reasons (x86-based stuff is just... cursed)

    💬 0🔄 0⭐ 0
  • Nov 22, 2026, 1:11 AM
    @techokami@woof.tech risc-v gets a lot of flak for things it does not deserve, and downright misinformation (like that supposedly risc-v has no facility for feature detection, which is entirely untrue but spreads like wildfire among users of rust, which at least as of last year could not detect features at runtime on risc-v for entirely rust-related reasons)

    meanwhile it gets much less flak for things it does deserve, like its core group being a clique of academia that is actively hostile to people trying to use the architecture and who want the architecture to be successful
    💬 2🔄 0⭐ 0
  • Nov 22, 2026, 1:15 AM

    @linear YES, THIS. Every time I try to give RISC-V a chance, either something about the ISA makes me go :wlfWhat: or the userbase being weirdly hostile... once, when I was asking for some good information on RISC-V assembly programming, I was told that it should only be treated as a compiler target and that I was an idiot for trying to avoid learning C

    💬 0🔄 0⭐ 1
  • Nov 22, 2026, 1:32 AM
    @techokami@woof.tech yeah. there's a lot of technical decisions that seem odd until you've considered the problem from enough angles to see why it has to be the way that it is. RISC-V is as weird and backed into the corner it is in as as any other architecture, but it carefully considered the available corners before settling into one, at least.

    but getting the necessary help to understand why it is the way it is can be daunting because nobody wants to talk with anyone who doesn't already know everything they know
    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 9:05 PM
    @izzy@social.shadowkat.net @techokami@woof.tech it basically is, yeah. more advanced, as well, because you can have arbitrarily many independently defined address spaces, which can be the same or different, and you can include the information about which address space you intended to use as part of an extended pointer

    (at least before they made it vestigial in long mode)
    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 9:08 PM
    @izzy@social.shadowkat.net @techokami@woof.tech by giving yourself extended pointers in 32-bit (or 16-bit) mode you can have things like a demand paged virtual memory system without having to use paging, and data execution prevention without needing an NX bit, and hardware-enforced bounds checking of data structures, on a 386 (or 286)
    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0