Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Ironed out the last performance issues with my full 2.5m line codebase explorer. 120hz awesomeness. Can only upload 60fps video tho. Much nicer uncompressed

1,148,351 Aufrufe • vor 4 Tagen •via X (Twitter)

44 Kommentare

Profilbild von ddwr
ddwrvor 4 Tagen

This is really cool! Have you considered using quadtrees to render only whats visible under viewport? That would reduce struct size and give you a cache friendly layout of lookups for nearby tiles. Also, if you dont mind, what is the 21 GB alloc holding?

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

I think its just holding on to too many tilechaches. But without that i think it used 10gb ram so. Still not something i'd chuck in a browser.

Profilbild von ddwr
ddwrvor 4 Tagen

Ahh gotcha, and i can see the phase where the text is loaded in after a certain threshold. Pretty neat! Hope you find a DS or some way to reduce the storage, though. Would still use for sure

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

I think it parses/caches the entire codebase into ram at startup. That takes a few seconds, like 10 or so on my mac.

Profilbild von HSVSphere
HSVSpherevor 4 Tagen

Wow

Profilbild von tryingEveryThing
tryingEveryThingvor 4 Tagen

wow, this looks so nice! But 21 gb is quite heavy.

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

yea its probably tile cache i can be a bit stricter about.

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

or set some kind of tighter budget for

Profilbild von Doug Lance
Doug Lancevor 4 Tagen

/goal profile this system. Must check full zoom, clicking each component, and loading or closing new filebases. Iterate and reduce memory usage without changing features.

Profilbild von Not aToaster
Not aToastervor 4 Tagen

This is awesome. A 2.5M line codebase rendered like a city map beats folder diving any day. 120hz makes it feel instant. What's powering the renderer? 🔥 #DevTools

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

It's just built on makepad my Rust gpu accel UI stack.

Profilbild von Tomasz Dłuski
Tomasz Dłuskivor 4 Tagen

finally we can feel like in 1995

Profilbild von andrw_x86
andrw_x86vor 4 Tagen

Factorio

Profilbild von Neil Chudleigh
Neil Chudleighvor 4 Tagen

Very very interesting but the memory usage is insane haha

Profilbild von Filip Aničić
Filip Aničićvor 4 Tagen

You could scan the codebase once to get the structure and any metadata, then only have a file loaded/streamed and code contents render, when the camera zooms in to a certain level. Should not require so much RAM to do, even with millions of lines

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

No you can definitely optimise it. I mostly posted it as a 'im not sure if Web will be in range for this one'. It's just what it is now, but there are many many ways to reduce that.

Profilbild von Lucas Meijer
Lucas Meijervor 4 Tagen

Very cool!

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

Its actually 3.4M lines of code. But it is of course doing every single render trick LOD, tilecache (realtime tho) to keep this smooth.

Profilbild von Nick Dobos
Nick Dobosvor 4 Tagen

I thought this was a chip design at first Wow. so cool.

Profilbild von Sleepy Panda
Sleepy Pandavor 4 Tagen

this is amoozing

Profilbild von Travis Fischer
Travis Fischervor 4 Tagen

this is so cyberpunk, i love it 💪

Profilbild von shtrdl
shtrdlvor 4 Tagen

this is awsome

Profilbild von sjosh
sjoshvor 4 Tagen

Can you see the changes real time? If for example, many agents are deleting files, making changes in several areas?

Profilbild von NoFate Technology - Luis V. Penados
NoFate Technology - Luis V. Penadosvor 4 Tagen

awesome and useful 👍

Profilbild von Jon Kakaley
Jon Kakaleyvor 4 Tagen

Very cool

Profilbild von 0x505badc0de
0x505badc0devor 4 Tagen

wtf, why

Profilbild von Aa
Aavor 4 Tagen

oh hell no

Profilbild von Clifford Richardson
Clifford Richardsonvor 4 Tagen

This is very nice. Great presentation.

Profilbild von Hanan Beer
Hanan Beervor 4 Tagen

NEED. NOW 😦

Profilbild von Jerome Mukindia
Jerome Mukindiavor 4 Tagen

This is genuinely impressive 😎

Profilbild von Akgames01
Akgames01vor 4 Tagen

when I first looked at it, it looked like a logic diagram for a GPU or a CPU. amazing work

Profilbild von Steve Acomb
Steve Acombvor 4 Tagen

Cool! is there a public repo for this?

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

It uses 21gb of ram currently. Hence why web is so far out of range its not even funny. Might be able to slim that down a bit but not all that much.

Profilbild von Tim Trussner
Tim Trussnervor 4 Tagen

I would love to work in an IDE that looks like this with smooth movements from one part of the codebase to another. I think you would develop a better cognitive map of the structure. Just like holding a book is more effective than e reader. Spatial component.

Profilbild von HMI
HMIvor 4 Tagen

cool

Profilbild von Luden
Ludenvor 4 Tagen

awesome

Profilbild von Kiaran Ritchie
Kiaran Ritchievor 4 Tagen

It's be cool if you could select files and see a heat map overlay of related files.

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

Yea thats all quite possible. It shows search results now as a layer on top of the texture tiles. The 2D tile is really fast. As long as you dont relayout the whole thing in realtime (it can't do that) you can visualise quite niceyl.

Profilbild von saurabh kaul
saurabh kaulvor 4 Tagen

Looks like a fun onboarding tool

Profilbild von Rik Arends
Rik Arendsvor 4 Tagen

Its definitely a nice way to get a lay of the land of the codebase for sure.

Profilbild von supercollider
supercollidervor 4 Tagen

wowww, so cool. crazy how it looks like a computer chip or circuit board can you glean patterns from this?

Profilbild von Aaron M Harris
Aaron M Harrisvor 4 Tagen

I love the 3D view! This reminds me of "Space Sniffer" but for code! 😊 Any chance of a Github upload soon? 🙏

Profilbild von Bilal
Bilalvor 4 Tagen

Is this makepad studio ? how can I use it?

Profilbild von cutekernel
cutekernelvor 4 Tagen

No.

Ähnliche Videos