Better HN
topnewbestaskshowjobs
Log inSign up

varunrmallya

10 karma · joined Nov 10, 2024 (2y ago) · 13 submissions

https://github.com/varun-r-mallya https://xeon.me I am a undergrad student and programmer. Yes, I am looking for a job/PhD.
Submissions

comment 4w ago · link · parent

async-a-sync is a patched Fil-C compiler plus a small runtime framework. You annotate a function, and calls to it return immediately. The buffers they write stay "pending" until the call finishes. Nothing in your code says submit or wait. The first time anything touches a pending buffer, it blocks right there until the call that produces it is done.

2.

Implicit futures for C – the first access to a buffer is the await(github.com ↗)

6 points · by varunrmallya · 4w ago · 1 comment

3.

A KDE Plasma widget for switching Linux schedulers(github.com ↗)

2 points · by varunrmallya · 4w ago · discuss

comment 4w ago · link · parent

Hello!! We've done quite a bit with PythonBPF now. Hope y'all like it. Don't overload the playground server though.

5.

Write eBPF programs in pure Python(pythonbpf.github.io ↗)

2 points · by varunrmallya · 4w ago · 1 comment

6.

Any Music Can Be Played for the First Time on Desmos(satindra-r.github.io ↗)

4 points · by varunrmallya · 8mo ago · 1 comment

comment 1y ago · link · parent

This is actually what we plan to do too!

comment 1y ago · link · parent

Thank you! Ours is a toy for now as well, but I think the idea is pretty good, so we'll continue to work on it. (This was actually a hackathon project, so the code is pretty messy and not something I am proud of)

comment 1y ago · link · parent

To be honest, this was really a hackathon project. The code quality is very very bad right now. We will be continuing to work on this to make it much better and we'll be adding documentation as we go as well. Thanks for taking a look :)

comment 1y ago · link · parent

I'm the co-author.The code is in a very very bad state right now, but the architecture is pretty ok to explain. In step 3, we translate from the Python frontend to the LLVM IR. In step 4 we compile it down to an object file using the LLVM backend `llc`. This object file gets loaded into the kernel and it is what actually contains the eBPF bytecode.