frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Everyutil-C – A modular, cross-platform C utility library

https://github.com/dailker/everyutil-c
3•dailker•7h ago

Comments

dailker•7h ago
I’ve been working on a C utility library called everyutil-c over the past few months, and wanted to finally share it here. It's a lightweight but powerful collection of utility functions, designed with performance, clarity, and portability in mind.

A few things we focused on:

Clean, well-documented API

Modular components (pull in only what you need)

Full test coverage

Easy builds: works out of the box with Make, Autotools, or CMake

Cross-platform: Linux, macOS, and Windows (with proper DLL export handling)

New build.sh script for smoother setup, especially in environments like MSYS2

We recently rewrote the array utilities for better performance and maintainability, which felt like a good milestone to share this more broadly.

If you use C regularly (or even just occasionally), I’d really love to hear your feedback. What do you value most in a utility lib? Have you run into issues when integrating small C libraries into larger projects—especially when dealing with multiple platforms or compilers?

Also curious: if you’ve used other libraries like stb, klib, or GLib, what worked for you and what didn’t?

Feedback, ideas, bug reports, feature requests—all are welcome. Repo link is in the comments if you want to check it out or contribute.

Thanks!

https://github.com/dailker/everyutil-js

https://github.com/dailker/everyutil-c

chrism238•7h ago
We really need a description of what the library provides!
dailker•6h ago
everyutil-c is a modern, modular C utility library crafted to provide a wide collection of robust, reusable functions that simplify everyday low-level programming tasks across platforms. It acts as a “standard library extension,” bundling together well-tested logic for common needs such as array manipulation, string processing, number utilities, and more all with performance and portability in mind. The API is intentionally designed to be clean and intuitive, exposing clearly documented headers and consistent function signatures, making it easy to drop into existing projects. Under the hood, the implementation emphasizes speed and reliability, with careful memory handling and minimal external dependencies. The library is thoroughly tested using a dedicated test suite to ensure correctness and stability across use cases. everyutil-c supports multiple build systems Makefiles, Autotools, and CMake and provides an automated build.sh script that can even fetch dependencies and configure environments like MSYS2 on Windows. Recent enhancements include a major refactor of array utilities (e.g., more efficient iteration, memory-safe operations), improved build scripts, and better platform abstraction.

*everyutil-js is JavaScript version of it (identically clone)

laveur•6h ago
The lack of API doc's for the c version is kind of frustrating. It makes it impossible for someone to evaluate whether or not your library is suitable for something they need. Or if it is, how to use properly.
dailker•5h ago
README.MD to navigate on GitHub via markdown links
dailker•5h ago
oh i got you i will add that to C version. I was kinda lazy after JS. Definitely loved that idea! Thanks

Using Gemini and Claude for SQL Analytics – A Bake Off

https://benjaminwootton.com/insights/clickhouse-gemini-claude
1•benjaminwootton•6m ago•0 comments

Hypercapitalism and the AI Talent Wars

https://blog.johnluttig.com/p/hypercapitalism-and-the-ai-talent
2•walterbell•6m ago•0 comments

The more senior engineers get, the more results matter

https://www.seangoedecke.com/being-accountable-for-results/
1•BerislavLopac•7m ago•0 comments

Nvidia GPU Specs and Pricing Cheatsheet

https://github.com/carsonpo/gpus
1•carsonpoole•9m ago•0 comments

The Gentle Romance

https://www.asimov.press/p/gentle-romance
1•lr0•11m ago•0 comments

Grok 4 vs. ChatGPT: Bypassing Strict AI Filters with Advanced Prompt Engineering

https://lightcapai.medium.com/grok-4-vs-a43643489c48
1•WASDAai•14m ago•1 comments

Elon Musk's SpaceX might invest $2B in Musk's xAI

https://techcrunch.com/2025/07/13/elon-musks-spacex-might-invest-2-billion-in-musks-xai/
2•doctoboggan•15m ago•0 comments

The most responsible AI model

https://www.goody2.ai/
1•nabla9•15m ago•0 comments

Holographic ribbon aims to oust magnetic tape with 50-year life span and 200TB

https://www.tomshardware.com/pc-components/storage/holographic-ribbon-aims-to-oust-magnetic-tape-with-50-year-life-span-and-200tb-capacity-per-cartridge-holomem-says-optical-ribbon-based-carts-work-with-some-components-of-existing-systems-reducing-fricition
3•freddier•18m ago•0 comments

Macron calls on EU to 'defend European interests resolutely' from Trump

https://www.theguardian.com/us-news/2025/jul/13/macron-calls-on-eu-to-defend-european-interests-resolutely-from-trump-tariffs
3•Bluestein•18m ago•0 comments

The origin story of OnlyFans

https://www.reuters.com/investigates/special-report/onlyfans-sex-origins/
1•lr0•18m ago•0 comments

Strava Fitness App Revealed Locations of Swedish Leaders

https://www.nytimes.com/2025/07/11/world/europe/strava-sweden-bodyguards-prime-minister.html
1•bookofjoe•19m ago•1 comments

Bernie Sanders Reveals the AI 'Doomsday Scenario' That Worries Top Experts

https://gizmodo.com/bernie-sanders-reveals-the-ai-doomsday-scenario-that-worries-top-experts-2000628611
2•DocFeind•20m ago•2 comments

Will all our drugs come from China?

https://atelfo.github.io/2024/12/20/will-all-our-drugs-come-from-china.html
2•lr0•22m ago•0 comments

Towards Autonomous Micromobility Through Scalable Urban Simulation

https://github.com/metadriverse/urban-sim
1•JnBrymn•24m ago•0 comments

For a few days this summer, your days will be just a smidge shorter

https://www.washingtonpost.com/science/2025/07/11/shorter-days-faster-earth-rotation/
1•anyonecancode•26m ago•0 comments

0.32.0 – Atoms, popups, and better SVG support

https://github.com/emilk/egui/releases/tag/0.32.0
1•weinzierl•27m ago•0 comments

Show HN: I made a free, simple Mac app for tracking your sobriety

https://quititapp.com/
1•virgildotcodes•27m ago•0 comments

Musks xAI pressed employees to install surveillance software on personal laptops

https://www.businessinsider.com/xai-pressed-workers-install-surveillance-software-personal-laptops-2025-7
4•c420•28m ago•0 comments

You've Been Lied to About Food Prices [video]

https://www.youtube.com/watch?v=wyo1u9WxUG4
1•dataflow•30m ago•0 comments

The radical 1960s experiment that left thousands of children unable to spell

https://www.theguardian.com/education/2025/jul/06/1960s-schools-experiment-created-new-alphabet-thousands-children-unable-to-spell
3•rwmj•30m ago•1 comments

Show HN: I built an open-source and serverless authentication system

1•iamjc54•30m ago•0 comments

No Subsidies, No Problem

https://prometheusfuels.com/news/no-subsidies-no-problem
1•CorrectHorseBat•32m ago•0 comments

The science of pain – and why everyone feels it differently

https://www.theguardian.com/australia-news/2025/jul/14/the-fascinating-science-of-pain-and-why-everyone-feels-it-differently
3•devonnull•36m ago•0 comments

OpenICE: Open-Source US Immigration Detention Dashboard

https://www.openice.org/
41•supermaxman•36m ago•8 comments

Jonathan Blow – Jai Demo and Design Explanation [video]

https://www.youtube.com/watch?v=IdpD5QIVOKQ
2•ibobev•37m ago•0 comments

Show HN: Satellite Sonnet, a Shakespearean sonnet about NASA's daily image

https://alexdean.io/satellite-sonnet/
1•alexanderdean•38m ago•0 comments

Lex Fridman – DHH interview [video]

https://www.youtube.com/watch?v=vagyIcmIGOQ
3•balance-it•40m ago•0 comments

Show HN: SynactJS – A minimal React/Preact-inspired UI library

https://github.com/joexbayer/SynactJS
1•joexbayer•41m ago•0 comments

Socket at Black Hat and DEF Con 2025 in Las Vegas

https://socket.dev/blog/meet-socket-at-black-hat-and-def-con-2025-in-las-vegas
1•feross•44m ago•0 comments