wrl

Joined 16 years ago

Karma
521
Submissions
160
Member since
Nov 27
https://wrl.sh/

wrl on libera/efnet/oftc

View on Hacker News

Recent submissions

Comment · 2 months ago
They keep sending DHH hardware and at one point they were sponsoring his Rails conference too. People backed off on the Hyprland sponsorship but Framework doubled down on DHH.
Comment · 2 months ago
They DDoS them.
Comment · 3 months ago
looks like it – compiled as debug (native linux x64 backend) gives me the vector type i've asked for. release modes extend to the "native" width.

this is testing in isolation as well, could be that in the midst of other vector code it changes things. llvm definitely does a great job optimising tightly-written vector code to be even faster.

Comment · 3 months ago
i don't disagree – i have my own internal vector lib of approximations and whatnot for various tradeoffs of precision and speed, so i just use those. it's just that zig has a pretty strong stance of "no unexpected/obscured code execution" so it was surprising to see a vector-capable function that was just a bunch of scalar functions in a trench coat.

maybe functions that don't actually support actual vector execution just shouldn't work on vector arguments. i also wouldn't expect `@sin()` to expand in-place out to a full cephes-like sin implementation. maybe a function call.

Comment · 3 months ago
ahaaa, yeah, i don't personally do any runtime switching but i hear that as a deal-breaker from other folks.

it's interesting – i've found that zig tends to extend my vectors to the native width of the platform and then operate on them there. e.g. i had a `@Vector(2, f32)` that i was using as a demo and the generated assembly was promoting it to 256 bits and using avx2 instructions on it!

Comment · 3 months ago
i was having a conversation with a friend recently about simd in zig (which i have recently picked up and been having a pretty good time with). i find that simd writes decently well, though there's a few weird things:

- some builtins purport to work on simd vectors but actually just unpack the vectors and do their work per-element (e.g. running `@sin()` on a `@Vector(4, f32)` will unpack the vector, run `@sin()` 4 times, and then pack it back into a vector).

- a lot of `std.math` is scalar-only (some functions support vectors, though, and i've got a pr open for one of them and plan to do more).

- i'm certainly missing some intrinsics that i get from xmmintrin.h (rcp, rsqrt, few others).

in general though i'm finding it pretty capable.

mitchell, i know you hang around some of these comments sometimes – i noticed that in ghostty you bring in some c++ libs to do the simd heavy lifting for you. any plans to port that to zig? anything missing from the language or libs that's preventing it?

Comment · 3 months ago
hey, i went the other way! i had been using `0` for years and discovered that `_` goes to the first non-whitespace character of the line (which is most of what i want).

til that '^' does the same as '_', cool! (there's probably some teeny difference between them)

Comment · 4 months ago
How exactly is AI a "path to fusion"?
Comment · 7 months ago
My impression was that the "ghost" comes less from the formal NDA and more from the fact that somebody else produces/writes the work and is uncredited for doing so. Then, the "author"/"producer" passes it off as their own work.
Comment · 7 months ago
How about "AI ghostwritten"? That's a much closer parallel, and some commercially successful musicians similarly are "ghost produced".
Comment · 9 months ago
CLAUDE.md in the repo and "Co-Authored by Claude" on all the commits too.

Hard pass.

Comment · 9 months ago
> Ideally the alert would only happen if the comment seemed important but it would readily discard short or nonsensical input. That is really difficult to do in traditional software but is something an LLM could do with low effort.

I read this post yesterday and this specific example kept coming back to me because something about it just didn't sit right. And I finally figured it out: Glancing at the alert box (or the browser-provided "do you want to navigate away from this page" modal) and considering the text that I had entered takes... less than 5 seconds.

Sure, 5 seconds here and there adds up over the course of a day, but I really feel like this example is grasping at straws.

Comment · 10 months ago
[flagged]
Comment · 10 months ago
Are you also going to go into detail about the use of AI to generate the code?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton