Better HN
topnewbestaskshowjobs
Log inSign up

andersmurphy

1,011 karma · joined Feb 22, 2019 (7y ago) · 496 submissions

https://andersmurphy.com
Submissions

comment 7mo ago · link · parent

Apart from Andy Gavin [1]. He knows both the cost and the value of everything.

[1] https://en.wikipedia.org/wiki/Game_Oriented_Assembly_Lisp

comment 7mo ago · link · parent

Yeah the best feature. Also filters those results from your assistant queries so less slop contaminating your results.

comment 8mo ago · link · parent

True using a JIT without understanding it is not a panacea. Same as a GC. Same as malloc and free (you're often much better off with arena allocators).

Most JITs let you tune when and how they inline. It's also worth knowing how they works and what they can/can't inline.

You linked to monojit. Luajit is a whole other beast. I'd argue it's superior to anything in JS/JAVA/C# land (and I say that as someone with a reasonable understanding of the JVMs C2 JIT).

As an aside with low latency GCs like the JVM's ZGC trading manual memory management for no memory related security vulnerabilities is pretty appealing.

Like everything in programming it's a trade off.

comment 8mo ago · link · parent

Or use raylib from luajit FFI and blow C# out of the water. Luajit can be faster than C, truly alien tech from Mike Pall.

comment 8mo ago · link · parent

Luajit is often faster than C. The qualities you described above actually make it great for game dev.

comment 8mo ago · link · parent

> SQL can make 2D data, but it extremely bad at it. It’s a good opportunity to wonder whether this part can be improved.

R*Trees are what you are looking for. The sqlite implementation supports up to 5 dimensions.

comment 8mo ago · link · parent

Yup. Works even better with R*Trees[1]. Great article btw!

- [1] https://www.sqlite.org/rtree.html

comment 8mo ago · link · parent

That assumes they don't accelerate the accumulation of technical debt. For each item cleared how many new ones are added. LLMs accelerate your good engineers and your bad ones. So the slop likely increase faster than it can be cleared.

comment 8mo ago · link · parent

Wonder if the real value of LLMs/AI is similar to microservices in that it solves an organisational/culture problem.

In this case AI allowed the developer to make a change that the organisation would not have allowed. Regular rewrites don't let you signal to investors that you are AI ready/ascendant/agentic (whatever the latest AI hype term is) so would have been blocked. But, an AI rewrite.

comment 9mo ago · link · parent

Yup, same way people are starting to realise/remember having your compute next to your data is a good idea (maybe lambdas/serverless are not so hot because they get in the way of this).

Spacetimedb, convex, etc are basically the revenge of stored procedure.

comment 9mo ago · link · parent

Yeah that's a good point ops teams don't over engineer or do CV driven development like platform teams.

comment 9mo ago · link · parent

> In that decade, this company was behind the curve

I like to think there is no curve only fashion. I've seen company's that were so behind that they managed to avoid adopting disasters like microservices etc. I've seen companies ahead of the curve go from monolith to microservices back to monolith.

Also funny that the ops team is now back just rebranded as the platform team.

Plus ça change.

comment 9mo ago · link · parent

Whats the obsession with concurrent writes?

Single writer will outperform MVCC as long as you do dynamic batching (doesn't prevent logical transactions) and all you have to do is manage that writer at the application level.

Concurrent writers just thrash your CPU cache. The difference between L1 and L3 can be 100x. So your single writer on a single core can outperform 10-100s of cores. Especially when you start considering contention.

Here's sqlite doing 100k TPS and I'm not even messing with core affinity and it's going over FFi in a dynamic language.

https://andersmurphy.com/2025/12/02/100000-tps-over-a-billio...

comment 9mo ago · link · parent

mmap is nice. But, I find sqlite is a better filesystem API [1]. If you are going to use mmap why not take it further and use LMDB? Both have bindings for most languages.

[1] - https://sqlite.org/fasterthanfs.html

comment 9mo ago · link · parent

It's the opposite. The less competent the average developer the more valuable coding LLMs become (as the only way for those bad developers to generate ok code). Eliminate the good developers and even bad coding LLMs become valuable.

comment 9mo ago · link · parent

Interesting are openai losing enough customers from this that they are making a post describing their robust backbone?

comment 9mo ago · link · parent

I guess that means they are only soft deleting.

comment 9mo ago · link · parent

Ask your LLM for a random number between 1 and 10. What do you get?

Let me guess you got 7?

comment 9mo ago · link · parent

I'm surprised people don't use Lima (quick headless local VMs where you can mount a folder). [1]

[1] - https://lima-vm.io/docs/examples/ai/

comment 9mo ago · link · parent

I'm curious how much they lost in the bitcoin crash.

comment 9mo ago · link · parent

With the power of LLMs anyone can make and sell foot guns.

comment 9mo ago · link · parent

Is this unsurprising? It's a fancy markov chain. It's like using a slot machine to diagnose medical conditions. I guess it's a slot machine with really good marketing.

comment 9mo ago · link · parent

On the bright side it means mostly JS/TS libraries will get slopified (as they tend to have the most stars thanks to ecosystem size). Small mercies.

comment 9mo ago · link · parent

There would be no SQLite though.

comment 9mo ago · link · parent

Is this going to be like when Sun paid universities to use/teach Java? Just with Anthropic and LLMs?

comment 9mo ago · link · parent

I didn't think it was possible for Vercel to get more expensive, but I guess we're going to find out.

comment 9mo ago · link · parent

That is the plan yes.

comment 9mo ago · link · parent

Its obvious why this us getting blocked open claw will make multiple orders if magnitude more requests. For each open claw user you could support tens of thousands of regular users.

The financial costs would clearly be ruinous.

comment 9mo ago · link · parent

For decades the economic planners of the west have used the most effective tool at their disposal: the business class inflight magazine. Only recently surpassed by the VC telegram group chat.

comment 9mo ago · link · parent

I mean once campfire is full featured free and easy to self host. Completely open source slack replacement.

I imagine it's also infinitely better than anything an in house team could vibe code.

You don't need AI for a cheap slack alternative.

That's why I don't buy any of this.

Companies are not bothering with the free/open alternatives.

Unless the real power of LLMs is making it easy for greg in HR to self host these existing alternatives. But, that a trillion dollar market does not make.

1
567
17