frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Safepoints and Fil-C

https://fil-c.org/safepoints
31•matt_d•3d ago

Comments

correct_horse•59m ago
Fil-C seems interesting, and I didn’t understand the details of how multi-threaded garbage collectors worked before reading it (I still don’t but I’m closer!). The tradeoff between a compacting garbage collector (Java) vs what you can bolt on to C without forking LLVM is particularly interesting.
cryptonector•35m ago
TFA is really good at explaining how a threaded GC works with minimal impact when it's not running.
cryptonector•41m ago
> Fil-C's pollchecks also support stop-the-world (via the FILC_THREAD_STATE_STOP_REQUESTED bit). This is used for:

> - Implementing fork(2), which needs all threads to stop at a known-good point before the fork child jettisons them.

Makes me wonder how it handles `vfork()`, but I think it needs just a safepoint and no stop-the-world since, after all, the child side of `vfork()` is executing in the same address space as the parent (until exec-or-exit), so it's as though it's the same thread as in the parent (which is stopped waiting for the child to exec-or-exit). All the more reasons that `fork()` is evil and `vfork()` much better.

foota•5m ago
I was looking at https://fil-c.org/programs_that_work and saw "dash 0.5.12. One tiny change: use fork(2) instead of vfork(2).", so maybe it doesn't :)
cryptonector•39m ago
@pizlonator I wonder if you couldn't bracket all assembly with `filc_exit`/`filc_enter` as you do system calls. When you know the assembly doesn't allocate memory then this should work fine but.. ah, it's the stack allocations that are also interesting, right? So you'd have to ensure that the assembly has enough stack space to execute _and_ that it does not invoke the heap allocator. But that seems doable for things like cryptography in in OpenSSL's libcrypto.

An untidy history of AI across four books

https://hedgehogreview.com/issues/lessons-of-babel/articles/perplexity
38•ewf•1h ago•15 comments

Ants that seem to defy biology – they lay eggs that hatch into another species

https://www.smithsonianmag.com/smart-news/these-ant-queens-seem-to-defy-biology-they-lay-eggs-tha...
219•sampo•7h ago•68 comments

Internet Archive's big battle with music publishers ends in settlement

https://arstechnica.com/tech-policy/2025/09/internet-archives-big-battle-with-music-publishers-en...
201•coloneltcb•3d ago•90 comments

Time Spent on Hardening

https://third-bit.com/2025/09/18/time-spent-on-hardening/
4•mooreds•9m ago•0 comments

Ruby Central's Attack on RubyGems [pdf]

https://pup-e.com/goodbye-rubygems.pdf
512•jolux•12h ago•148 comments

Safepoints and Fil-C

https://fil-c.org/safepoints
32•matt_d•3d ago•5 comments

Shipping 100 hardware units in under eight weeks

https://farhanhossain.substack.com/p/how-we-shipped-100-hardware-units
69•M_farhan_h•1d ago•41 comments

Show the Physics

https://interactivetextbooks.tudelft.nl/showthephysics/Introduction/About.html
102•pillars•3d ago•6 comments

Revamping an Old TV as a Gift (2019)

https://blog.davidv.dev/posts/revamping-an-old-tv-as-a-gift/
35•deivid•5h ago•13 comments

Internal emails reveal Ticketmaster helped scalpers jack up prices, FTC says

https://arstechnica.com/tech-policy/2025/09/ticketmaster-intentionally-screwed-fans-out-of-billio...
163•dthread3•1h ago•62 comments

Kernel: Introduce Multikernel Architecture Support

https://lwn.net/ml/all/20250918222607.186488-1-xiyou.wangcong@gmail.com/
30•ahlCVA•4h ago•4 comments

I regret building this $3000 Pi AI cluster

https://www.jeffgeerling.com/blog/2025/i-regret-building-3000-pi-ai-cluster
343•speckx•5h ago•275 comments

$100K fee added to H1B applications

https://www.reuters.com/business/media-telecom/trump-mulls-adding-new-100000-fee-h-1b-visas-bloom...
19•mriguy•15m ago•1 comments

Nostr

https://nostr.com/
252•dtj1123•14h ago•235 comments

Statistical Physics with R: Ising Model with Monte Carlo

https://github.com/msuzen/isingLenzMC
94•northlondoner•10h ago•58 comments

Your very own humane interface: Try Jef Raskin's ideas at home

https://arstechnica.com/gadgets/2025/09/your-very-own-humane-interface-try-jef-raskins-ideas-at-h...
9•zdw•2h ago•0 comments

Leatherman (vagabond)

https://en.wikipedia.org/wiki/Leatherman_(vagabond)
248•redbell•4d ago•128 comments

Dynamo AI (YC W22) Is Hiring a Senior Kubernetes Engineer

https://www.ycombinator.com/companies/dynamo-ai/jobs/fU1oC9q-senior-kubernetes-engineer
1•DynamoFL•8h ago

YouTube downloaders (and how Google silenced the press)

https://windowsread.me/p/best-youtube-downloaders
54•Leftium•7h ago•17 comments

Trevor Milton's Nikola case dropped by SEC following Trump pardon

https://eletric-vehicles.com/nikola/trevor-miltons-nikola-case-dropped-by-sec-following-trump-par...
238•xnx•5h ago•165 comments

The health benefits of sunlight may outweigh the risk of skin cancer

https://www.economist.com/science-and-technology/2025/09/17/the-health-benefits-of-sunlight-may-o...
128•petethomas•15h ago•121 comments

Frying Eggs and Air Quality Tests

https://chillphysicsenjoyer.substack.com/p/frying-eggs-and-air-quality-tests
52•crescit_eundo•2d ago•100 comments

R MCP Server

https://github.com/finite-sample/rmcp
3•neehao•2d ago•0 comments

The Many Broken Feeds

https://notes.abhinavsarkar.net/2025/broken-feeds
20•zdw•3d ago•11 comments

As Android developer verification gets ready to go, a new reason to be worried

https://www.androidauthority.com/android-sideload-offline-3598988/
136•josephcsible•6h ago•95 comments

Want to piss off your IT department? Are the links not malicious looking enough?

https://phishyurl.com/
999•jordigh•21h ago•294 comments

BYD unveils world's largest 14.5 MWh DC energy storage system

https://www.ess-news.com/2025/09/19/byd-unveils-worlds-largest-14-5-mwh-dc-energy-storage-system/
38•philipkglass•2h ago•8 comments

The Ruliology of Lambdas

https://writings.stephenwolfram.com/2025/09/the-ruliology-of-lambdas/
95•marvinborner•4d ago•37 comments

Help us raise $200k to free JavaScript from Oracle

https://deno.com/blog/javascript-tm-gofundme
554•kaladin-jasnah•18h ago•267 comments

Linux for Nintendo 64 (1997)

https://web.archive.org/web/19990220141243/http://www.heise.de/ix/artikel/E/1997/04/036/
51•flykespice•3d ago•22 comments