Readit News logoReadit News
sakras commented on Show HN: Luminal – Open-source, search-based GPU compiler   github.com/luminal-ai/lum... · Posted by u/jafioti
sakras · 15 days ago
I see you guys are using Egg/Egglog! I've been mildly interested in egraphs for quite a while, glad to see they're gaining traction!
sakras commented on New Aarch64 Back End   ziglang.org/devlog/2025/#... · Posted by u/Bogdanp
MuffinFlavored · a month ago
What's the motivation to avoid LLVM backends?
sakras · a month ago
Likely performance - LLVM is somewhat notorious for being slower than ideal.
sakras commented on New Aarch64 Back End   ziglang.org/devlog/2025/#... · Posted by u/Bogdanp
ummonk · a month ago
I’m a little confused reading this. Is MIR short for “machine intermediate representation” instead of “medium intermediate representation”? I generally expect IRs to be relatively platform-independent but it sounds like the “MIR” here is close to Aarch64 binary?
sakras · a month ago
Likely refers to Machine IR, a lower level representation that normal LLVM IR lowers to?
sakras commented on Breaking Quadratic Barriers: A Non-Attention LLM for Ultra-Long Context Horizons   arxiv.org/abs/2506.01963... · Posted by u/PaulHoule
daxfohl · 3 months ago
Partially related, is charging by token sustainable for LLM shops? If the compute requirements go up quadratically, doesn't that mean cost should as well?
sakras · 3 months ago
Typically requests are binned by context length so that they can be batched together. So you might have a 10k bin and a 50k bin and a 500k bin, and then you drop context past 500k. So the costs are fixed per-bin.
sakras commented on How linear regression works intuitively and how it leads to gradient descent   briefer.cloud/blog/posts/... · Posted by u/lucasfcosta
sakras · 4 months ago
I intuitively think about linear regression as attaching a spring between every point and your regression line (and constraining the spring to be vertical). When the line settles, that's your regression! Also gives a physical intuition about what happens to the line when you add a point. Adding a point at the very end will "tilt" the line, while adding a point towards the middle of your distribution will shift it up or down.

A while ago I think I even proved to myself that this hypothetical mechanical system is mathematically equivalent to doing a linear regression, since the system naturally tries to minimize the potential energy.

sakras commented on Proof-of-work to protect lore.kernel.org and git.kernel.org against AI crawlers   social.kernel.org/notice/... · Posted by u/luu
sakras · 5 months ago
Maybe I'm missing something, but why do people expect PoW to be effective against companies who's whole existence revolves around acquiring more compute?
sakras commented on The insecurity of telecom stacks in the wake of Salt Typhoon   soatok.blog/2025/03/12/on... · Posted by u/zdw
wmf · 6 months ago
Rewriting all software would cost infinite money.
sakras · 6 months ago
New smart grids with new software do not require a rewrite!
sakras commented on The insecurity of telecom stacks in the wake of Salt Typhoon   soatok.blog/2025/03/12/on... · Posted by u/zdw
sakras · 6 months ago
I've been beating the drum about this to everyone who will listen lately, but I'll beat it here too! Why don't we use seL4 for everything? People are talking about moving to a smart grid, having IoT devices everywhere, putting chips inside of peoples' brains (!!!), cars connect to the internet, etc.

Anyway, it's insane that we have a mathematically-proven secure kernel, we should use it! Surely there's a startup in this somewhere..

sakras commented on The Demoralization is just Beginning   geohot.github.io//blog/je... · Posted by u/surprisetalk
sakras · 6 months ago
> Sure, we don’t produce anything, but we have companies with high revenues and we can raise money based on those revenues. We’ll both be rich!

I think this is the central hole in the argument that the US is stagnant. The money that investors give you has to come from somewhere! Particularly in venture capital, you only get returns if you produce value.

Nevertheless, I do agree with a lot of the points here.

sakras commented on Ask HN: What less-popular systems programming language are you using?    · Posted by u/fuzztester
shakna · 6 months ago
epoll is threaded, not multiprocess. [0]

hare-ev is using rt to make the epoll syscalls. [1]

> On Linux, ev is implemented with epoll. Note that, on Linux, I/O on regular files is always blocking.

[0] https://www.man7.org/linux/man-pages/man7/epoll.7.html

[1] https://docs.harelang.org/rt#SYS_epoll_create

sakras · 6 months ago
> epoll is threaded, not multiprocess

epoll is orthogonal to threads. It _can_ be used in a multithreaded program, but it doesn't have to be. It may very well be implemented in terms of kernel threads, but that's not what I'm talking about. I'm talking about user-space threads.

u/sakras

KarmaCake day665September 15, 2019
About
Programmer interested in performance, new pieces of metal, compilers for them. Twitter: bztree Email: krassovskysasha@gmail.com Blog: https://save-buffer.github.io/
View Original