frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

The Rust on ESP Book

https://docs.espressif.com/projects/rust/book/
37•AlexeyBrin•4d ago

Comments

iconara•4d ago
The [page on testing][1] suggests this:

> Where possible, and where it makes sense, you should try to test as much as possible on your host machine, not on the target device.

When I have tried this I have encountered multiple problems, first that the Rust test framework requires std, making it convoluted writing test code – but when working around that using conditional compilation, I run into other things like the `esp-hal` depending on crates that won't compile on the host.

What is the recommended way to test on the host?

  [1]: https://docs.espressif.com/projects/rust/book/application-development/testing.html
devmor•41m ago
This is a constant issue for me in every facet of embedded development - with the sole exception of devices that can easily be tested in a qemu environment.

I would also love to hear that the authors of this book suggest.

bigfishrunning•20m ago
Especially for embedded work (but for regular software too!) I've bought into the "sans-io pattern" for a lot of the software i write anymore

https://sans-io.readthedocs.io/how-to-sans-io.html

Keeping all of the actual hardware/network/io interface code separate really makes writing unit tests and porting to different computers much simpler

jauntywundrkind•10m ago
awesome to see this under espressif.com! that's so fantastic.

not to the point here, but i wonder what Zephyr would have been like if Rust had been more of a thing at the time. that's not really possible, as from my understanding it derived from Wind River Systems' donated Rocket OS, which i think predates Rust (which is not a new language!). still an interesting what if to me: zephyr seems to be the embedded os with the best wireless support by a country mile, have a lot of companies targeting it (often alas forking it rather than going upstream): it holds my interest the most.

Show HN: Open-source engine running Gemma 4 26B in 2 GB RAM on any M-series Mac

https://github.com/drumih/turbo-fieldfare
349•gitpusher42•3h ago•97 comments

Superlogical

https://www.superlogical.com/
193•yan•2h ago•153 comments

KOReader

https://koreader.rocks/
533•Cider9986•7h ago•168 comments

Keychron announces first open-source firmware for gaming mice

https://www.digitalfoundry.net/news/2026/07/keychron-announces-first-open-source-firmware-for-gam...
54•JLO64•1h ago•21 comments

Handbook.md shows that long policy documents do not reliably govern agents

https://arxiv.org/abs/2607.25398
210•spIrr•5h ago•139 comments

Hugging Face: Anatomy of a frontier-lab agent intrusion

https://huggingface-anatomy-of-frontier-lab-model-intrusion.static.hf.space/index.html
92•dn2k•3h ago•29 comments

Document-borne AI worms can self-propagate through Copilot for Word

https://enklypesalt.com/posts/context-collapse-part3-ai-worming-through-word/
252•Canopy9560•6h ago•194 comments

PgDog (YC P25) Is Hiring

https://www.ycombinator.com/companies/pgdog/jobs/uWymUYy-founding-software-engineer
1•levkk•1h ago

A.I. companies are recruiting electricians and carpenters by the thousands

https://www.nytimes.com/2026/07/29/business/economy/data-center-electricians-training.html
69•thm•3h ago•93 comments

Launch HN: Tokenless (YC S26) – Automatic model switching to save money

https://usetokenless.com/
32•rohaga•2h ago•28 comments

Darktable

https://www.darktable.org/
177•siatko•5h ago•100 comments

Hamburg's Stadtpark: A Park Built to Be Used

https://alsterrunde.com/hamburgs-stadtpark-a-park-built-to-be-used/
49•mertbio•2d ago•7 comments

The Rust on ESP Book

https://docs.espressif.com/projects/rust/book/
37•AlexeyBrin•4d ago•4 comments

Self-hosting Kimi K3: 20% more hardware cost, 20% better task resolution

https://aistack.imec-int.com/blog/gpu-self-hosting
53•flifenstein•3h ago•20 comments

Shipping Godot VR and Porting to PSVR2: A Partial Post Mortem

https://www.claire-blackshaw.com/blog/2026/07/shipping-godot-vr-and-porting-to-psvr2-a-partial-po...
77•ibobev•5h ago•0 comments

Some thoughts about Anthropic's new cryptanalysis results

https://blog.cryptographyengineering.com/2026/07/29/some-notes-about-anthropics-new-results/
14•supermatou•1h ago•2 comments

Show HN: CheapFoodMap – A map of good meals under $10

https://cheapfoodmap.com/
10•jaep1•1h ago•8 comments

Hunter-gatherers introduced fish to a mountain lake 7000 years ago

https://www.newscientist.com/article/2580119-hunter-gatherers-introduced-fish-to-a-mountain-lake-...
98•stevenwoo•2d ago•73 comments

Infrastructure Patterns for Agentic Applications

https://render.com/blog/infrastructure-patterns-for-agentic-applications
24•jacobprall•1h ago•3 comments

GPT-5.6 vs. Claude Fable 5 for Physical AI, which performs best?

https://juliahub.com/blog/frontier-models-physical-ai-evaluation
41•mbauman•3h ago•9 comments

More Tailscale tricks for your jailbroken Kindle

https://tailscale.com/blog/jailbroken-kindle-proxy-tun-modes
361•Error6571•13h ago•104 comments

Learning Musical Multitasking

https://www.jefftk.com/p/learning-musical-multitasking
8•surprisetalk•5d ago•8 comments

Show HN: Qwen Scribe – local transcription and dictation for Apple Silicon

https://github.com/VladUZH/qwen-scribe
27•sidclaw•3h ago•9 comments

Amiga Graphics Archive

https://amiga.lychesis.net/index.html
124•Bluestein•7h ago•22 comments

User Interfaces of the Demo Scene

https://www.datagubbe.se/scenegui/
360•zdw•13h ago•62 comments

Disrupting supply chain attacks on NPM and GitHub Actions

https://github.blog/security/supply-chain-security/disrupting-supply-chain-attacks-on-npm-and-git...
71•nyku•5h ago•26 comments

Cesium DevCon 2026 talks are up, including a keynote from SQLite's creator

https://cesium.com/events/cesium-developer-conference/2026/
29•jasteinerman•2h ago•7 comments

Show HN: Kedge – Full-stack cloud with forkable VM snapshots and global SQLite

https://kedge.dev/
23•wgjordan•1h ago•6 comments

SQLite in Production: Optimizing WAL Mode, Concurrency, and VFS Layers

https://micrologics.org/blog/sqlite-in-production-optimizing-wal-mode-concurrency-and-vfs-layers-...
205•ankitg12•10h ago•65 comments

SpecForge – A Platform for Authoring Formal Specifications

https://docs.imiron.io/v/0.5.10/en/tour.html
65•agnishom•7h ago•7 comments