frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

SwiftNet – C networking library (macOS-only for now, needs Linux testers)

https://github.com/deadlightreal/SwiftNet
2•deadlightreal•5h ago

Comments

deadlightreal•5h ago
Hello dear people,

I’m working on SwiftNet, a small and easy-to-use C library for making networking communications in C straightforward. It’s a wrapper over Berkeley sockets with a simple API, readable, and easy to integrate.

Right now, it’s only been tested on macOS, so I’m looking for contributors to:

Test it on Linux Suggest improvements Help refine the design/API The codebase is pretty small, and while the API is straightforward, the internals are admittedly a bit rough right now. I’m still learning and improving!

Why I built this:

I wanted to create a C library that makes sending data over the network reliable and easy, while learning more about low-level networking and systems design. Everything is written in pure C, built with a basic CMake setup, and has no external dependencies.

Example usage:

// Server sends "hello" to every client that sends a message void server_message_handler(uint8_t* data, SwiftNetPacketServerMetadata* metadata) { swiftnet_server_append_to_packet(server, "hello", strlen("hello")); swiftnet_server_send_packet(server, metadata->sender); swiftnet_server_clear_send_buffer(server); }

How you can help: Test on Linux: clone, build with cmake, and run the tests in /tests Suggest improvements to the overall library or code clarity Share ideas for future features

Thanks for checking it out! Ask me anything.

Repo: https://github.com/deadlightreal/SwiftNet

The AI Preacher: From the Cloud or the Spirit?

https://reviews.ofb.biz/safari/article/1327.html
1•trbutler•33s ago•0 comments

What's stopping America from going all-in on heat pumps?

https://climatedrift.substack.com/p/whats-stopping-america-from-going
1•ssuds•1m ago•0 comments

Google Offers Voluntary Buyouts to Core U.S. Teams Amid AI Push

https://www.searchenginejournal.com/google-offers-voluntary-buyouts-to-core-u-s-teams-amid-ai-push/548815/
1•1vuio0pswjnm7•3m ago•0 comments

Redwood Materials launches energy storage business targeting AI data centers

https://techcrunch.com/2025/06/26/redwood-materials-launches-energy-storage-business-and-its-first-target-is-ai-data-centers/
1•rntn•5m ago•0 comments

At Amazon's Biggest Data Center, Everything Is Supersized for A.I

https://www.nytimes.com/2025/06/24/technology/amazon-ai-data-centers.html
1•bookofjoe•5m ago•1 comments

Supreme Court Limits Use of Nationwide Injunctions

https://www.nytimes.com/live/2025/06/27/us/birthright-citizenship-supreme-court
2•masfuerte•6m ago•0 comments

DeepSeek's next-gen model delayed by Nvidia GPU export restrictions

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-disruptor-deepseeks-next-gen-model-delayed-by-nvidia-h20-restrictions-short-supply-of-accelerators-hinders-development
1•twapi•6m ago•0 comments

Spiffe Overview

https://spiffe.io/docs/latest/spiffe-about/overview/
1•mooreds•6m ago•0 comments

Neuralink Update, Summer 2025 [video]

https://www.youtube.com/watch?v=FASMejN_5gs
1•frainfreeze•9m ago•0 comments

Ask HN: Is internet hobby tech dead?

3•gabordemooij•11m ago•2 comments

Show HN: I built an AI-Powered semantic search for Mac

https://github.com/neberej/smart-search
1•coffeecoders•13m ago•0 comments

Google offers 'voluntary' buyouts to ensure workers are 'deeply committed'

https://nypost.com/2025/02/03/tech/google-offers-voluntary-buyouts-to-ensure-workers-are-deeply-committed/
1•1vuio0pswjnm7•14m ago•2 comments

Show HN: Dutch (Online) Programming Language

https://citrine-lang.org/nl.ctr
1•gabordemooij•15m ago•0 comments

LogTen Pilot Logbook

https://logten.com/
1•m5r•16m ago•1 comments

Transmitting data via ultrasound without any special equipment

https://halcy.de/blog/2025/06/27/transmitting-data-via-ultrasound-without-any-special-equipment/
2•todsacerdoti•17m ago•0 comments

"Dry Pants Eat No Fish"

https://www.futilitycloset.com/2025/06/26/dry-pants-eat-no-fish/
1•speckx•17m ago•1 comments

Crewless ship is defending Denmark's and NATO's waters

https://www.euronews.com/next/2025/06/25/this-crewless-ship-is-defending-denmarks-and-natos-waters-this-is-how-it-works
2•MaysonL•18m ago•1 comments

Windows is getting rid of the Blue Screen of Death after 40 years

https://www.theverge.com/news/692648/microsoft-bsod-black-screen-of-death-color-change-official
1•sizzle•19m ago•1 comments

A Message Drifts

https://www.amygoodchild.com/blog/a-message-drifts
1•pavel_lishin•22m ago•0 comments

Tap water into hydrogen: Strategy lets PEM electrolyzers use impure water

https://techxplore.com/news/2025-06-hydrogen-strategy-pem-electrolyzers-impure.html
1•Brajeshwar•22m ago•0 comments

Best Open-Source Embedding Models Benchmarked and Ranked

https://supermemory.ai/blog/best-open-source-embedding-models-benchmarked-and-ranked/
3•dhravya•23m ago•0 comments

Reading the Fractals: What Nature's Patterns Say About Our Future

https://atmos.earth/reading-the-fractals-what-natures-patterns-say-about-our-future/
1•speckx•26m ago•0 comments

Deepseek faces possible removal from German app stores

https://the-decoder.com/deepseek-faces-possible-removal-from-german-app-stores/
1•amai•28m ago•0 comments

JavaScript Chose Violence

https://martinrue.com/javascript-chose-violence/
2•Qadriq•30m ago•0 comments

Microsoft Plans to Cut Thousands More Employees

https://www.wsj.com/tech/microsoft-layoffs-sales-ai-25638cab
3•1vuio0pswjnm7•31m ago•0 comments

The blind leading the gamers

https://www.wired.com/story/ross-minor-the-blind-leading-the-gamers/
1•PaulHoule•34m ago•0 comments

Combinatorial Explosion of Versions 5 Years Later

https://worklifenotes.com/2025/06/27/combinatorial-explosion-of-versions-5-years-later/
1•taleodor•36m ago•1 comments

Sites I created in the past that I thought would make me a millionaire

1•01-_-•36m ago•0 comments

Flashing open-source firmware into Eufy C120 IP Camera

https://blog.vasi.li/flashing-a-eufy-c-120-security-camera-with-custom-firmware/
2•vsviridov•37m ago•1 comments

'The Social Network 2' in the Works, Aaron Sorkin Directing

https://variety.com/2025/film/news/the-social-network-2-aaron-sorkin-directing-1236440596/
1•ohjeez•37m ago•0 comments