frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: I made a zero-copy coroutine tracer to find my scheduler's lost wakeups

https://github.com/lixiasky-back/coroTracer
4•lixiasky•23h ago•0 comments

Show HN: Rust compiler in PHP emitting x86-64 executables

https://github.com/mrconter1/rustc-php
27•mrconter11•2d ago•26 comments

Show HN: Stacked Game of Life

https://stacked-game-of-life.koenvangilst.nl/
8•vnglst•3d ago•3 comments

Show HN: Cloudwright – validate, cost, and export cloud architectures from text

https://github.com/xmpuspus/cloudwright
2•xmpuspus•2h ago•0 comments

Show HN: Yare.io – Kill all enemy cats. With JavaScript.

https://yare.io
2•levmiseri•3h ago•0 comments

Show HN: Effective Git

https://github.com/nolasoft/okgit
32•nola-a•3d ago•5 comments

Show HN: Term-CLI – interactive terminals for AI agents (for SSH/TUI/REPL flows)

https://github.com/EliasOenal/term-cli
5•eliasoe•7h ago•0 comments

Show HN: I built a sub-500ms latency voice agent from scratch

https://www.ntik.me/posts/voice-agent
559•nicktikhonov•1d ago•152 comments

Show HN: Open-Source Article 12 Logging Infrastructure for the EU AI Act

41•systima•23h ago•2 comments

Show HN: Display folder sizes in Win11 Explorer's Size column

https://github.com/sm18lr88/win-folder-size
2•hereme888•6h ago•1 comments

Show HN: Agent Action Protocol (AAP) – MCP got us started, but is insufficient

https://github.com/agentactionprotocol/aap/
12•hank2000•16h ago•2 comments

Show HN: Omni – Open-source workplace search and chat, built on Postgres

https://github.com/getomnico/omni
166•prvnsmpth•2d ago•42 comments

Show HN: Timber – Ollama for classical ML models, 336x faster than Python

https://github.com/kossisoroyce/timber
199•kossisoroyce•2d ago•33 comments

Show HN: Demucs music stem separator rewritten in Rust – runs in the browser

https://github.com/nikhilunni/demucs-rs
13•nikhilunni•17h ago•2 comments

Show HN: Hanaco Garden – A Calm iOS Garden

https://apps.apple.com/us/app/hanaco-garden/id6759095190
4•tsuyoshi_k•7h ago•1 comments

Show HN: Schelling Protocol – Where AI agents coordinate on behalf of humans

https://github.com/codyz123/schelling-protocol
2•codyz123•7h ago•1 comments

Show HN: Upload test cases and get automated Playwright tests back

https://instantqa.ai/
2•ksurace•7h ago•0 comments

Show HN: Pianoterm – Run shell commands from your Piano. A Linux CLI tool

https://github.com/vustagc/pianoterm
59•vustagc•1d ago•21 comments

Show HN: Govbase – Follow a bill from source text to news bias to social posts

https://govbase.com
213•foxfoxx•1d ago•89 comments

Show HN: Augur – A text RPG boss fight where the boss learns across encounters

https://www.theaugur.ai/
3•thutch76•8h ago•1 comments

Show HN: uBlock filter list to blur all Instagram Reels

https://gist.github.com/shraiwi/009c652da6ce8c99a6e1e0c86fe66886
124•shraiwi•1d ago•48 comments

Show HN: DubTab – Live AI Dubbing in the Browser (Meet/YouTube/Twitch/etc.)

https://dubtab.com/
4•DanielHu87•8h ago•1 comments

Show HN: We want to displace Notion with collaborative Markdown files

https://www.moment.dev/
22•antics•15h ago•6 comments

Show HN: Explain Curl Commands

https://github.com/akgitrepos/explain-my-curl
39•akgitrepos•3d ago•3 comments

Show HN: I built a LLM human rights evaluator for HN (content vs. site behavior)

https://observatory.unratified.org
3•9wzYQbTYsAIc•9h ago•2 comments

Show HN: React-Kino – Cinematic scroll storytelling for React (1KB core)

https://github.com/btahir/react-kino
17•bilater•3d ago•2 comments

Show HN: Web Audio Studio – A Visual Debugger for Web Audio API Graphs

https://webaudio.studio/
64•alexgriss•1d ago•7 comments

Show HN: Git-hunk – Stage hunks by hash, no "-p" required

https://git-hunk.paulie.app/
3•shhac•10h ago•0 comments

Show HN: Visual Lambda Calculus – a thesis project (2008) revived for the web

https://github.com/bntre/visual-lambda
48•bntr•4d ago•9 comments

Show HN: Sai – Your always-on co-worker

https://www.simular.ai/sai
3•pentamassiv•17h ago•2 comments
Open in hackernews

Show HN: Rust compiler in PHP emitting x86-64 executables

https://github.com/mrconter1/rustc-php
27•mrconter11•2d ago

Comments

holg•2d ago
interesting proof of concept, in php, who would have thought :D
devmor•2h ago
I think that proof of concepts are PHP’s greatest strength, actually.

These days it can be almost as strict as you want it to be, but it’s always been a “loose” enough language that you can implement things that work in very fragile ways and iterate at incredible speed.

When I am designing PoC microservices that will eventually end up running as Go or Rust, I often start with a prototype in PHP.

mike_d•2h ago
Sometimes when doing offensive security work you end up in the strangest environments with limited tools, odd quirks, broken shells, and god knows what else. But you know what is almost always available and just works? PHP.
psychoslave•1h ago
Nop. awk, bash or some POSIX shell certainly. Perl most likely, despite it’s plunge in popularity. On a modern Mac, awk, bash and Perl are preinstalled with the system. PHP is not even necessarily present at system level on a PHP dev box as it might be only installed in some container.
nasretdinov•2h ago
I wonder if the compiler runs on https://github.com/VKCOM/kphp (a PHP->C++ transpiler)
wiseowise•2h ago
Are all PHP developers named Rasmus?
doctor_phil•2h ago
I also for a second thought this was Rasmus Lerdorf, the creator of PHP. In my head I just have him as Rasmus L-something, so this guy was just a hash collision. :)
nxtfari•2h ago
you never know what’s going on in someone else’s claude max plan
dashzebra•1h ago
This is a great example of how people waste our planet's resources faster with AI.

Seriously, in what world do we need a rust compiler in php? I'd rather have cheap RAM and storage, which I can't because of this kind of stupid idea.

I wonder how much energy was wasted on this. How many people got poisoned or killed in mines to create the GPUs that spewed out this useless code.

The fact that we can do something doesn't mean we should. It's time to end this madness.

EDIT: yeah keep your downvotes coming. Ignore the obvious problem. Easy, it's invisible, just don't think about it.

MarsIronPI•1h ago
Why are you assuming this was AI? It doesn't show any obvious indications of being AI. Maybe this is just someone's random side project. I advise you against jumping to conclusions.
dashzebra•1h ago
Prove me wrong :)
scandinavian•1h ago
Just look at the commit cadance, the bulk of the 8k lines of code was added in a couple of hours. Most commits 2-4 minutes apart. This is 100% vibe coded and it's pretty obvious.

> It doesn't show any obvious indications of being AI.

I agree that he probably asked the AI to omit some common AI tells, like excessive comments, verbose readmes etc.

gregman1•1h ago
People are weird, I for one started to use em dash more often — look at me!
gitbashr•25m ago
And then there's me...

`git commit --amend`

binaryturtle•1h ago
Why do we assume this was created with AI? Is there some marker we can use to detect that?
dashzebra•1h ago
The amount of code committed per day suggest some kind of automation.

Also, a passionate programmer usually will add a "why this exists" in his readme.

I'd be very surprised if this wasn't AI.

wolvesechoes•24m ago
But it is not something new that came with AI, even if it is most recent and most visible symptom of the sickness. We keep buying tons of useless crap and convert to tons of trash. We waste tremendous amount of energy for most trivial whims. Frugality was never dominant idea.
nineteen999•18m ago
Flipside: how much RAM and storage do you need? What do you need it for? What are you going to fill it with? Vibe code? Porn? Pirated movies? One man's treasure is another's trash I suppose.

FWIW I didn't downvote you, I don't have much use for a Rust compiler at all, let alone a toy one written in PHP.

"It's time to end this madness" - this is like trying to shut the barn doors after the horses have bolted and are on a cruise ship that's already sailed, drinking martinis by the pool.

People are having fun with a new way to code, trying things out they couldn't have ever done before. It's been just over a year since Claude code was launched, blowing the doors off all of the other coding models. Compared to the years of hype around cryptocoins and all the GPU cycles wasted on that, this is a bresh of fresh air for many people.

sunrunner•8m ago
> Seriously, in what world do we need a rust compiler in php?

This is described in the README:

> Useful if you need to compile Rust on a shared hosting server from 2008 where the only installed runtime is PHP.

So I guess that world? I mean there's working around a problem and then there's working around a problem...

It would be amusing if, in such a highly limited environment, the compiled binary was still unusable due to restrictions on setting the executable flag.

gregman1•1h ago
You never know what’s going on in someone else’s Claude Max plan =D
orthogonal_cube•1h ago
Interesting that both you and nxtfari made essentially the same comment within an hour of each other, though yours is slightly modified
dashzebra•35m ago
Yeah, right? Are we just... talking with bots?
nirui•26m ago
That's a collision of 64 letters of entropy within 20 mins.

Searching the term on DDG return this very page as the only result, I can confirm it's not a common term/meme.

We're living on a dead Internet are we?

swalsh•40m ago
I bet claude was hyping this guy up as he was building it. "Absolutely, a rust compiler written in PHP is a great idea!"
mohsen1•23m ago
Here I thought my experiment with pushing xz to compress Alpine binaries harder was a waste of time / tokens

https://github.com/mohsen1/fesh

qalmakka•8m ago
I think people don't really realise that compilers are "difficult" projects in the same way as an appendicectomy is for a skilled surgeon, i.e. the surgery is "routine" only because the surgeons spent decades honing their skills to do these routinely. The hard part was training someone to be able to do that.

Writing a compiler/interpreter is _extremely_ straightforward; a lexer -> parser -> ast -> semantic analysis -> {codegen -> linker | evaluator} pipeline is a very widely understood and tested way to write a compiler in any language, regardless of what language you are trying to compile. The hard part is _learning_ how it works, but after that implementing a compiler is a kind of mechanical activity. That's why LLMs are so great at writing parsers: they can just read the source of any compiler (and they probably read all of them) and apply the same stuff mechanically, with almost a 100% accuracy. We even have formal languages to define parsers and RTL and stuff, that's how "mechanical" the whole process can be.

I'm pretty sure that any skilled compiler dev with the ISO C standard and a few packs of Red Bulls can apecode a working C compiler in a few days, give or take. The hard part isn't doing that, the hard part is the decades of iterative improvements to make it generate extremely performant yet correct code as fast as possible.