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".

Nvidia Reinstates Jensen Huang as CEO

https://www.cnbc.com/2026/11/23/nvidia-jensen-huang-ceo.html
2085•jaz•11h ago•3134 comments

Stalwart is now a drop-in replacement for Microsoft Exchange

https://stalw.art/blog/microsoft-exchange-replacement/
187•shaunpud•3h ago•106 comments

Ladybird is now in alpha

https://ladybird.org/posts/alpha/
1424•janvdberg•9h ago•331 comments

GPUI is getting its own repository

https://github.com/zed-industries/gpui
124•EvilGoose•4h ago•33 comments

GLM-5.4: Toward generalized coding with our first loop transformer

https://z.ai/blog/glm-5.4
1052•foohis•15h ago•345 comments

Bored.com: Fun, interesting and cool websites to explore when bored

https://www.bored.com/
100•susam•4h ago•24 comments

Per Arm's request, this site will be discontinued on 4 December 2026 :(

https://arm.jonpalmisc.com/
836•tech234a•6h ago•182 comments

Dario is hyping the dangers so OSS models are illegal and he stays in control

https://twitter.com/ylecun/status/2124550037912920090
1148•MrBuddyCasino•8h ago•639 comments

Freeing the iPod Nano 5G

https://viktorkrapivin.com/blog/nano5g-priv-prvd
37•rpm_conservatio•2h ago•5 comments

VP ≠ VNP over Every Field

https://github.com/anthropics/formal-math/tree/main/vp-vnp
229•mikeryan52•3h ago•193 comments

Latent Introspection: LLMs Can Detect Prior Concept Injections

https://arxiv.org/abs/2602.20031
21•joecobb•3h ago•1 comments

Alcohol use reduces efficacy of immunotherapy by disrupting antitumor immunity

https://www.science.org/doi/10.1126/scisignal.aef1375
8•gumby•45m ago•1 comments

NariQ: BF16-level Qwen3.8-27B in a 10 GB file

https://huggingface.co/nari-labs/Qwen3.8-27B-NariQ-GGUF
123•toebee•11h ago•25 comments

Spacecraft reaches Mercury on second-ever mission to enter its orbit

https://www.theguardian.com/science/2026/nov/20/spacecraft-mercury-second-ever-mission-orbit-bepi...
297•geden•2d ago•93 comments

The Power of GraphQL, Without GraphQL

https://cobalt27.dev/
6•Shoetp•1h ago•6 comments

What does it mean to understand what we built?

https://brooker.co.za/blog/2026/11/16/understanding.html
40•luu•2d ago•17 comments

Derivative Flipping

http://blog.sigfpe.com/2026/11/derivative-flipping.html
77•dmit•2d ago•10 comments

Huang's Return Is the Biggest National Security Scandal in U.S. History

https://foreignpolicy.com/2026/11/23/jensen-huang-nvidia-return-ceo-national-security-scandal/
149•ortusdux•2h ago•105 comments

Kagi Mail (public beta)

https://blog.kagi.com/kagi-mail-public-beta
358•rdmuser•8h ago•267 comments

Nospeaker ─ Make your MacBook's trackpad talk using its haptic motor

https://github.com/os6/nospeaker
279•yakkomajuri•14h ago•162 comments

Free alternative TV network built from the Internet Archive's forgotten videos

https://spelunkr.tv
942•SockThief•1d ago•161 comments

EasyPost (YC S13) Is Hiring

https://www.easypost.com/careers/
1•jstreebin•8h ago

C++26 is done (again): ISO C++ meeting trip report

https://herbsutter.com/2026/11/21/c26-is-done-again-trip-report-november-2026-iso-c-standards-mee...
99•dverlaeckt80•1d ago•103 comments

Mutex poisoning is not for everyone

https://bertptrs.nl/2026/11/16/mutex-poisoning-is-not-for-everyone.html
10•birdculture•2d ago•1 comments

Win4wine – Run Windows Shell as the Linux Desktop on Wine

https://github.com/mikuta0407/win4wine
214•hard_times•13h ago•115 comments

Show HN: Type-C – variants, options, generics and pattern matching for C

https://github.com/stass/type-c
26•stass•1d ago•4 comments

The horse made the state

https://aeon.co/essays/the-origins-of-the-state-are-not-agrarian-but-pastoralist
56•ersinesen•4h ago•53 comments

Apple removed my open-source app from EU App Stores after 9 years

https://github.com/glushchenko/fsnotes/discussions/2056
515•fluder•6h ago•110 comments

Shirudo: OpenAI and Cisco's open-source runtime for shielding unpatched Linux

https://openai.com/index/introducing-shirudo/
20•acossta•4h ago•3 comments

Levent Alpöge comments on his Riemann Hypothesis proof

https://twitter.com/__alpoge__/status/2124987173439209561
84•Dylan1312•3h ago•74 comments