frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Writing a (valid) C program without main()

https://labs.iximiuz.com/tutorials/c-program-without-main-a1eea557
13•birdculture•1h ago

Comments

eska•30m ago
Note that this is not a “valid” C program according to the standard. The standard allows for freestanding and hosted environments. Freestanding allows for the entry point to be called something else than main, but there are other requirements. See section 4 and 5 of a draft if interested.
asveikau•27m ago
I think the definition of "valid" may differ. Is this a standard conforming C program? No. Did you use implementation details of your platform to create a program that loads and runs correctly? Sure.

Most interesting C programs violate the standard in some way though.

elpocko•17m ago
>Most interesting C programs violate the standard in some way though.

Wow, who counted them and decided what is or isn't interesting? And would the interesting programs still be interesting if they didn't violate the standard?

pechay•12m ago
All C programs are interesting. The first potentially non-interesting program in C is interesting because it's the first non-interesting one. :)
pishpash•22m ago
This isn't making a C program. It's using C tools and assembly tools to make an executable.

Stolen Buttons

https://anatolyzenkov.com/stolen-buttons
156•Gecko4072•5d ago•40 comments

Android May Soon Restrict On-Device ADB

https://kitsumed.github.io/blog/posts/android-may-soon-restrict-on-device-adb/
687•shscs911•10h ago•306 comments

Open-weight AI is having its Kubernetes moment. Let's not ruin it

https://tobi.knaup.me/2026-07-25-open-weight-ai-is-having-its-kubernetes-moment/
59•tknaup•2h ago•27 comments

Bitchat Is Now on Radicle

https://radicle.network/nodes/rosa.radicle.network/rad%3Az2v9tRJz1oknFAqCSY5W5c76nVvm6
76•h1watt•4h ago•28 comments

My Images Are Dithered

https://dead.garden/blog/how-my-images-are-dithered.html
138•surprisetalk•3d ago•54 comments

Wind turbine is being used to produce zero-carbon "green ammonia" fertilizer

https://energiesmedia.com/wind-turbine-stopped-electricity-wind-water-air/
49•speckx•1h ago•30 comments

Rauno's Field Notes #2

https://rauno.me/notes/2
7•acmnrs•41m ago•1 comments

Spatial languages: Writing code in 2D

https://shukla.io/blog/2026-07/cccx.html
63•BinRoo•3d ago•22 comments

The Fedora 45 Sausage Factory

https://supakeen.com/weblog/the-fedora-45-sausage-factory/
85•6581•6h ago•25 comments

Hannah Fry Wins the Leelavati Prize in 2026 for Mathematics Outreach

https://www.maths.cam.ac.uk/features/professor-hannah-fry-wins-leelavati-prize
492•agnishom•15h ago•83 comments

GDID Windows – Cut the tracker that follows you even under VPN

https://korben.info/en/gdid-windows-cut-tracker-vpn.html
7•rfarley04•4d ago•2 comments

Bringing PyTorch Monarch to AMD GPUs

https://pytorch.org/blog/bringing-pytorch-monarch-to-amd-gpus-single-controller-distributed-train...
10•gmays•1h ago•3 comments

Building a Tiny 3D Renderer for a Tiny Handheld

https://saffroncr.itch.io/katavatis/devlog/1534514/building-a-tiny-3d-renderer-for-a-tiny-handheld
175•g0xA52A2A•2d ago•13 comments

Zero roadkill as Amazon canopy bridges secure 15,000 crossings

https://news.mongabay.com/2026/07/zero-roadkill-as-amazon-canopy-bridges-secure-15000-crossings/
81•hn_acker•3d ago•12 comments

Amen Break

https://en.wikipedia.org/wiki/Amen_break
26•root-parent•47m ago•7 comments

Engineering management after the cost of code collapsed

https://karimjedda.com/engineering-management-after-cost-of-code-collapse/
44•kiyanwang•2h ago•42 comments

Kyber (YC W23) Is Hiring a Head of Engineering

https://www.ycombinator.com/companies/kyber/jobs/FGmI8mx-head-of-engineering
1•asontha•5h ago

Scanwheel is a drum style mechanical television you can build yourself

https://github.com/AncientJames/Scanwheel/
16•tobr•3h ago•5 comments

NYC Apartment Aquaponics

https://erinmurphy.dev/projects/project-2/
145•mm1119•5d ago•61 comments

Charles Ross spent 50 yrs building Star Axis naked-eye observatory in New Mexico

https://www.nytimes.com/2026/07/22/arts/design/charles-ross-star-axis-land-art.html
80•ChrisArchitect•2d ago•16 comments

The Dark Night of Mathematics

https://kirwinhampshire.substack.com/p/the-dark-night-of-mathematics
34•rmdmphilosopher•1h ago•19 comments

ARC-AGI Leaderboard

https://arcprize.org/leaderboard
159•rzk•10h ago•127 comments

PyPI Blog: Releases now reject new files after 14 days

https://blog.pypi.org/posts/2026-07-22-releases-now-reject-new-files-after-14-days/
67•miketheman•3d ago•31 comments

MouthPad: A Tongue-Controlled Touchpad

https://www.augmental.tech/
102•ZaninAndrea•9h ago•24 comments

My web version of Mars MIPS, now have builtin C compiler

https://webmars.nfiles.top/
12•nenepbl•3h ago•4 comments

GC and Exceptions in Wasmtime

https://bytecodealliance.org/articles/wasmtime-gc
140•phickey•5d ago•24 comments

Extinct Media Museum Tokyo

https://extinct-media-museum.blog.jp/otemachi/
96•sohkamyung•11h ago•20 comments

UK AISI / Caisi Preliminary Assessment of Kimi K3's Cyber Capabilities

https://www.nist.gov/news-events/news/2026/07/uk-aisi-caisi-preliminary-assessment-kimi-k3s-cyber...
112•walrus01•13h ago•36 comments

Task-centered iproute2 user guide

https://baturin.org/docs/iproute2/
10•greengreengrass•2h ago•0 comments

Brazilian farmers tokenized dairy cows to get loans, bypassing bank limits

https://www.coindesk.com/markets/2026/07/24/brazilian-farmers-tokenized-dairy-cows-to-get-loans-b...
22•paulpauper•1h ago•4 comments