Free daily JSON feed of Shanghai government subsidy notices
china-policy-data provides a free daily JSON feed of Shanghai government grant and subsidy notices. The feed is designed for researchers and AI agents. (github.com)
After a year running Dioxus fullstack in production, a solo SaaS developer finds that Rust’s main benefit is not raw coding speed but a calmer, more coherent workflow. A single Rust workspace handles server rendering, backend functions, and interactive WebAssembly clients; shared types connect database results to server responses and UI components, making changes easier to check and refactor. The same component model could also support desktop or mobile apps. In production, the system has been dependable, and compile-time checks prevent many errors from reaching users. The experience spans SeggWat, an in-app feedback service with a sizable Dioxus dashboard, and infra.page.
The serious cost is compilation. Building both server and WebAssembly targets, across a dozen Dioxus-dependent crates and a macro-heavy interface, makes the browser build take about 22 minutes. A release image takes roughly 90 minutes on GitHub’s two-core runners, while a self-hosted runner cuts that to around 40; linting also exceeded hosted memory limits. Caching, combined test-and-build workflows, and a faster linker helped only partially, and releases now build less often. “All Rust” also has exceptions: charts use Chart.js and JavaScript glue, while Tailwind requires Bun. The developer would still choose Dioxus for app-like products needing complex client state, offline use, or mobile support, but considers its WebAssembly cost excessive for ordinary dashboards. The next project will test experimental Topcoat, which aims to preserve typed, shared Rust code while avoiding a WebAssembly bundle; whether it improves build times remains unmeasured.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
china-policy-data provides a free daily JSON feed of Shanghai government grant and subsidy notices. The feed is designed for researchers and AI agents. (github.com)
Linux 7.4 adds opt-in DMA-BUF read and write support through io_uring, enabling hardware memory buffers to move through the I/O path without CPU copies. The initial implementation supports NVMe block devices, with buffers up to 4 GB. (phoronix.com)
After four months back with Zig, Anna Liberty built a small-network client library, a typing game, and an N-body simulator, while enjoying Zig’s straightforward development experience. The experience also exposed unfinished tooling, including a built-in fuzzer that did not work, and highlighted the value of local Zig meetups. (gracefulliberty.com)
Popcorn 1.0 replaces AtomVM with OTP/BEAM, giving Elixir applications in the browser broader compatibility and a more resilient runtime. The move reduces the need to maintain patches and establishes a stable base for future releases. (swmansion.com)
Entire launched a Git-compatible forge that stores full repository copies near cloud agents, spreading clone traffic across regions instead of bottlenecking at one central server. The company argues that decentralized storage can scale Git for agent-driven development without replacing Git itself. (entire.com)
Ghostty 1.4 adds complete animated Kitty graphics support, SSH setup, a Linux OpenGL renderer, and performance improvements. Scrollback compression and other changes cut memory use by 50-90%, and the release fixes 10 security advisories. (twitter.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.