frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Restoration of retinal regenerative potential of Müller glia

https://www.nature.com/articles/s41467-025-58290-8
1•nikolay•1m ago•0 comments

Humanely Dealing with Humungus Crawlers

https://flak.tedunangst.com/post/humanely-dealing-with-humungus-crawlers
1•carlesfe•2m ago•0 comments

Nepal's Social Media Ban Backfires as Politics Moves to a Chat Room

https://www.nytimes.com/2025/09/11/world/asia/nepal-protest-genz-discord.html
1•aspenmayer•5m ago•1 comments

Carefully curated AI style transfer library

https://visualsandbox.com/
1•vuuduu•7m ago•0 comments

The Trump Administration Wants to Roll Back Airline Passenger Rights

https://www.nytimes.com/2025/09/11/travel/airline-passenger-protections-trump-transportation-depa...
1•mikhael•9m ago•0 comments

Building the AI-powered local smart home

https://www.home-assistant.io/blog/2025/09/11/ai-in-home-assistant/
1•balloob•15m ago•0 comments

Styled-components maintenance mode: A 40% faster fork

https://www.sanity.io/blog/cut-styled-components-into-pieces-this-is-our-last-resort
4•isaiahwp•17m ago•0 comments

Angel Number Calculator – Calculate Your Angel Number by Birthday and Name

https://arcanacalculator.com/angel-number-calculator
1•hailuo_music•19m ago•0 comments

How AI Is a Game Changer for the Leader Who Reads

https://alexrandallkittredge.substack.com/p/how-ai-is-a-game-changer-for-the
1•wmeller•20m ago•0 comments

Hyundai is now delaying its EV battery plant that was raided by ICE

https://electrek.co/2025/09/11/hyundai-now-delaying-ev-battery-plant-raided-by-ice/
2•buyucu•20m ago•0 comments

Erlang/OTP in Telecom Use Cases – Interview with Vance Shipley (SigScale) [video]

https://www.youtube.com/watch?v=fO61nZLA7A8
1•vkatsuba•20m ago•1 comments

Implementing Namespaces and Coding Standards in WordPress Plugin Development

https://developer.wordpress.org/news/2025/09/implementing-namespaces-and-coding-standards-in-word...
1•taubek•21m ago•0 comments

Comment Directives for Claude Code

https://giuseppegurgone.com/comment-directives-claude-code
1•tosh•23m ago•0 comments

The Rise of 'Conspiracy Physics'

https://www.wsj.com/science/physics/the-rise-of-conspiracy-physics-dd79fe36
2•EvgeniyZh•25m ago•0 comments

Postal codes of all Israeli settlements and API to lookup and avoid

https://github.com/edubsky/israeli-settlements-postal-codes
3•slackr•29m ago•1 comments

Free scatter plot maker online

https://radarchart.net/scatter-plot
1•chinesenamenow•33m ago•0 comments

Racintosh Plus

http://www.identity4.com/2025-racintosh-plus/
1•ingve•36m ago•0 comments

How information flows through Transformers

https://twitter.com/repligate/status/1965960676104712451
1•cubefox•37m ago•0 comments

Retrieval Embedding Benchmark (RTEB)

https://huggingface.co/spaces/embedding-benchmark/RTEB
1•fzliu•38m ago•0 comments

Tonnes of toxic landfill liquid spread on English farms

https://www.theguardian.com/environment/2025/sep/12/toxic-landfill-liquid-sewage-spread-farms-eng...
4•zeristor•42m ago•1 comments

Firefox Introducing Matroska / MKV Playback Support

https://bugzilla.mozilla.org/show_bug.cgi?id=1422891
2•Improvement•43m ago•1 comments

Software Design for Flexibility (2021)

https://mitpress.ublish.com/ebook/software-design-for-flexibility-preview/12618/iii
1•swatson741•44m ago•0 comments

Qwen3-Next: Towards Ultimate Training and Inference Efficiency

https://qwen.ai/blog?id=4074cca80393150c248e508aa62983f9cb7d27cd&from=research.latest-advancement...
1•tosh•46m ago•0 comments

Consensus Reality

https://en.wikipedia.org/wiki/Consensus_reality
2•XzetaU8•53m ago•0 comments

FatNums: An Alternate Representation for School Arithmetic (2020)

https://parentheticallyspeaking.org/articles/fat-nums/
1•todsacerdoti•55m ago•0 comments

Why Large Language Models (LLMs) Will Not Understand Human Language (2022)

https://jeremyhadfield.com/why-llms-will-not-understand-language
1•teleforce•56m ago•0 comments

Theme Hospital Behind the Scenes Q&A (2011)

https://web.archive.org/web/20180204070226/https://forum.gamestm.co.uk/viewtopic.php?t=17641
2•Michelangelo11•57m ago•1 comments

Playing perfectly: How does Alcaraz rank vs. men's tennis legends at 22?

https://www.bbc.com/sport/tennis/articles/czew374r499o
2•teleforce•1h ago•0 comments

Program Inversions to Reorder Code (1977)

https://minds.wisconsin.edu/handle/1793/58028
1•todsacerdoti•1h ago•0 comments

ChatGPT Gains Support for External MCP Servers

https://nextweekai.com/p/chatgpt-gains-support-for-external-mcp-servers
1•javatuts•1h ago•0 comments
Open in hackernews

A modern, modular utility library for C developers

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

Comments

dailker•2h ago
Hey HN,

I want to share everyutil-c, a C utility library aimed at filling in gaps beyond the C standard library, with performance, modularity, and cross-platform consistency as first-class requirements. Below are some of the technical design decisions, recent improvements, and open areas where I’d love feedback or contributions.

Everyutil-C is meant as a “standard library extension” for C projects — lightweight, dependency-minimal, and structured so you can pull in only what you need. Key subsystems include:

1. dynamic array abstractions, safer iteration, bounds checking, contiguous resizing, insertion/removal, possibly span/view-like APIs.

2.enhancements over strlen, strcpy/strncpy, concatenation, splitting, trimming, maybe UTF or ASCII “safe” operations.

3. parsing, formatting, safe arithmetic (overflow detection), maybe integer ↔ string conversions.

4. wrapping malloc/free with alignment options, optional debugging hooks, etc.

5. handling Windows vs POSIX differences, proper __declspec(dllexport) stuff, platform detection, conditional compilation.

Recent Technical Milestones

1. Improved performance of iteration (fewer bounds checks, perhaps more inlining).

2. clearer ownership semantics, avoidance of buffer overruns in growth/resizing.

3. cleaner internal structure, possibly splitting core and helper functions so that the minimal subset (e.g. fixed-size dynamic arrays) can be used without pulling in everything.

4. Support for Make, Autotools, and CMake so as to integrate with different build pipelines.

build.sh script to automate configuration, especially helpful on MSYS2/Windows, where toolchain quirks (path separators, runtime linking, DLL visibility, etc.) can be a headache.

Proper handling of DLL exports on Windows; ensuring symbols are exported appropriately, avoiding linker errors.

Testing & correctness

Full test suite covering edge cases (zero length, null pointers, huge sizes, overflow).

Cross-platform tests to verify behavior is consistent on Linux, macOS, Windows.

Automated CI likely (or recommended) to verify builds under different compilers (gcc, clang, MSVC or mingw).

Technical Trade-offs & Design Choices

Some of the tricky technical decisions/constraints and how I addressed (or plan to address) them:

Minimal dependencies vs feature richness. I avoid bringing in large external libraries; aim is to stay in “pure C99 (or close)” so users don’t have to link dozens of other libs.

Memory allocation strategies: resizing vs doubling, growth factors, freeing, fragmentation. Trying to keep it reasonable without over-engineering.

Symbol visibility & binary interfaces: ensuring that the API headers are stable, and that users who build shared libs / static libs get consistent behavior. Handling extern "C" for C++ usage, etc.

Portability quirks: Windows’ path handling, _snprintf vs snprintf, difference in size_t, alignment issues; ensuring macros / config headers detect and adapt.

What I’m seeking feedback on

Are there any missing utility subsystems people commonly need in C that would integrate well here (e.g. logging, formatting, serialization)?

How do people prefer safe vs unsafe APIs: do you want always safe, or ability to sacrifice safety for speed?

What patterns for versioning/stability are helpful: semantic versioning, API deprecation path, binary compatibility?

Experiences integrating similar libraries (stb, klib, GLib, etc.): what patterns or pitfalls do you want to avoid?

Suggestions around documentation / API specification style: inline comments, header docs, external reference, examples.

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

If you find it useful, I’d appreciate a on the repo.

Thanks, @dailker