Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,860 karma · joined Feb 27, 2013 (13y ago) · 3,455 submissions

Submissions

comment 3mo ago · link · parent

So your argument is that no solution could satisfy your new requirement, not even if Facebook rewrote the entire system from scratch.

If that's the case, then your example doesn't really address what we're discussing: whether software can be designed to remain flexible under realistic requirement changes.

A stronger argument would be to give an example of a realistic requirement change that would force all possible software architecture to be rewritten from scratch. Do you have an example like that?

comment 4mo ago · link · parent

That's a straw man argument. Your new requirement is physically impossible. No software team can break the laws of physics.

So the real question is what exactly do you mean by "immediately"? There are many answers with different pros/cons and cost. And I bet the solution won't impact 99% of the software Facebook has already written.

comment 4mo ago · link · parent

No firewall?

comment 4mo ago · link · parent

Nope not true at all (30+ years of experience here working on very large scale software).

The whole point of being agile is to design your software architecture to be agile. That's what I do. And it works.

comment 4mo ago · link · parent

If that ever happens to you, you're doing it wrong.

I've spent 30+ years building large-scale software, and it has never happened to me. Good software design lets you accommodate even major requirement changes with minimal changes to the code.

comment 4mo ago · link · parent

> Unfortunately written by an AI - that completely takes the wind out of the content

I don't think the all-too-common "written by AI" remarks are helpful.

The article was informative and useful. That's what matters IMHO.

comment 4mo ago · link · parent

When using AI to generate text, I highly recommend asking it to "simplify" the text before publishing. Maybe even more than once.

comment 4mo ago · link · parent

> AI can generate components faster than humans can understand their combined execution

That is true but you are still responsible for the code that gets checked in. So slow down and make sure you do understand it before committing it.

comment 4mo ago · link · parent

I couldn't have explained it better myself.

190.

AI Coding is Exhausting [video](youtube.com ↗)

2 points · by deterministic · 4mo ago · 2 comments

comment 4mo ago · link · parent

We already have. See seL4.

comment 4mo ago · link · parent

If you work twice as fast but don't add a single $ to your income then you haven't increased productivity at all.

comment 4mo ago · link · parent

GLP-1 has negative side effects (loss of lean mass for example) that I most definitely do not want.

comment 4mo ago · link · parent

> AI has given a lot of completely incompetent people a false sense of competency

30+ years of experience writing large applications in C++ and TypeScript, including JIT compilers, commercial game engines, and business-critical systems used by international companies.

I love using Claude Code for the 90% of my work that is repetitive and boring. These are tasks I've done many times before. It does a great job as long as I guide it well and review every change before committing.

I find the negative tone of the article puzzling. AI is just a tool. Use it well and it makes you more productive. Use it badly and it causes problems.

comment 4mo ago · link · parent

An additional note running SQLite in production:

SQLite gets really slow when using very large BLOB's (100+ MB). I ended up having to store the BLOB's externally and refer to them from the SQLite DB. Not ideal of course (the BLOB's are not transacted) but works OK in practice using hashing/checks etc. to detect and handle invalid BLOB's.

comment 4mo ago · link · parent

> Only because Lisp Machines, or variations thereof didn't took off in the mainstream

It apparently turned out that it was more efficient to compile Lisp to a "normal" CPU instead of using an expensive custom non-generic "Lisp" CPU.

comment 4mo ago · link · parent

> I don’t know but to me it seems a bunch of people should learn proper typing

There is no way your hands can produce code faster than a machine.

Even before AI, I used a custom code generator for years. It generated about 90% of the code needed for large business applications in seconds, including support for multiple protocols, database adapters (Oracle, SQLite, in-memory, etc.), and programming languages such as C++, TypeScript, and Java.

Writing the same amount of code by hand would have taken even the fastest developer months. The machine did it in seconds, and it did it consistently and bug free.

comment 4mo ago · link · parent

I code the parts that are new and interesting. However after 30+ years of programming most code is something I have done before so I love getting Claude Code to do it :)

comment 4mo ago · link · parent

I 100% disagree.

I'm the maintainer of a large, business-critical C++ application with over a million lines of code that's used by major international companies. Claude Code routinely handles large and complex code changes correctly.

I review every line that Claude Code adds or changes, so this isn't speculation. It's an empirical fact.

These days my job is mostly to direct Claude Code, review its changes, and test the results. I still write code by hand when it's faster than explaining what I want, but that's becoming less common.

comment 4mo ago · link · parent

What an excellent read. It absolutely nails the "why aren't everybody writing software now" question.

comment 4mo ago · link · parent

Economists are famous for almost always being wrong predicting the future.

comment 4mo ago · link · parent

> I enjoy making bread at home but it costs 10x and tastes like dog shit

Eh? You enjoy making stuff at home that tastes like dog shit? That doesn't make sense at all.

BTW: I love making bread and it tastes amazing!

comment 4mo ago · link · parent

The #1 rule when using AI (IMHO) is simple: don't outsource your thinking.

Use AI to brainstorm, implement features, learn new things, improve your writing, or speed up repetitive work.

Just make sure you keep thinking while doing so!

comment 4mo ago · link · parent

Who cares? I most certainly doesn't. As long as the article is well written.

comment 4mo ago · link · parent

> go ahead and learn common lisp macros

Lisp macros used to be the one advantage Lisp had over other programming languages. However nowadays macros are common. There are even languages that has more than one flavour of macro system (Haskell has both a typed and non-typed flavour of macros).

However I personally prefer custom code generators instead of macros. The problem with macros, for the kind of large scale systems I work on, is understanding macros with N layers of abstraction, and also the compile/run time cost of using them.

Also, you can write code generators in any language and generate code for any language. Which is a huge advantage. I (for example) use code generators that generate C++, Java, Typescript, SQL, PDF's, interface descriptions, protocol specs etc. Whatever is required by a customer or other members of the team I can generate without demanding that they use a specific programming language.

Don't get me wrong. I love playing around with macros. However I have decided not to use them for real work.

comment 4mo ago · link · parent

I use plenty of DSL's in my daily work maintaining 1 million+ lines of C++ code used by very large companies around the world. No macros needed or wanted. More than 90% of the production code is generated from DSL's.

Outside of C++, Haskell has many great examples of powerful DSL's implemented without macros.

The problem with macros is the compile/run time cost. I could have implemented those DSL's using C++ templates (which are Turing complete by the way) but I prefer not to.

comment 4mo ago · link · parent

> Common Lisp it's in places where trying to build such kind of software in C/C++ would be a reciper for disasters.

I personally never blame the tools. I have written fairly complex software in 68000 assembler and it (1) worked fine and (2) was highly maintainable. However it was of course much slower to modify than using a higher level language.

comment 4mo ago · link · parent

> Alan Kay says a lot of problems with C/C++ go away when using the higher math more easily expressible in Lisp and like minded languages

That doesn't match my experience at all. Math and numbers are in general not a problem except when (say) implementing triangle hit detection in a game (something I did) where the precision of 32 bit floats does matter.

> Jürgen Schmidhuber says the problem with computers from a mathematician's point of view are the numbers.

That is probably true if you are a mathematician. Most people aren't.

Having said that, LEAN (for example) is written in C++ and used heavily by mathematicians.

1
678
116