frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

C-events, yet another event loop, simpler, smaller, faster, safer

https://zelang-dev.github.io/c-events/
34•thetechstech•6d ago

Comments

mgaunard•1h ago
Why not io_uring? That's the biggest game changer.

I guess because it's not possible to abstract away as much.

immibis•39m ago
io_uring works fundamentally differently from polling loops and closer to Windows' IOCP (which is awesome and better than everything that existed on Linux for many years). With a polling loop you wait for data to be available in buffers, and then once you get the ready event, you copy it from the kernel's buffer to yours. With IOCP or io_uring, you submit a long-running read or write event directly into your buffer. You get the event after the read or write call, instead of before. Because of this, it's not possible to make it a drop-in replacement for poll/epoll.
pengaru•26m ago
didn't prevent libuv from adding support for it when available:

https://github.com/libuv/libuv/issues/1947

foobarian•3m ago
Is this a Windows lib? The tradeoffs are probably completely different than what we're used to then.

> c-events provides function wrappers to some Linux like functionality, exp. mkfifo for Windows.

kevin_thibedeau•28m ago

  void *rwtask(param_t v) {
   ...
   a = v->int_ptr;
   ...
   free(a);
It seems architecturally unwise to have a callback responsible for freeing its parameters. At the very least this fossilizes dependency on the stdlib heap.

Cameras and Lenses (2020)

https://ciechanow.ski/cameras-and-lenses/
214•sebg•3h ago•21 comments

Show HN: OpenWorkers – Self-hosted Cloudflare workers in Rust

https://openworkers.com/introducing-openworkers
274•max_lt•5h ago•94 comments

Python numbers every programmer should know

https://mkennedy.codes/posts/python-numbers-every-programmer-should-know/
172•WoodenChair•5h ago•78 comments

Dell's version of the DGX Spark fixes pain points

https://www.jeffgeerling.com/blog/2025/dells-version-dgx-spark-fixes-pain-points
24•thomasjb•1h ago•6 comments

iOS allows alternative browser engines in Japan

https://developer.apple.com/support/alternative-browser-engines-jp/
239•eklavya•7h ago•157 comments

Memory Subsystem Optimizations

https://johnnysswlab.com/memory-subsystem-optimizations/
27•mfiguiere•2h ago•3 comments

C-events, yet another event loop, simpler, smaller, faster, safer

https://zelang-dev.github.io/c-events/
34•thetechstech•6d ago•5 comments

Bluetooth Headphone Jacking: A Key to Your Phone [video]

https://media.ccc.de/v/39c3-bluetooth-headphone-jacking-a-key-to-your-phone
373•AndrewDucker•9h ago•111 comments

Finland detains ship and its crew after critical undersea cable damaged

https://www.cnn.com/2025/12/31/europe/finland-estonia-undersea-cable-ship-detained-intl
90•wslh•1h ago•37 comments

Build a Deep Learning Library

https://zekcrates.quarto.pub/deep-learning-library/
71•butanyways•5h ago•11 comments

Common Lisp SDK for the Datastar Hypermedia Framework

https://github.com/fsmunoz/datastar-cl
55•fsmunoz•4h ago•7 comments

Quickemu: Quickly create and run optimised Windows, macOS and Linux VMs

https://github.com/quickemu-project/quickemu
57•teekert•2d ago•5 comments

Building an internal agent: Code-driven vs. LLM-driven workflows

https://lethain.com/agents-coordinators/
22•pavel_lishin•2h ago•2 comments

All my Deutschlandtickets gone: Fraud at an industrial scale [video]

https://media.ccc.de/v/39c3-all-my-deutschlandtickets-gone-fraud-at-an-industrial-scale
59•Kyro38•4d ago•13 comments

Implementing HNSW (Hierarchical Navigable Small World) Vector Search in PHP

https://centamori.com/index.php?slug=hierarchical-navigable-small-world-hnsw-php&lang=en
63•centamiv•4h ago•13 comments

Love your customers

https://bcantrill.dtrace.org/2025/12/31/love-your-customers/
59•chmaynard•23h ago•8 comments

Sony PS5 ROM keys leaked – jailbreaking could be made easier with BootROM codes

https://www.tomshardware.com/video-games/playstation/playstation-5-rom-keys-leaked-jailbreaking-c...
194•gloxkiqcza•4h ago•41 comments

Motion and Machine

https://blog.ayjay.org/motion-and-machine/
6•roktonos•4d ago•0 comments

Heap Overflow in FFmpeg EXIF

https://bugs.pwno.io/0014
66•retr0reg•5h ago•23 comments

Show HN: Wario Synth – Turn any song into Game Boy version

https://www.wario.style
13•birdmania•10h ago•2 comments

Worlds largest electric ship launched by Tasmanian boatbuilder

https://www.theguardian.com/australia-news/2025/may/02/hull-096-worlds-largest-electric-ship-batt...
111•aussieguy1234•10h ago•91 comments

Simple 3D Packing

https://github.com/Vrroom/psacking
29•matroid•5d ago•5 comments

If you care about security you might want to move the iPhone Camera app

https://blog.jgc.org/2025/12/if-you-care-about-security-you-might.html
119•jgrahamc•4d ago•51 comments

Arpanet standardized TCP/IP on this day in 1983

https://www.tomshardware.com/networking/arpanet-standardized-tcp-ip-on-this-day-in-1983-43-year-o...
19•barishnamazov•1h ago•0 comments

2025: The Year in LLMs

https://simonwillison.net/2025/Dec/31/the-year-in-llms/
817•simonw•20h ago•445 comments

Children and Helical Time

https://moultano.wordpress.com/2025/12/30/children-and-helical-time/
131•moultano•10h ago•95 comments

2025 Letter

https://danwang.co/2025-letter/
165•Amorymeltzer•6h ago•100 comments

Rust--: Rust without the borrow checker

https://github.com/buyukakyuz/rustmm
108•ravenical•9h ago•172 comments

Meta made scam ads harder to find instead of removing them

https://sherwood.news/tech/rather-than-fully-cracking-down-on-scam-ads-meta-worked-to-make-them-h...
253•wtcactus•8h ago•82 comments

Easel Turns One One year of building my own IDE in Clojure

https://blog.phronemophobic.com/easel-one-year.html
158•todsacerdoti•5d ago•14 comments