frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Economic Possibilities for our Grandchildren (1931)

https://fermatslibrary.com/s/economic-possibilities-for-our-grandchildren
1•mustaphah•45s ago•0 comments

In Federal Prisons, Some Guards Use Fear and Violence to Stifle Complaints

https://www.themarshallproject.org/2026/07/13/california-federal-prison-abuse
2•Jimmc414•2m ago•0 comments

Tab. – a public ledger for tracking money friends owe you

https://thetab.io
2•concentric•3m ago•0 comments

LAPD Regularly Pulled over Innocent People Plate Readers Flagged Cars as Stolen

https://www.404media.co/lapd-regularly-pulled-over-innocent-people-because-license-plate-readers-...
2•Jimmc414•3m ago•1 comments

Dressed to Kill: Fashion Throughout Bond Eras

https://dressed-to-kill.vercel.app/
2•atlasunshrugged•4m ago•1 comments

Musk's Starlink Socks Customers with $1500 'High Demand' Surcharge

https://www.techdirt.com/2026/07/13/musks-starlink-socks-customers-with-1500-high-demand-surcharge/
2•lemonberry•5m ago•0 comments

Ask HN: What are your personal websites?

2•basilikum•6m ago•1 comments

BYD surpasses Tesla in global race; 'do-or-die' crisis in China's market

https://www.scmp.com/business/china-evs/article/3359708/byd-surpasses-tesla-global-race-do-or-die...
3•breve•7m ago•0 comments

The pelican benchmark is saturated so we made 9 models draw a MacBook Pro in SVG

https://playcode.io/blog/macbook-svg-benchmark
2•ianberdin•8m ago•0 comments

ORA – AI coding agent that blocks its own commits if security scan fails

https://auremcto.com/
2•tjsandhu•10m ago•0 comments

Michigan says diarrhea outbreak may be linked to lettuce, salad greens

https://www.cnn.com/2026/07/13/health/cyclospora-parasite-diarrhea-outbreak-increase
2•Bender•11m ago•0 comments

Israel's Operation to Cultivate Ahmadinejad

https://www.nytimes.com/2026/07/13/us/politics/israel-mahmoud-ahmadinejad-iran.html
2•u1hcw9nx•12m ago•1 comments

Manifest Man

https://www.thenewcritic.com/p/manifest-man
2•ekluger•14m ago•0 comments

Lobste.rs is now running on SQLite

https://lobste.rs/s/ko1ji1
12•abetusk•19m ago•0 comments

Forgein – portable context layer for AI tools, native MCP server (MIT CLI)

https://app.forgein.ai
2•shadowmodder•20m ago•0 comments

Which Professional Credentials Actually Matter?

https://corvi.careers/blog/which-certifications-matter-by-job-family/
4•sp1982•24m ago•0 comments

What your dog's vet bill says about America's health care system (2016)

https://www.cbsnews.com/news/what-your-dogs-vet-bill-says-about-americas-healthcare/
2•paulpauper•25m ago•0 comments

The American suburbs are better than you think

https://www.noahpinion.blog/p/the-american-suburbs-are-better-than
4•paulpauper•26m ago•0 comments

Ask HN: How do you troubleshoot desktop Linux crashes/freezes?

2•Curiositry•29m ago•0 comments

Wyoming's 'Explosive Diarrhea' Cases Double, Linked to Travel Outside of U.S.

https://cowboystatedaily.com/2026/07/13/wyomings-explosive-diarrhea-cases-double-linked-to-travel...
4•Bender•30m ago•1 comments

Show HN: Nihonpost – I parsed Japan Post's KEN_ALL.CSV so you don't have to

https://github.com/Thiya11/nihonpost
3•kitsunechaos•36m ago•0 comments

Ask HN: AI Agent and harness containerization/security recommendations

2•dv35z•36m ago•0 comments

Why 'Asia's cleanest village' bans tourists on Sundays

https://www.bbc.com/travel/article/20260625-why-asias-cleanest-village-bans-tourists-on-sundays
2•gmays•36m ago•0 comments

Trump Shrinks Grand Staircase-Escalante and Bears Ears National Monuments

https://www.sltrib.com/news/environment/2026/07/13/president-trump-shrinks-bears-ears/
3•almog•37m ago•0 comments

Four awful new privacy-eroding features from Meta in a month

https://manualdousuario.net/en/meta-instagram-ai-facial-recognition/
5•rpgbr•39m ago•0 comments

Show HN: I built a one-prompt hackathon platform, free entry, sponsored prizes

https://1shotchallenge.ai
4•lucasmartinic•41m ago•0 comments

" We care deeply about your privacy and respect customer choice"

https://twitter.com/spacexai/status/2076692402442846289
3•telotortium•42m ago•0 comments

Show HN: A reproducible harness for catching agent-eval cheating

https://github.com/sebuzdugan/agent-eval-harness
2•sebuzdugan•43m ago•0 comments

Show HN: Raftig – Plant Breeding X Naval Combat Roguelike

https://raftig.seldoncortex.com/
2•EstanislaoStan•44m ago•0 comments

Karios AI Agent Carzy

https://github.com/adnqcr7-code/kairosv2
2•kairos_agent•50m ago•0 comments
Open in hackernews

Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

https://github.com/Poseidon-fan/linux-0.11-rs
58•arto•2h ago

Comments

rvz•1h ago
Nice project, with so many emojis at the start of every title of the README.

Wonder who could have done that?

prologic•1h ago
I just compared this Rust implementation against the original C sources. Some ~50k SLOC (Rust) compared to maybe ~8-12k SLOC of C (depending on if you count headers). Why is the Rust implementation so much more complex and onerous?
binsquare•57m ago
I don't think it's rust
broknbottle•57m ago
More LoC means easier to quantify the impact when telling a story. The actual code quality may be lower but that’s the schmuck’s problem that comes after once promo is acquired.
newtonianrules•49m ago
I’ve never worked with Silicon Valley people before now, and now I get why so many projects are abandoned and rewritten when they could just use open source. The whole culture is promo driven.
3836293648•46m ago
Or, as others have already noted, it's only about 15k and the repo includes tools and test programs.
sudb•56m ago
One of the tradeoffs of Rust is its verbosity I think (in return for which Rustaceans would say you gain explicitness).
coldtea•39m ago
Verbosity compared to C?

Only in extra syntax constructs.

But Rust can absolutely do the same thing as C in fewer lines, especially when comparing each's standard features like string support.

9dev•27m ago
I absolutely despise that C convention if abbreviating absolutely every single thing as much as possible. Yeah yeah, that was necessary back in the day when memory was scarce and editors were awful, but come on those days were almost half a century ago by now.

Rust may be verbose, but at least you can read it without turning into a cynical greybeard subject matter expert first.

hughw•19m ago
I've found that the less real estate my eyes need to scan, the faster I understand the code, even if its more tersely expressed and requires a little decoding. Relatedly, I've come to appreciate a line of code that does the thing rather than one that calls a function whose name might express what the function does, but I might need to go find it and and read its code. That works well if your language supports a terse expression. So I prefer you tersely multiply/reduce a list rather than call a function, but some languages just aren't friendly to that and demand verbosity.
dminik•50m ago
According to this breakdown: https://ghloc.vercel.app/Poseidon-fan/linux-0.11-rs?branch=m...

It's about 15k lines of code for the kernel and the rest is various utilities, libraries and programs that can run on the kernel.

dminik•42m ago
Also, after a quick look at a few files, the rust version appears to be much more commented. Not sure if that makes up the extra several thousand lines, but surely counts accounts for some of that.
cozzyd•35m ago
SLOC should omit comments no?
josephg•48m ago
If the readme is anything to go by, this doesn't look like it was written by hand. Codex if I were to guess. I wonder the coding agent "improved" the code.

The readme hints at the prompt:

> It keeps the original system's semantics — what it does — while rethinking how it's expressed: stronger types, clearer module boundaries, idiomatic abstractions everywhere.

"idiomatic abstractions" would certainly bloat the line count.

icemanx•27m ago
because of AI
ls-a•25m ago
I like how everyone has a different theory as to why
steveklabnik•23m ago
For fun, I decided to take a look at a random syscall: fork.

* https://github.com/yuan-xy/Linux-0.11/blob/master/kernel/for...

* https://github.com/Poseidon-fan/linux-0.11-rs/blob/420152fdf...

The Rust is slightly shorter, though it also isn't organized in exactly the same way. The code isn't that different overall, creating and copying some data structures around, as you'd expect for a fork implementation of this vintage.

Maybe I got lucky, but I would expect that it's more of what other people said: this repository includes far more than the kernel.

xqb64•58m ago
Slopware?
bryanlarsen•45m ago
Presumably, but exactly the sort of project where slopware is appropriate. Nobody is expected to use it.
computerdork•18m ago
Haha, well, maybe a couple dozen grad students creating some unusual extension to the os:)
xyst•52m ago
rewriting {PROGRAM} in rust is so fetch.
sajithdilshan•47m ago
Stop trying to make fetch happen
tialaramex•25m ago
They actually did make fetch happen. Once upon a time it was usual in Javascript to use a thing called XMLHttpRequest which despite its name isn't actually for XML, it's just that XML was a big deal when it was created. The replacement API for making normal HTTP requests is just named fetch, and it was "new" so long ago that popular web browsers had versions like 40 rather than 150.

That movie is so old it's entirely possible that it's just named "fetch" because that's a reasonable thing to call this feature and so it's a coincidence, but I do like to think that at least some people at WHATWG were quoting Mean Girls...

sscaryterry•21m ago
Wait? You guys have fetch?
mjhay•34m ago
I used to like rust, but I feel like I’m being Pavlovian-conditioned to recoil at its mention now.
Krutonium•32m ago
I still like it. People are having fun playing with their toy and tool. I have no problem with that.
fsckboy•28m ago
People are having fun with AI coding, and I have no problem with that, but I am sick of hearing about it.
mjhay•28m ago
I shouldn’t have been so negative. I still very much like Rust, but hearing about these AI rewrites constantly is tiresome.
minimaxir•27m ago
Of all the tools in software engineering to be overpopular and overused, Rust is an instance where that is a very good thing.

Atleast people aren't AI rewriting things into PHP.

vlod•23m ago
Be careful, that sounds almost like a dare...
block_dagger•23m ago
devy•32m ago
Docs full of emojis, this is another AI slop?!

Tangential note: there is already a community effort[1] to rewrite GNU commandline tools into Rust and Canonical shipped the rust version of the /bin/utils in Ubuntu 26.04 Resolute Raccoon by default[2] in their "oxidizing" initiative.[3]

PS: Linus Torvalds has confirmed that the existing Linux kernel will never be fully rewritten in Rust.[4] Let's see how well that statement age.

[1]: https://github.com/uutils/coreutils

[2]: https://canonical.com/blog/canonical-releases-ubuntu-26-04-l...

[3]: https://discourse.ubuntu.com/t/carefully-but-purposefully-ox...

[4]: https://news.ycombinator.com/item?id=41355731

irishcoffee•31m ago
What is “un-idiomatic” rust?
steveklabnik•26m ago
With a project like this, I would expect that "idiomatic Rust" means "attempting to write as much safe code as is reasonably possible" rather than "translating the C to Rust directly".
broodbucket•21m ago
I hate that 5 years ago I'd see a headline like this and think it was awesome, and now it's just "look at what someone's spent tokens on today"
richard_todd•17m ago
Honestly -- and I know this project is just a toy/fun experiment -- with modern AI, I think this is the correct approach to Rust-ifying projects. Just fork it and do an AI-assisted wholesale conversion, and run in parallel for a while to make sure all the regressions are found. Then you can compare to the original for benefits and drawbacks, and you get a more idiomatic code-base... instead of trying to convince longstanding projects to go into a half-rust Frankenstein model, which is what I usually see.
drnick1•4m ago
How does the performance compare?
I have the opposite feeling; I am liking Rust more and more and thinking most of the world's C code should be rewritten. It seems like a sweet spot of enforced memory safety, performance, and human/agent readability.
skor•12m ago
why rewrite if you can check for and fix bugs? If you are thinking of AI fixing bugs is less expensive