frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines

https://github.com/valdanylchuk/xcc700
13•isitcontent•2h ago
Repo: https://github.com/valdanylchuk/xcc700

Hi Everyone! I just wrote my first compiler!

- single pass, recursive descent, direct emission

- generates REL ELF binaries, runnable using ESP-IDF elf_loader

- very basic features only, just enough for self-hosting

- treats the Xtensa CPU as a stack machine for simplicity, no register allocation / window usage

- compilable on Mac, probably also Linux, can cross-compile for esp32 there

- wrote for fun / cyberdeck project

Sample output from esp32:

    xcc700.elf xcc700.c -o /d/cc.elf
    
    [ xcc700 ] BUILD COMPLETED > OK
    > IN  : 700 Lines / 7977 Tokens
    > SYM : 69 Funcs / 91 Globals
    > REL : 152 Literals / 1027 Patches
    > MEM : 1041 B .rodata / 17120 B .bss
    > OUT : 27735 B .text / 33300 B ELF
    [ 40 ms ] >> 17500 Lines/sec <<
My best hope is that some fork might grow into a unique nice language tailored to the esp32 platform. I think it is underrated in userland hobby projects.

Pagebound is an independent Goodreads alternative

https://pagebound.co/
2•MajorBee•4m ago•0 comments

Deliberate Deliberation

1•Josf•5m ago•0 comments

Tracking Shell Scripts (and Python, Perl, etc.) with eBPF Is Hard

https://substack.bomfather.dev/p/tracking-shell-scripts-and-python
2•neil_naveen•6m ago•0 comments

The HTML Elements Time Forgot

https://www.htmhell.dev/adventcalendar/2025/22/
1•birdculture•6m ago•0 comments

Rolex Tries to Beat Watch Flippers at Their Own Game

https://www.wsj.com/finance/rolex-watch-secondhand-market-3ddb113e
1•bookofjoe•8m ago•1 comments

How uv got so fast

https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html
1•zdw•8m ago•0 comments

Pre, Mid, Post-Training Way of Life

https://fakepixels.substack.com/p/pre-mid-post-training-way-of-life
1•jger15•10m ago•0 comments

Matz 1/2: A single email sparked Ruby's growth

https://en.kaigaiiju.ch/episodes/matz1
1•kibitan•12m ago•0 comments

Show HN: Ad-sentinel – An AI powered ad-blocker

https://github.com/johnmckay-reward/ad-sentinel
1•jmkni•13m ago•0 comments

Experts Explore New Mushroom Which Causes Fairytale-Like Hallucinations

https://nhmu.utah.edu/articles/experts-explore-new-mushroom-which-causes-fairytale-hallucinations
1•astronads•14m ago•1 comments

Matz 2/2: The trajectory of Ruby's growth, Open-Source Software today etc.

https://en.kaigaiiju.ch/episodes/matz2
1•kibitan•14m ago•0 comments

C/C++ Embedded Files

https://www.4rknova.com//blog/2013/01/27/cpp-embedded-files
10•ibobev•15m ago•1 comments

Bowie's ODE solver and the nonlinear pendulum

https://www.johndcook.com/blog/2025/12/23/bowie-integrator-and-the-nonlinear-pendulum/
2•ibobev•15m ago•0 comments

ZJIT is now available in Ruby 4.0

https://railsatscale.com/2025-12-24-launch-zjit/
2•ibobev•17m ago•0 comments

I Exposed Minnesota's Billion Dollar Fraud Scandal [video]

https://www.youtube.com/watch?v=r8AulCA1aOQ
1•almosthere•17m ago•0 comments

Poor Charlie's Almanack

https://www.stripe.press/poor-charlies-almanack
1•gregzeng95•23m ago•0 comments

Mostlymatter: A fork of Mattermost by Framasoft

https://packages.framasoft.org/projects/mostlymatter/
2•SubiculumCode•25m ago•0 comments

The Renaissance book that heralded growth

https://worksinprogress.co/issue/the-renaissance-book-that-heralded-growth/
1•pseudolus•25m ago•0 comments

Osint Your Future Employer

https://piotrmackowski.com/2025/03/28/OSINT-your-future-employer.html
2•ptrmc•27m ago•0 comments

New science points to 4 distinct types of autism

https://www.washingtonpost.com/health/2025/12/26/autism-research-diagnosis-subtypes/
1•pseudolus•28m ago•1 comments

Depth on Demand

https://solmaz.io/depth-on-demand
2•hosolmaz•32m ago•0 comments

Optimal Classification Cutoffs

https://finite-sample.github.io/optimal-classification-cutoffs/
1•neehao•32m ago•0 comments

Fix Claude's Enter Key

https://chromewebstore.google.com/detail/fix-claudes-enter-key/odnbnplcfenobhmghdpiebbjdgchinjm
1•gjvc•34m ago•0 comments

China isn't just dumping cheap goods anymore – it's sending caviar

https://www.ft.com/content/461009e1-ec74-47ab-ae6b-72a32474df31
4•bookofjoe•36m ago•2 comments

Show HN: Loki Mode – 37 AI agents that autonomously build your startup

https://github.com/asklokesh/claudeskill-loki-mode
3•slogansand•37m ago•1 comments

When it all comes crashing down: The aftermath of the AI boom

https://thebulletin.org/2025/12/when-it-all-comes-crashing-down-the-aftermath-of-the-ai-boom/
3•geox•37m ago•0 comments

Supernova from the dawn of the universe captured by James Webb Space Telescope

https://phys.org/news/2025-12-supernova-dawn-universe-captured-james.html
1•Brajeshwar•38m ago•0 comments

First 3D-printed microscope blew up in 2025

https://www.newscientist.com/article/2507677-the-worlds-first-fully-3d-printed-microscope-blew-up...
2•stevenjgarner•39m ago•1 comments

I built fuckstyrofoam.org – crowdsourced database of companies using styrofoam

https://fuckstyrofoam.org/
2•daltonlcarr•41m ago•1 comments

Scientists boost mitochondria to burn more calories

https://phys.org/news/2025-12-scientists-boost-mitochondria-calories.html
2•stevenjgarner•42m ago•0 comments