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,170,573 Aufrufe • vor 1 Monat •via X (Twitter)

44 Kommentare

Profilbild von ddwr
ddwrvor 1 Monat

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 1 Monat

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 1 Monat

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 1 Monat

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 1 Monat

Wow

Profilbild von tryingEveryThing
tryingEveryThingvor 1 Monat

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

Profilbild von Rik Arends
Rik Arendsvor 1 Monat

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

Profilbild von Rik Arends
Rik Arendsvor 1 Monat

or set some kind of tighter budget for

Profilbild von Doug Lance
Doug Lancevor 1 Monat

/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 1 Monat

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 1 Monat

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

Profilbild von Tomasz Dłuski
Tomasz Dłuskivor 1 Monat

finally we can feel like in 1995

Profilbild von andrw_x86
andrw_x86vor 1 Monat

Factorio

Profilbild von Neil Chudleigh
Neil Chudleighvor 1 Monat

Very very interesting but the memory usage is insane haha

Profilbild von Filip Aničić
Filip Aničićvor 1 Monat

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 1 Monat

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 1 Monat

Very cool!

Profilbild von Rik Arends
Rik Arendsvor 1 Monat

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 1 Monat

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

Profilbild von Sleepy Panda
Sleepy Pandavor 1 Monat

this is amoozing

Profilbild von Travis Fischer
Travis Fischervor 1 Monat

this is so cyberpunk, i love it 💪

Profilbild von shtrdl
shtrdlvor 1 Monat

this is awsome

Profilbild von sjosh
sjoshvor 1 Monat

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 1 Monat

awesome and useful 👍

Profilbild von Jon Kakaley
Jon Kakaleyvor 1 Monat

Very cool

Profilbild von 0x505badc0de
0x505badc0devor 1 Monat

wtf, why

Profilbild von Aa
Aavor 1 Monat

oh hell no

Profilbild von Clifford Richardson
Clifford Richardsonvor 1 Monat

This is very nice. Great presentation.

Profilbild von Hanan Beer
Hanan Beervor 1 Monat

NEED. NOW 😦

Profilbild von Jerome Mukindia
Jerome Mukindiavor 1 Monat

This is genuinely impressive 😎

Profilbild von Akgames01
Akgames01vor 1 Monat

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 1 Monat

Cool! is there a public repo for this?

Profilbild von Rik Arends
Rik Arendsvor 1 Monat

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 1 Monat

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 1 Monat

cool

Profilbild von Luden
Ludenvor 1 Monat

awesome

Profilbild von Kiaran Ritchie
Kiaran Ritchievor 1 Monat

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

Profilbild von Rik Arends
Rik Arendsvor 1 Monat

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 1 Monat

Looks like a fun onboarding tool

Profilbild von Rik Arends
Rik Arendsvor 1 Monat

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

Profilbild von supercollider
supercollidervor 1 Monat

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 1 Monat

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 1 Monat

Is this makepad studio ? how can I use it?

Profilbild von cutekernel
cutekernelvor 1 Monat

No.

Ähnliche Videos