Readit News logoReadit News
floitsch commented on Prism   openai.com/index/introduc... · Posted by u/meetpateltech
tarcon · 12 days ago
This is a actual prompt in the video: "What are the papers in the literature that are most relevant to this draft and that I should consider citing?"

They probably wanted: "... that I should read?" So that this is at least marketed to be more than a fake-paper generation tool.

floitsch · 12 days ago
I felt the same, but then thought of experts in their field. For example, my PhD advisor would already know all these papers. For him the prompt would actually be similar to what was shown in the video.
floitsch commented on A glimpse into V8 development for RISC-V   riseproject.dev/2025/12/0... · Posted by u/floitsch
brucehoult · 2 months ago
Quote, because unlike on Reddit I couldn't figure out how to do multi para > quotes with code here.

------

Compressed pointers reduce the need for memory by storing pointers as 32-bit unsigned offsets relative to a base register. Decompressing the pointers just consists of adding the offset and register together. As simple as this sounds, it comes with a small complication on our RISC-V 64-bit port. By construction, 32-bit values are always loaded into the 64-bit registers as signed values. This means that we need to zero-extend the 32-bit offset first. Until recently this was done by bit-anding the register with 0xFFFF_FFFF:

    li   t3,1
    slli t3, t3, 32
    addi t3, t3, -1
    and  a0, a0, t3
Now, this code uses the `zext.w` instruction from the Zba extension:

    zext.w a0, a0
-----

This is so strange. Does no one at Google know RISC-V? This has *never* needed more than...

    slli a0, a0, 32
    srli a0, a0, 32
And if they're going to use `Zba`, and zero-extend it and then add it to another register, then why use a separate `zext.w` instruction and `add` instead of ...

    add.uw decompressed, compressed, base
... to zero extend and add in one instruction??

After all, `zext.w` is just an alias for `add.uw` with the `zero` register as the last argument...

They also could have always simply stored the 32 bit offset as signed and pointed the base register 2GB into the memory area instead of using x86/Arm-centric design.

floitsch · a month ago
You are absolutely right, and a follow-up CL fixed the non-Zba code path. At the time of writing of the blog post, the generated code was however still using the 4 instructions instead of just two.

V8 is a huge project and ports almost have to start from backends of existing architectures. Over time we (I recently worked on the RISC-V port) improve the situation.

Note that it's also crucial to stay somehow similar to the x86 and ARM backends as the V8 team frequently makes changes to these and keeping up with them would be a nightmare if the RISC-V backend was too different.

"Does no one at Google know RISC-V" This work wasn't done by Google. Also, you don't hire RISC-V experts, but V8 experts (or other similar VMs) for such a port. I, for example, had never worked with RISC-V before. As such, it can happen that some code of the RISC-V backend is written by engineers that aren't yet experts in RISC-V.

floitsch commented on KDE onboarding is good now   rabbitictranslator.com/kd... · Posted by u/todsacerdoti
IshKebab · a month ago
A crash once a week is terrible. If Windows still crashed that regularly people wouldn't be saying "no biggie".
floitsch · a month ago
When Plasma crashes, all programs keep running. The only noticable thing (to me) is that the order of my apps in the task bar is different.
floitsch commented on Zmij: Faster floating point double-to-string conversion   vitaut.net/posts/2025/fas... · Posted by u/fanf2
floitsch · 2 months ago
Pretty impressive.

When I published Grisu (Google double-conversion), it was multiple times faster than the existing algorithms. I knew that there was still room for improvement, but I was at most expecting a factor 2 or so. Six times faster is really impressive.

floitsch commented on Regarding the Monetization of Project Maintenance   github.com/shibatch/sleef... · Posted by u/floitsch
floitsch · 6 months ago
Sleef is a SIMD library that is often used (transitively) when working with LLMs.

Its maintainer now requests $1000 for approval of PRs.

Here is an example where they reject a small PR to add loongarch64 support from individual contributor: https://github.com/shibatch/sleef/pull/672

floitsch commented on Ring introducing new feature to allow police to live-stream access to cameras   eff.org/deeplinks/2025/07... · Posted by u/xoa
herbst · 7 months ago
So you are telling me the can get the data my Facebook, Google and any other US company without my consent but in this case it's somehow actually enforced?
floitsch · 7 months ago
If they can get the data without a user's consent, then it's independent of this new feature and thus unrelated. If you believe that the government has unlimited access, then it was most likely already possible before this feature. Now, there is at least a "proper" way to give law enforcement access.

u/floitsch

KarmaCake day559March 29, 2013
About
I worked on Dart. Now developing Toit.
View Original