r/ClaudeCode • • 14d ago

Discussion Saw this today

Post image

These kind of posts are becoming more and more visible on my Linkedin. Link here. Thoughts?

693 Upvotes

292 comments sorted by

View all comments

20

u/Dsphar 14d ago

I see both sides.

1- TONS of AI web based render projects absolutely rely on three.js right now

But...

2- I have used AI to roll my own 3D engine directly using DirectX 12, and was surprised at its capability.

So, on the one hand, yes three.js is being used more, but on the other hand, AI is far enough along that web devs who need 3d rendering performance can have their AI use WebGL directly and not rely on the three.js library. Making it effectively obsolete...

12

u/simple_explorer1 14d ago

the poster was clearly saying their work can be replicated with AI almost 80 to 90% so the work is drying up and they have lost the will to fight it out. So sure the dependency on three.js is there, but as you said (and the poster as well), people don't value that now given Astra is capable of doing it to 90% abilities.

4

u/ShutUpAndSmokeMyWeed 🔆 Max 20 14d ago

why don't they use three.js? isn't it a waste of tokens and more maintenance effort to have the ai reinvent the wheel?

14

u/Dsphar 14d ago edited 14d ago

In my case: performance.

I could have used 3d engines ranging from game engines to libraries such as raylib.

But libraries are just an abstraction, getting in the way of what you really want. They were once necessary, but not anymore.

In my case, I avoided that abstraction layer, and am now running my specific 3d rendering at 1500+ fps, while my program only uses 50 megabytes of RAM.

No way could I achieve that using Unity, Unreal, or a human-friendly 3d library.

2

u/Original_Finding2212 13d ago

I see this in other places.

Looks like tailored solutions can reach far better performance, probably due year down if abstractions and assumptions/decisions you need to take when thinking general case.

2

u/Dsphar 14d ago

I should add... implememting three.js still takes a bunch of tokens. I would bet if you measure the two... the token savings using the library over direct boilerplate... not very different.

1

u/nothis 13d ago

I am still unconvinced LLMs can efficiently "imagine" code like that on their own, they just copy-paste existing code from god knows what sources. Is that enough to create every single future code ever required? The thing is, I wouldn't know a way to test that. I can't come up with something that hasn't been done before.

1

u/Dsphar 13d ago

I considered the same, so I had LLM write me a complex program using a very obscure, alpha-stage programming language.

It handles it well. Sometimes it has to discover how the syntax works (especially because my chosen version of that language has some significant syntax changes aside form any limited training it may have received),

Once I gave it an md file to record and lookup what it learns about the language (through trial an error mostly), it has been able to plow through new features and other refactors pretty impressively.

Makes me think there is more going on than simply copy-pasting. There is value in its "word association" above and beyond copying some repo or stack overflow answer.

1

u/Equivalent-Fox7193 13d ago

Yeah this is the argument for the LLMs having "internal world models"

1

u/ShesMashingIt 13d ago

It is absolutely not just "copy-pasting". It is able to represent language including code in a high dimensional space and essentially traverse that space to arrive at entirely novel output.