frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Lesser-Known but C Language Facts That Might Surprise You

1•whyandgrowth•1h ago
While C is one of the oldest and most studied programming languages, it still has some quirks and historical oddities that many developers might not know:

1. Undefined Behavior for Performance: C deliberately includes undefined behavior (UB) for things like signed integer overflow or dereferencing null pointers. This isn’t a bug—it’s a design choice. By leaving behavior undefined, compilers can make radical optimizations. For example, they can assume a signed integer never overflows and remove “dead” code handling that case, improving performance.

2. Variable Declarations Mimic Usage: Dennis Ritchie admitted that C’s declaration syntax (e.g., int *p) can be confusing because it mirrors the variable’s use. While controversial, he insisted there’s a certain logic behind it, tying declaration to how the variable is used.

3. Trigraphs and Digraphs: C once supported “trigraphs” (three-character sequences like ??= for #) and “digraphs” (two-character sequences like <: for [) to help with portability on old systems lacking certain symbols. Trigraphs were officially removed in C23.

4. The Struct Hack & Flexible Array Members: C programmers long used the “struct hack” to create variable-length structs by adding a zero-length array at the end of a struct. C99 formalized this with flexible array members, making variable-length structs officially supported.

Even decades later, C still hides these little gems that reveal both its history and its genius.

Hypervisors are the new data centre OS

https://ian.seyler.me/hypervisors-are-the-new-data-centre-os/
1•ianseyler•44s ago•0 comments

Deported South Koreans workers report how badly ICE mistreated them

https://www.hani.co.kr/arti/society/society_general/1218653.html
1•aredox•1m ago•0 comments

Teenage Engineering's Free Mini-Computer Case

https://www.core77.com/posts/138274/Teenage-Engineerings-Free-Mini-Computer-Case
1•surprisetalk•1m ago•0 comments

A Pitfall of "Expertise"

https://justismills.substack.com/p/a-pitfall-of-expertise
1•surprisetalk•1m ago•0 comments

Pizza Cutters, from Underdesigned to Overdesigned

https://www.core77.com/posts/138409/Pizza-Cutters-from-Underdesigned-to-Overdesigned
1•surprisetalk•2m ago•0 comments

OpenAI Ramps Up Robotics Work in Race Toward AGI

https://www.wired.com/story/openai-ramps-up-robotics-work-in-race-toward-agi/
1•manveerc•4m ago•0 comments

Can ChatGPT Land an Airplane? [video]

https://www.youtube.com/watch?v=TLMBu0KxTnU
1•kqr•6m ago•0 comments

Patek Philippe will raise prices by 15% today

https://www.watchpro.com/exclusive-patek-philippe-will-raise-prices-by-15-on-monday/
1•bookofjoe•7m ago•0 comments

SeL4 Summit – Trustworthy Systems R&D Update – Gernot Heiser, UNSW Sydney [video]

https://www.youtube.com/watch?v=wP48V34lDhk
2•snvzz•8m ago•0 comments

Show HN: A tool to launch your website in minutes

https://photonpages.com
1•justinfrost47•12m ago•0 comments

You can't test if quantum uses complex numbers

https://algassert.com/post/2501
1•EvgeniyZh•14m ago•0 comments

Balance between refactoring and inheritance in your code

https://github.com/sl8s/smvp
1•sl8s•15m ago•0 comments

New botnet large enough to disrupt all internet to countries

https://www.wsj.com/tech/cybersecurity/the-fbi-destroyed-an-internet-weapon-but-criminals-picked-...
2•lakoshi•18m ago•1 comments

Navy chief caught installing unauthorised satellite receiver (2024)

https://www.independent.co.uk/news/world/americas/starlink-uss-manchester-satelite-marrero-b26094...
1•fidotron•19m ago•0 comments

GoCSV: CSV Serialization and Deserialization for Go

https://github.com/gocarina/gocsv
2•klaussilveira•21m ago•0 comments

A Dumb Introduction to z3 using Rust

https://asibahi.github.io/thoughts/a-gentle-introduction-to-z3/
2•kfl•25m ago•0 comments

XeroxNostalgia.com

https://xeroxnostalgia.com/
2•surprisetalk•31m ago•0 comments

China turns the screws on Nvidia with antitrust probe

https://www.theregister.com/2025/09/15/china_nvidia_antitrust/
4•rntn•34m ago•0 comments

Third of UK firms using 'bossware' to monitor workers' activity, survey reveals

https://www.theguardian.com/world/2025/sep/14/uk-firms-bossware-monitor-workers-activity
5•Brajeshwar•34m ago•0 comments

Is America Ready for Japanese-Style 7-Elevens?

https://www.nytimes.com/2025/09/09/business/7-eleven-ceo-stephen-dacus.html
2•bookofjoe•38m ago•1 comments

Show HN: Bulletty, a pretty TUI feed reader that stores articles as Markdown

https://github.com/CrociDB/bulletty
1•CrociDB•38m ago•0 comments

The Constexpr Debugger

https://blog.jetbrains.com/clion/2025/09/introducing-constexpr-debugger/
2•ingve•40m ago•0 comments

The $10 Payment That Cost Me $43.95 – The Madness of SaaS Chargebacks

https://medium.com/@citizenblr/the-10-payment-that-cost-me-43-95-the-madness-of-saas-chargebacks-...
18•evermike•41m ago•18 comments

Arc Tabs – Sidebar Vertical Tabs for You

https://chromewebstore.google.com/detail/arc-tabs-sidebar-vertical/fmdcddgkjceilbjnendchimddgbmnjdo
1•nanxiaobei•41m ago•0 comments

Ask HN: Costs for US sales tax compliance for a two-sided marketplace

2•throway-9998888•41m ago•1 comments

Hail the Maintainers (2016)

https://aeon.co/essays/innovation-is-overvalued-maintenance-often-matters-more
1•throw0101a•42m ago•0 comments

Global Crossing Is Reborn

https://pracap.com/global-crossing-reborn/
2•wwilson•42m ago•0 comments

No Pain, No Gain

https://blog.staysaasy.com/p/the-trauma-you-need-to-learn
3•jger15•42m ago•0 comments

The Day the Linter Broke My Code

https://blog.fillmore-labs.com/posts/errors-2/
1•eik•44m ago•1 comments

Neuronpedia - open souce interpretability platform for AI Models

https://www.neuronpedia.org/
2•nalinidash•47m ago•0 comments