I understand this logic, but at some point it makes sense to design the system for the millions of people on macs rather than make compromises for the sake of dozens of Vision Pro users.
Compilers can’t really, in a meaningful way, change the layout of your data in memory. And you do need to think about your memory layout to get any benefit from SIMD. You’ll notice a lot of compiler auto vectorization…
I had no idea they used the Plan 9 file server for accessing files in WSL. I wonder what the original reasoning for choosing 9P was.
That and a reset button.
For GeForce cards you can get similar behavior by setting “Prefer maximum performance” which disables some of the low power states.
Designated initializers is one area where C feels much more expressive than C++. And that feature has been standard since C99.
Vulkan is a pain for different reasons. Easier to install sure, but you need a few hundred lines of code to set up shader compilation and resources, and you’ll need extensions to deal with GPU addresses like you can…
Except it’s actually called “cooked mode” [1] and predates the use of the slang. [1]: https://en.wikipedia.org/wiki/Terminal_mode https://www.linusakesson.net/programming/tty/
> The OS then provides a native API to return a user's age bracket (not full date-of-birth) Call the API every day, when the age bracket changes you can infer the date-of-birth.
Even the function names are identical :/
This comment assumes game companies throw away all their code and start from scratch on their next title. Which is completely untrue, games are built on decades old code, like most software. There is absolutely a need…
For a graphics programmer acos(dot(x, y)) always raises an eyebrow. Since most of the time you actually want cos(theta) and even when you think you need the angle you probably don’t.
Compilers cannot do this optimization for floating point [1] unless you're compiling with -ffast-math. In general, don't rely on compilers to optimize floating point sub-expressions. [1]: https://godbolt.org/z/8bEjE9Wxx
But RISC-V is a _new_ ISA. Why did we start out with the wrong design that now needs a bunch of extensions? RISC-V should have taken the learnings from x86 and ARM but instead they seem to be committing the same…
Just turn on a light?
> Rust programmers can take advantage of the srgb crate I don’t like the NPMification of Cargo. Do you really need to pull in a dependency for something like this?
> it uses 150% scaling (as opposed to the ideal 200%) which means you have subtle display artifacts 200% is ideal but scaling on Windows has gotten really good. I use 150% on a 4K monitor and it works well.
Would defer be considered hidden control flow? I guess it’s not so hidden since it’s within the same function unlike destructors, exceptions, longjmp.
Interesting, some functions explicitly mention: > [NtQuerySystemTime may be altered or unavailable in future versions of Windows. Applications should use the GetSystemTimeAsFileTime function.] [0] So it does seem like a…
Is there an official stance on whether ntdll is stable? Obviously they're not going to change things arbitrarily since applications depend on it, but I'm wondering if there is a guarantee like the linux syscall…
I never understood this sentence structure, it adds zero information, it always goes like: “This isn’t just [what the thing literally is]; it’s [hyperbole on what the thing isn’t].”
Vim (kind of) has it though it doesn’t render the cursors: Ctrl-V, then move down the lines you want to edit, Shift-I to insert text on multiple lines at once.
Right, it has much worse throughput: Memory: https://uica.uops.info/tmp/f022a3c0a70e4ae5ab3588ebe65fd2a5_... Register: https://uica.uops.info/tmp/e80e60e0c4914955b11dc6590711c1b8_...
There should be a better abstraction to solve the GL state leakage problem than PSOs. We end up with a combinatory explosion of PSOs when some states they abstract are essentially toggling some bits in a GPU register in…
That makes sense. LLVM could probably do better here by using the memory operand version: https://godbolt.org/z/jeqbaPsMz
I understand this logic, but at some point it makes sense to design the system for the millions of people on macs rather than make compromises for the sake of dozens of Vision Pro users.
Compilers can’t really, in a meaningful way, change the layout of your data in memory. And you do need to think about your memory layout to get any benefit from SIMD. You’ll notice a lot of compiler auto vectorization…
I had no idea they used the Plan 9 file server for accessing files in WSL. I wonder what the original reasoning for choosing 9P was.
That and a reset button.
For GeForce cards you can get similar behavior by setting “Prefer maximum performance” which disables some of the low power states.
Designated initializers is one area where C feels much more expressive than C++. And that feature has been standard since C99.
Vulkan is a pain for different reasons. Easier to install sure, but you need a few hundred lines of code to set up shader compilation and resources, and you’ll need extensions to deal with GPU addresses like you can…
Except it’s actually called “cooked mode” [1] and predates the use of the slang. [1]: https://en.wikipedia.org/wiki/Terminal_mode https://www.linusakesson.net/programming/tty/
> The OS then provides a native API to return a user's age bracket (not full date-of-birth) Call the API every day, when the age bracket changes you can infer the date-of-birth.
Even the function names are identical :/
This comment assumes game companies throw away all their code and start from scratch on their next title. Which is completely untrue, games are built on decades old code, like most software. There is absolutely a need…
For a graphics programmer acos(dot(x, y)) always raises an eyebrow. Since most of the time you actually want cos(theta) and even when you think you need the angle you probably don’t.
Compilers cannot do this optimization for floating point [1] unless you're compiling with -ffast-math. In general, don't rely on compilers to optimize floating point sub-expressions. [1]: https://godbolt.org/z/8bEjE9Wxx
But RISC-V is a _new_ ISA. Why did we start out with the wrong design that now needs a bunch of extensions? RISC-V should have taken the learnings from x86 and ARM but instead they seem to be committing the same…
Just turn on a light?
> Rust programmers can take advantage of the srgb crate I don’t like the NPMification of Cargo. Do you really need to pull in a dependency for something like this?
> it uses 150% scaling (as opposed to the ideal 200%) which means you have subtle display artifacts 200% is ideal but scaling on Windows has gotten really good. I use 150% on a 4K monitor and it works well.
Would defer be considered hidden control flow? I guess it’s not so hidden since it’s within the same function unlike destructors, exceptions, longjmp.
Interesting, some functions explicitly mention: > [NtQuerySystemTime may be altered or unavailable in future versions of Windows. Applications should use the GetSystemTimeAsFileTime function.] [0] So it does seem like a…
Is there an official stance on whether ntdll is stable? Obviously they're not going to change things arbitrarily since applications depend on it, but I'm wondering if there is a guarantee like the linux syscall…
I never understood this sentence structure, it adds zero information, it always goes like: “This isn’t just [what the thing literally is]; it’s [hyperbole on what the thing isn’t].”
Vim (kind of) has it though it doesn’t render the cursors: Ctrl-V, then move down the lines you want to edit, Shift-I to insert text on multiple lines at once.
Right, it has much worse throughput: Memory: https://uica.uops.info/tmp/f022a3c0a70e4ae5ab3588ebe65fd2a5_... Register: https://uica.uops.info/tmp/e80e60e0c4914955b11dc6590711c1b8_...
There should be a better abstraction to solve the GL state leakage problem than PSOs. We end up with a combinatory explosion of PSOs when some states they abstract are essentially toggling some bits in a GPU register in…
That makes sense. LLVM could probably do better here by using the memory operand version: https://godbolt.org/z/jeqbaPsMz