frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Tail-call optimization in C is relatively recent

https://lwn.net/Articles/1034703/
19•prakashqwerty•55m ago

Comments

mmsc•12m ago
and TCO was added then removed from js! https://stackoverflow.com/a/54721813

This leads to fun stack-overflow bugs too in a lot of js code (one solution is to flatten: https://joshua.hu/javascript-infinite-tail-call-recursion-st...)

pfdietz•11m ago
Lack of TCO is also a common footgun for Scheme programmers using Common Lisp.
kenjin4096•9m ago
I think Anton is replying to me in that LWN article IIRC. I personally didn't know C only had tail calls that late and learnt something new there!

On the other hand, I am pretty new to the compiler space myself, and I count early 2000s as a pretty long time ago, though again it is not that far back considering how long other language implementations had tail calls like in ML or variants since 1980-90s.

messe•6m ago
> In 2001 Mark Probst implemented tail-call optimization in GCC with a separate calling convention; he lists the limitations of the then-existing tail-call optimization in GCC in section 6.4, among them: "It cannot handle indirect calls" (which would have been used in tail calls for interpreter dispatch).

Relatively recent being a quarter of century? Or at least a fifth of a century for indirect calls[1] (GCC 3.4.6 is the earliest I see on Compiler Explorer, released March 2006).

[1]: https://godbolt.org/z/vvcnn54oM

nyeah•6m ago
>That quote is the article, and it's a little surprising that it's buried so far into the content

Is it really surprising in 2026? Today's online writing style is not designed to communicate. It's designed to keep the reader 'engaged' for as long as possible. The reader's time is a resource to be extracted.

I'm absolutely not poking this author individually. It's the writing style of the net.

Apple M1 Series SoCs to See ~1 Watt Power Savings with Linux 7.3

https://www.phoronix.com/news/Apple-M1-Power-Savings-Linux-73
1•DemiGuru•1m ago•0 comments

Study reveals people with ADHD are more likely to experience violence

https://www.swansea.ac.uk/press-office/news-events/news/2026/08/study-reveals-people-with-adhd-ar...
1•01-_-•1m ago•0 comments

Programmers Were the Compiler

https://www.minid.net/2026/8/10/programmers-were-the-compiler
1•meerita•2m ago•0 comments

Mnemara – a memory layer that keeps Claude agents continuous

https://github.com/mekickdemons-creator/mnemara
1•Mekickdemons•3m ago•1 comments

Over 181,000 AI meeting recordings left wide open in note taking app

https://bobdahacker.com/blog/tldv-hack
2•colesantiago•4m ago•0 comments

Chuck Grassley Announces the Death of His Beloved Vacuum, Beth

https://www.nytimes.com/2026/08/08/us/politics/beth-vacuum-chuck-grassley-iowa.html
1•reaperducer•4m ago•0 comments

Venaya – A financial wellness platform that adapts to your life stage

https://venaya.app
1•victoriaeast•4m ago•0 comments

DeepSeek costs OpenCode Go user $1.14/day; dual DGX breaks even in 24 years

https://twitter.com/thdxr/status/2086599224674681242
1•delduca•5m ago•0 comments

Farmer kills 25 acres of crops after following AI weed and pest control advice

https://www.tomshardware.com/tech-industry/artificial-intelligence/chinese-farmer-kills-25-acres-...
2•josephcsible•5m ago•0 comments

The AI Slop Backlash Is Having an Impact

https://www.wired.com/story/the-ai-slop-backlash-is-actually-having-an-impact/
1•infinitelurker•6m ago•0 comments

The First Pirated MP3

https://dfarq.homeip.net/the-first-pirated-mp3/
1•jnord•6m ago•0 comments

Antiqua–Fraktur Dispute

https://en.wikipedia.org/wiki/Antiqua%E2%80%93Fraktur_dispute
1•buzzy_hacker•7m ago•0 comments

Google Play now lets you install rival app stores

https://www.theverge.com/tech/977269/google-play-store-third-party-app-aptoide-games
1•BlueBerry2001•9m ago•0 comments

Fable one-shotted a Rust rewrite of the TerminalTextEffects Python library

https://twitter.com/dhh/status/2086590006898958752
1•wg0•9m ago•0 comments

AI Coding and Its Discontents

https://calnewport.com/on-ai-coding-and-its-discontents/
1•polymorph1sm•12m ago•0 comments

Squeak/Smalltalk 6.1 Release Notes

https://squeak.org/release_notes/6.1/
2•fniephaus•14m ago•0 comments

Humanity renamed genes because of Excel

https://davidemornatta.it/excel-genes
4•kegenaar•14m ago•0 comments

MongoDB Shell JavaScript: Bulk Updates, Loops and Analysis

https://visualeaf.com/blog/mongodb-shell-scripting-bulk-updates-loops-analysis/
2•kyle_mongo•15m ago•0 comments

Octopus Energy: use less electricity during solar eclipse

https://www.theguardian.com/business/2026/aug/10/octopus-energy-electricity-solar-eclipse-washing...
1•DamonHD•20m ago•1 comments

Europe's extreme heat could wipe out EU growth in 2026, Triodos bank says

https://www.reuters.com/business/europes-extreme-heat-could-wipe-out-eu-growth-2026-triodos-bank-...
4•noiv•21m ago•1 comments

Flock Wants to Partner with Consumer Dashcam Co Takes 'Trillions Images' Month

https://www.404media.co/flock-wants-to-partner-with-consumer-dashcam-company-that-takes-trillions...
2•thehoff•22m ago•0 comments

Visual editor for React – Two-way is not the same as symmetric

https://blog.crossui.com/2026/08/two-way-is-not-the-same-as-symmetric
2•linb•23m ago•1 comments

The Last Ringbearer

https://en.wikipedia.org/wiki/The_Last_Ringbearer
1•EndXA•23m ago•0 comments

Show HN: ui.camera – Product photography for software

https://ui.camera
2•alexakten•24m ago•0 comments

Valve emailed about a cyberattack against their shipping partner in Europe

https://www.gamingonlinux.com/2026/08/valve-emailed-about-a-cyberattack-against-their-shipping-pa...
4•haunter•25m ago•1 comments

In-House LLM Serving at Netflix

https://netflixtechblog.com/in-house-llm-serving-at-netflix-a5a8e799ea2c
1•Anon84•26m ago•0 comments

Pioneer DJ Warns of Major Security Threat to Rekordbox and Every CDJ

https://5mag.net/news/pioneer-dj-rekordbox-cdj-exploit-security-vulnerability/
2•choult•27m ago•0 comments

Open-source prototype template for building and reviewing products

https://github.com/weidsfsdwgf/ai-prototype-demo
1•Nina_antalpha•31m ago•0 comments

AI coding got faster. Why didn't engineering?

https://thenewstack.io/ai-productivity-measurement-gap/
3•TrailMaker•31m ago•1 comments

I'm leaving OpenAI to build Jurassic Park

https://taylor.town/leaving-openai
3•surprisetalk•32m ago•0 comments