frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Making code last a long time

https://twitter.com/jonathan_blow/status/1923414922484232404
28•robinhouston•1y ago

Comments

turtleyacht•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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".

The group chat where your AI talks behind your back

https://construct22.com/
160•utiiiD•2h ago•55 comments

AI made self-hosting fun again

https://janlukas.blog/posts/ai-self-hosting
638•jlelse•11h ago•328 comments

The need for a formally verifiable mainstream programming language

https://blainehansen.me/post/mainstream-verifiable-language/
133•todsacerdoti•3h ago•106 comments

YouTube Ad Punisher – Auto-reloads YouTube pages when an ad plays

https://github.com/antonpictures/youtube-punisher
382•iantongeorge•15h ago•449 comments

Kamil Khan Mumtaz: Pakistani architect, admired at home, almost invisible abroad

https://worksinprogress.co/issue/the-greatest-architect-youve-never-heard-of-is-in-pakistan/
357•dverlaeckt80•11h ago•90 comments

Hard Drive pricing has gotten bad

https://blog.ktz.me/black-friday-hard-drive-prices-are-messed-up/
328•zdw•7h ago•229 comments

AMD-specific fork of llama.cpp

https://devnull.land/amd-specific-llama-cpp
348•julianlam•15h ago•83 comments

CTO of 'RansomwareHelp' indicted for wire fraud

https://krebsonsecurity.com/2026/11/cto-of-ransomwarehelp-indicted-for-wire-fraud/
262•Bender•15h ago•134 comments

Company Culture = Slack Emoji ÷ √Headcount

https://lia.mg/posts/measuring-company-culture-with-slack-emoji/
318•liamg•12h ago•133 comments

Intel One Mono font (2023)

https://github.com/intel/intel-one-mono
517•saikatsg•22h ago•250 comments

An introduction to uncertainty in machine learning

https://chrhenning.com/blog/2026/introduction-to-uncertainty/
75•chrhenning•13h ago•2 comments

Buy Nothing Day – Friday November 27th 2026

https://www.buynothingday.co.uk/
58•f_allwein•3h ago•8 comments

Google Will Make AI Agents Use Its MCP Servers. The Gmail One Can't Send Email

https://techstackups.com/articles/google-workspace-ai-agents-mcp/
323•ritzaco•23h ago•289 comments

Novita, StreamLake, etc. are ByteDance Ark wrappers

https://kendell.dev/blog/arkwrapper/
95•leafingensemble•10h ago•14 comments

Rvoip: VoIP stack in Rust

https://github.com/eisenzopf/rvoip
123•zerosegfaults•13h ago•27 comments

The Cutthroat Business of Shipwrecks

https://daily.jstor.org/the-cutthroat-business-of-shipwrecks/
24•herbertl•7h ago•2 comments

Show HN: I wrote an entire Vim manual over 4 years

http://themouseless.dev/vim/
159•thanato0s•18h ago•49 comments

Show HN: Olumino, a Markdown notes and spaced repetition app

https://olumino.app
104•Wiyseful•1d ago•45 comments

The USAID Files

https://reclaimthenet.org/usaid-files
249•MassPikeMike•1d ago•305 comments

An algebraic quantization of gravity from the null cone

https://arxiv.org/abs/2611.34924
237•hecmmm•1d ago•94 comments

Largest 2D Chart library in the world using BUI: BlenderUI

https://bui.preetham.top/charts/
101•ppmpreetham•14h ago•29 comments

Curiosity Is No Solo Act

https://thereader.mitpress.mit.edu/curiosity-is-no-solo-act/
150•Petiver•2d ago•37 comments

George Whitesides, 1939-2026

https://www.science.org/content/blog-post/george-whitesides-1939-2026
74•dverlaeckt80•14h ago•7 comments

Moat: OpenRouter replacement

https://commandcode.ai/moat
281•amanverasia•1d ago•155 comments

1Password Security Incident

https://1password.com/blog/update-on-nov-2026-security-incident
1661•lxhrstn•1d ago•712 comments

NormalScript: A perfectly normal scripting language

https://psychoscript.com/
104•hn-aarvin•1d ago•25 comments

Tell HN: Happy Thanksgiving

692•ericmay•18h ago•145 comments

Nextcloud Office Desktop app

https://nextcloud.com/blog/euro-office-comes-to-your-desktop-with-the-nextcloud-office-desktop-app/
431•e12e•21h ago•221 comments

Show HN: Three Linux VMs in a browser tab, each running a different browser

https://michidk.github.io/sidebyside/
137•michidk•17h ago•31 comments

Discovery of curse ritual in trash dump surprises Egyptologist

https://phys.org/news/2026-11-discovery-curse-ritual-trash-dump.html
104•PaulHoule•3d ago•59 comments