stephanimal | 5 years ago | on: W64devkit: A Portable C and C++ Development Kit for Windows
stephanimal's comments
stephanimal | 6 years ago | on: Green threads explained in 200 lines of Rust
If you set a breakpoint in say a win32 fiber switch, and look at the disassembly, it jumps to an internal function that just saves all the registers (and flags) to the active context and restores all the registers from the resumed context every time. Don't know how more optimal that can be for the general case.
stephanimal | 7 years ago | on: Why Drug Prices Keep Rising Despite Congress's Efforts
stephanimal | 7 years ago | on: Zero-shot transfer across 93 languages
stephanimal | 7 years ago | on: How to Adopt Modern C++17 into Your C++ Code [video]
With static memory techniques you can "prove" the system has enough memory to work in all modes, i.e. device consumes 20 readings per second, keeps them in a ring buffer backed by a static fixed array, that buffer is large enough to satisfy processing rate.
stephanimal | 11 years ago | on: The French School Where Panama Canal Pilots Train in Cute Little Ships (2014)
stephanimal | 13 years ago | on: Cheddar
stephanimal | 14 years ago | on: Windows 8 Consumer Preview released.
>> Most of the memory used by programs are pointers
This is a huge generalization, may I add.
Yes, I will not argue that cache usage is less efficient, but I am sure you know that register access is faster than cache access, and we double the amount of registers in x64.
stephanimal | 14 years ago | on: Windows 8 Consumer Preview released.
Furthermore, the 4GB limit does not just concern physical RAM, it also applies elsewhere, like memory mapped files.
In general, it is unlikely that you will see poorer performance from 64-bit code compared to its 32-bit counterpart.
stephanimal | 14 years ago | on: Roy — small functional language that compiles to JavaScript
stephanimal | 14 years ago | on: Why I don’t like “lab” companies.
This is actually not true. They started as a way to transfer money or IOUs between palm pilots. The web portion of the product got so much more traction that they pivoted.
https://www.gnu.org/software/libc/manual/html_node/Reserved-...