frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Making code last a long time

https://twitter.com/jonathan_blow/status/1923414922484232404
28•robinhouston•9mo ago

Comments

turtleyacht•9mo ago
Make and maintain the virtual machine that runs your program, which executes custom instructions.

See uxn and justification: https://wiki.xxiivv.com/site/now_lie_in_it.html

And https://100r.co/site/story.html

kevmo314•9mo ago
> The way you make code last a long time is you minimize dependencies that are likely to change and, to the extent you must take such dependencies, you minimize the contact surface between your program and those dependencies.

A lot of value is driven from those dependencies though. Zapier as a pointed example: Zapier sans dependencies is ... well I don't even know. So sure, you could avoid dependencies at all cost, but at some point you might end up deleting the reason someone else wants to use your code in the first place.

Of course, if you're writing code only for yourself that will totally work, but most professional software engineers are not -- it's a balance and it's not fair to say all they have to do is stop writing glue code.

j45•9mo ago
Your example of Zapier dependence resonates - being sure to put a simple layer between your code and Zapier is the critical component.

The code makes the same call to a Zapier type command but it could be routed to Zapier today, and somewhere else in the future.

This can take a nominal amount of time longer than integrating Zapier directly.

It could be a couple more tables to setup and manage, or it can be done in the code somewhere.

caseyohara•9mo ago
I've been working on the same product for ~13 years and I can confidently say the most important thing to ensure the longevity and long-term maintainability of a codebase is aggressive minimization of dependencies.

Engineering is all about compromises. If near-term velocity is more important to you than long-term evolution and maintainability, then go ahead and use all of the dependencies if it allows you to ship faster. But that is a form of technical debt that you will have to pay down eventually.

QuadrupleA•9mo ago
What are you doing with Zapier that you couldn't do with your own code, or carefully curated small set of libraries? For networked services, the REST APIs of popular providers (Stripe, AWS, etc.) are usually kept backwards compatible for a long time.
henning•9mo ago
I was about to comment how easy Zig makes it to make platform layers where the right code for an OS is compiled at compile-time and AFAIK there is no runtime cost, it's basically conditional compilation. But the Zig language itself is incredibly unstable and code you write now probably won't compile a year from now.
taylorallred•9mo ago
This seems like another case where jblow's opinions are guided by his experience as a game dev. Games can be "finished" and never touched again. I think I mostly agree with him that software could be made to be timeless to some degree. But, in the world of web apps and saas, the culture is to offload much of the work to third party libraries/APIs which locks you into a never-ending cycle of dependency management. I don't know if this culture is totally necessary (maybe to ship fast and keep up with security updates?), but in a world where users expect software to be constantly improving you can't expect anything to be "done". Maybe you could get close if you built everything in-house, but even still you have to keep up with security flaws.
QuadrupleA•9mo ago
From experience - if you look at the "security flaws" in detail that updates and patches address, an app with good dependency hygiene is rarely vulnerable to them, and doesn't need the purported fixes. So in those cases it's mostly a comforting mirage that your software is improving as you do "security updates" on your libraries and dependencies, except in rare cases.

And, security updates should not break your app! What breaks your app are feature changes, API changes, and the like, which is a breach of backwards compatibility and IMHO kind of lazy and hostile on the part of the library developers. It creates massive unnecessary work for developers, and unnecessary bugs and problems for millions of end users.

boznz•9mo ago
Software in a closed ecosystem should run for the life of that ecosystem, an example would be Firmware on a non-connected device. eg the ECU in my car from 1991.
juancn•9mo ago
I kind of agree. There's another world, where software lasts a really long time, it's a much better world, but just a few of us get to live in it.

Building tools for other engineers is where it's at, the library maintainers for long lived libraries, like libc or any collections library.

If you get a sorting algorithm in a mainstream language library, it will likely live forever (or forever-ish in software terms).

The harder the problem you solve (in the math sense) the more likely that if you craft that code properly and carefully, it will outlive you.

burnt-resistor•9mo ago
Well, when I was in school, the goals were wide compatibility and portability. I was writing network C code in the 00's that could run without any changes on Windows, Linux, FreeBSD, HP-UX, AIX, SGI, SCO, and Solaris.

Code only "rots" when its dependencies rot from assholes who churn the language or break API promises. These low expectations lead to normalization of deviancy that churn without clear and present value is "okay", when it's merely job security or coding theater to appease others that everything must be touched and changed constantly or otherwise it's "broken".

Ada 2022

https://www.adaic.org/ada-resources/standards/ada22/
64•tosh•1h ago•10 comments

Tech employment now significantly worse than the 2008 or 2020 recessions

https://twitter.com/JosephPolitano/status/2029916364664611242
479•enraged_camel•3h ago•338 comments

TSA leaves passenger needing surgery after illegally forcing her through scanner

https://www.thetravel.com/tsa-leaves-passenger-needing-surgery-after-illegally-forcing-her-throug...
57•SunshineTheCat•3h ago•29 comments

Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

https://github.com/moongate-community/moongatev2
196•squidleon•7h ago•111 comments

Hardening Firefox with Anthropic's Red Team

https://www.anthropic.com/news/mozilla-firefox-security
377•todsacerdoti•9h ago•112 comments

Open Camera is a FOSS Camera App for Android

https://opencamera.org.uk/
171•tetris11•4d ago•76 comments

Apache Otava

https://otava.apache.org/
38•djoldman•5d ago•3 comments

Launch HN: Palus Finance (YC W26): Better yields on idle cash for startups, SMBs

26•sam_palus•3h ago•33 comments

Payphone Go

https://walzr.com/payphone-go/
265•walz•4d ago•57 comments

CT Scans of Health Wearables

https://www.lumafield.com/scan-of-the-month/health-wearables
152•radeeyate•7h ago•34 comments

Triplet Superconductor

https://www.sciencedaily.com/releases/2026/02/260221000252.htm
28•jonbaer•4d ago•6 comments

Astra: An open-source observatory control software

https://github.com/ppp-one/astra
66•pppone•5h ago•17 comments

Entomologists use a particle accelerator to image ants at scale

https://spectrum.ieee.org/3d-scanning-particle-accelerator-antscan
70•gmays•5h ago•6 comments

LibreSprite – open-source pixel art editor

https://libresprite.github.io/
224•nicoloren•12h ago•74 comments

Multifactor (YC F25) Is Hiring an Engineering Lead

https://www.ycombinator.com/companies/multifactor/jobs/lcpd60A-engineering-lead
1•multifactor•4h ago

The Worst Acquisition in History, Again

https://www.profgmedia.com/p/the-worst-acquisition-in-history
4•JumpCrisscross•35m ago•0 comments

Anthropic, Please Make a New Slack

https://www.fivetran.com/blog/anthropic-please-make-a-new-slack
78•georgewfraser•1h ago•54 comments

Workers who love ‘synergizing paradigms’ might be bad at their jobs

https://news.cornell.edu/stories/2026/03/workers-who-love-synergizing-paradigms-might-be-bad-thei...
451•Anon84•8h ago•265 comments

A tool that removes censorship from open-weight LLMs

https://github.com/elder-plinius/OBLITERATUS
61•mvdwoord•7h ago•27 comments

Analytic Fog Rendering with Volumetric Primitives (2025)

https://matejlou.blog/2025/02/11/analytic-fog-rendering-with-volumetric-primitives/
74•surprisetalk•1d ago•4 comments

Good Bad ISPs

https://community.torproject.org/relay/community-resources/good-bad-isps/
82•rzk•7h ago•25 comments

Show HN: Claude-replay – A video-like player for Claude Code sessions

https://github.com/es617/claude-replay
44•es617•5h ago•20 comments

Global warming has accelerated significantly

https://www.researchsquare.com/article/rs-6079807/v1
845•morsch•7h ago•829 comments

TypeScript 6.0 RC

https://devblogs.microsoft.com/typescript/announcing-typescript-6-0-rc/
27•johnz•1h ago•5 comments

Paul Brainerd, founder of Aldus PageMaker, has died

https://blog.adafruit.com/2026/03/04/pagemaker-and-aldus-founder-pioneer-paul-brainerd-1947-2026/
112•fortran77•6h ago•22 comments

Why it takes you and an elephant the same amount of time to poop (2017)

https://www.pbs.org/newshour/health/takes-elephant-amount-time-poop
44•Tomte•1h ago•40 comments

Show HN: A trainable, modular electronic nose for industrial use

https://sniphi.com/
24•kwitczak•3d ago•10 comments

Supertoast tables

https://hatchet.run/blog/supertoast-tables
43•abelanger•4h ago•5 comments

We might all be AI engineers now

https://yasint.dev/we-might-all-be-ai-engineers-now/
136•sn0wflak3s•12h ago•209 comments

Show HN: Reconstruct any image using primitive shapes, runs in-browser via WASM

https://github.com/taiseiue/primitive-playground
8•taiseiue•3d ago•0 comments