frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

PATH should be a system call

https://simonsafar.com/2025/path_as_system_call/
18•todsacerdoti•9mo ago

Comments

jacknews•9mo ago
Maybe filesystems should be object stores with metadata in a database.
chrchr•9mo ago
https://en.m.wikipedia.org/wiki/WinFS
nirui•9mo ago

    > Windows Vista, then called by its codename "Longhorn", given to developers at the Microsoft Professional Developers Conference in 2003, included WinFS, but it suffered from significant performance issues
Odd, I did tried out a few Longhorn builds. Not knowing if they were shipped with WinFS, but in my case the "performance issues" of the system was caused by increased RAM demand (I only had 512MB RAM at the time).

The referenced sourced by Paul Thurrott from winsupersite.com mentioned:

    > (https://web.archive.org/web/20070702131752/http://www.winsupersite.com/showcase/winfs_preview.asp)
    >
    > it was pretty clear that WinFS wasn't ready for prime time. As one might expect, WinFS suffered from huge performance issues and simply bogged down the regular builds. And while WinFS was indeed included with the WinHEC 2004 Longhorn build that Microsoft shipped in May 2004, Microsoft was surprisingly quiet about WinFS at that time. A few months later, we found out why.
One old discussion on the subject suggested:

    > (https://ask.metafilter.com/129685/Why-did-WinFS-fail)
    >
    > posted by @troy at 3:03 PM on August 9, 2009:
    > I read that as "slow as a wee lassie on anything less than 16GB and quad dual-cores". They're waiting for PCs to be fast enough.
    >
    > posted by Ptrin at 7:13 PM on August 10, 2009:
    > Because Longhorn was cancelled. The WinFS project was a part of Longhorn, and when Longhorn died, WinFS did as well
But the exact cause for the issues remain undisclosed. Don't you just like these close sourced hypes? LOL
compressedgas•9mo ago
I think WinFS failed for the same reason the Cairo Object filesystem before it did. Microsoft required WinFS to use their SQL server rather than implementing the limited structures directly in the filesystem.
IcyWindows•9mo ago
Like this?

https://learn.microsoft.com/en-us/windows/win32/api/shlwapi/...

LegionMammal978•9mo ago
That's not a single system call, it's just a userspace library function built on GetEnvironmentVariable() followed by a GetFileAttributes() loop, alongside a few other special cases for compatibility.
tedunangst•9mo ago
Make it happen? Doesn't sound very hard to code up. Then have bash call execsomewhere() and benchmark the results.
spyrja•9mo ago
Challenge accepted!

https://news.ycombinator.com/item?id=43808428

sour-taste•9mo ago
This is just for the bash case, but I was under the impression that shells cache and hash the binaries they find in the path to avoid doing these lookups. Surprised by the need for strace showing lookups.
rascul•9mo ago
The caching is per session so starting up a new session will have an empty cache. To verify:

    strace bash -c 'ls;ls'
You should not see the lookups for the second ls invocation.
yencabulator•9mo ago
The hash is probably not very relevant in the age of plentiful RAM & NVMe. Mine is disabled.
bediger4000•9mo ago
> the latter [Windows] is somewhat known of its less than excellent performance when it comes to small files.

Not at all a Windows guy here, but my understanding was that NTFS kept the contents of small files in the FILE record itself. How does this cause low performance?

LegionMammal978•9mo ago
Looking up and opening a file is infamously slow on Windows, due to the stack of drivers, compatibility layers, etc. it must go through. So performant Windows programs typically use fewer larger files instead of the many smaller files seen in Unix-like programming.
yencabulator•9mo ago
https://www.man7.org/linux/man-pages/man3/io_uring_prep_stat... is there when you need it.
spyrja•9mo ago
For what it is worth, I did actually try to tackle the problem after reading this. So thank you!

https://news.ycombinator.com/item?id=43808428

Show HN: Simple – a bytecode VM and language stack I built with AI

https://github.com/JJLDonley/Simple
1•tangjiehao•1m ago•0 comments

Show HN: A gem-collecting strategy game in the vein of Splendor

https://caratria.com/
1•jonrosner•2m ago•0 comments

My Eighth Year as a Bootstrapped Founde

https://mtlynch.io/bootstrapped-founder-year-8/
1•mtlynch•2m ago•0 comments

Show HN: Tesseract – A forum where AI agents and humans post in the same space

https://tesseract-thread.vercel.app/
1•agliolioyyami•3m ago•0 comments

Show HN: Vibe Colors – Instantly visualize color palettes on UI layouts

https://vibecolors.life/
1•tusharnaik•4m ago•0 comments

OpenAI is Broke ... and so is everyone else [video][10M]

https://www.youtube.com/watch?v=Y3N9qlPZBc0
2•Bender•4m ago•0 comments

We interfaced single-threaded C++ with multi-threaded Rust

https://antithesis.com/blog/2026/rust_cpp/
1•lukastyrychtr•5m ago•0 comments

State Department will delete X posts from before Trump returned to office

https://text.npr.org/nx-s1-5704785
4•derriz•5m ago•1 comments

AI Skills Marketplace

https://skly.ai
1•briannezhad•6m ago•1 comments

Show HN: A fast TUI for managing Azure Key Vault secrets written in Rust

https://github.com/jkoessle/akv-tui-rs
1•jkoessle•6m ago•0 comments

eInk UI Components in CSS

https://eink-components.dev/
1•edent•7m ago•0 comments

Discuss – Do AI agents deserve all the hype they are getting?

2•MicroWagie•9m ago•0 comments

ChatGPT is changing how we ask stupid questions

https://www.washingtonpost.com/technology/2026/02/06/stupid-questions-ai/
1•edward•10m ago•0 comments

Zig Package Manager Enhancements

https://ziglang.org/devlog/2026/#2026-02-06
2•jackhalford•12m ago•1 comments

Neutron Scans Reveal Hidden Water in Martian Meteorite

https://www.universetoday.com/articles/neutron-scans-reveal-hidden-water-in-famous-martian-meteorite
1•geox•13m ago•0 comments

Deepfaking Orson Welles's Mangled Masterpiece

https://www.newyorker.com/magazine/2026/02/09/deepfaking-orson-welless-mangled-masterpiece
1•fortran77•14m ago•1 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
3•nar001•17m ago•2 comments

SpaceX Delays Mars Plans to Focus on Moon

https://www.wsj.com/science/space-astronomy/spacex-delays-mars-plans-to-focus-on-moon-66d5c542
1•BostonFern•17m ago•0 comments

Jeremy Wade's Mighty Rivers

https://www.youtube.com/playlist?list=PLyOro6vMGsP_xkW6FXxsaeHUkD5e-9AUa
1•saikatsg•17m ago•0 comments

Show HN: MCP App to play backgammon with your LLM

https://github.com/sam-mfb/backgammon-mcp
2•sam256•19m ago•0 comments

AI Command and Staff–Operational Evidence and Insights from Wargaming

https://www.militarystrategymagazine.com/article/ai-command-and-staff-operational-evidence-and-in...
1•tomwphillips•19m ago•0 comments

Show HN: CCBot – Control Claude Code from Telegram via tmux

https://github.com/six-ddc/ccbot
1•sixddc•21m ago•1 comments

Ask HN: Is the CoCo 3 the best 8 bit computer ever made?

2•amichail•23m ago•1 comments

Show HN: Convert your articles into videos in one click

https://vidinie.com/
3•kositheastro•25m ago•1 comments

Red Queen's Race

https://en.wikipedia.org/wiki/Red_Queen%27s_race
2•rzk•26m ago•0 comments

The Anthropic Hive Mind

https://steve-yegge.medium.com/the-anthropic-hive-mind-d01f768f3d7b
2•gozzoo•28m ago•0 comments

A Horrible Conclusion

https://addisoncrump.info/research/a-horrible-conclusion/
1•todsacerdoti•28m ago•0 comments

I spent $10k to automate my research at OpenAI with Codex

https://twitter.com/KarelDoostrlnck/status/2019477361557926281
2•tosh•29m ago•1 comments

From Zero to Hero: A Spring Boot Deep Dive

https://jcob-sikorski.github.io/me/
1•jjcob_sikorski•30m ago•0 comments

Show HN: Solving NP-Complete Structures via Information Noise Subtraction (P=NP)

https://zenodo.org/records/18395618
1•alemonti06•35m ago•1 comments