Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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,171,160 görüntüleme • 1 ay önce •via X (Twitter)

44 Yorum

ddwr profil fotoğrafı
ddwr1 ay önce

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?

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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.

ddwr profil fotoğrafı
ddwr1 ay önce

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

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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

HSVSphere profil fotoğrafı
HSVSphere1 ay önce

Wow

tryingEveryThing profil fotoğrafı
tryingEveryThing1 ay önce

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

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

or set some kind of tighter budget for

Doug Lance profil fotoğrafı
Doug Lance1 ay önce

/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.

Not aToaster profil fotoğrafı
Not aToaster1 ay önce

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

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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

Tomasz Dłuski profil fotoğrafı
Tomasz Dłuski1 ay önce

finally we can feel like in 1995

andrw_x86 profil fotoğrafı
andrw_x861 ay önce

Factorio

Neil Chudleigh profil fotoğrafı
Neil Chudleigh1 ay önce

Very very interesting but the memory usage is insane haha

Filip Aničić profil fotoğrafı
Filip Aničić1 ay önce

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

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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.

Lucas Meijer profil fotoğrafı
Lucas Meijer1 ay önce

Very cool!

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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.

Nick Dobos profil fotoğrafı
Nick Dobos1 ay önce

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

Sleepy Panda profil fotoğrafı
Sleepy Panda1 ay önce

this is amoozing

Travis Fischer profil fotoğrafı
Travis Fischer1 ay önce

this is so cyberpunk, i love it 💪

shtrdl profil fotoğrafı
shtrdl1 ay önce

this is awsome

sjosh profil fotoğrafı
sjosh1 ay önce

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

NoFate Technology - Luis V. Penados profil fotoğrafı
NoFate Technology - Luis V. Penados1 ay önce

awesome and useful 👍

Jon Kakaley profil fotoğrafı
Jon Kakaley1 ay önce

Very cool

0x505badc0de profil fotoğrafı
0x505badc0de1 ay önce

wtf, why

Aa profil fotoğrafı
Aa1 ay önce

oh hell no

Clifford Richardson profil fotoğrafı
Clifford Richardson1 ay önce

This is very nice. Great presentation.

Hanan Beer profil fotoğrafı
Hanan Beer1 ay önce

NEED. NOW 😦

Jerome Mukindia profil fotoğrafı
Jerome Mukindia1 ay önce

This is genuinely impressive 😎

Akgames01 profil fotoğrafı
Akgames011 ay önce

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

Steve Acomb profil fotoğrafı
Steve Acomb1 ay önce

Cool! is there a public repo for this?

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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.

Tim Trussner profil fotoğrafı
Tim Trussner1 ay önce

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.

HMI profil fotoğrafı
HMI1 ay önce

cool

Luden profil fotoğrafı
Luden1 ay önce

awesome

Kiaran Ritchie profil fotoğrafı
Kiaran Ritchie1 ay önce

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

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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.

saurabh kaul profil fotoğrafı
saurabh kaul1 ay önce

Looks like a fun onboarding tool

Rik Arends profil fotoğrafı
Rik Arends1 ay önce

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

supercollider profil fotoğrafı
supercollider1 ay önce

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

Aaron M Harris profil fotoğrafı
Aaron M Harris1 ay önce

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

Bilal profil fotoğrafı
Bilal1 ay önce

Is this makepad studio ? how can I use it?

cutekernel profil fotoğrafı
cutekernel1 ay önce

No.

Benzer Videolar