Загрузка видео...

Не удалось загрузить видео

На главную

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,447 просмотров • 1 месяц назад •via X (Twitter)

Комментарии: 44

Фото профиля ddwr
ddwr1 месяц назад

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
Rik Arends1 месяц назад

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
ddwr1 месяц назад

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
Rik Arends1 месяц назад

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
HSVSphere1 месяц назад

Wow

Фото профиля tryingEveryThing
tryingEveryThing1 месяц назад

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

Фото профиля Rik Arends
Rik Arends1 месяц назад

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

Фото профиля Rik Arends
Rik Arends1 месяц назад

or set some kind of tighter budget for

Фото профиля Doug Lance
Doug Lance1 месяц назад

/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
Not aToaster1 месяц назад

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
Rik Arends1 месяц назад

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

Фото профиля Tomasz Dłuski
Tomasz Dłuski1 месяц назад

finally we can feel like in 1995

Фото профиля andrw_x86
andrw_x861 месяц назад

Factorio

Фото профиля Neil Chudleigh
Neil Chudleigh1 месяц назад

Very very interesting but the memory usage is insane haha

Фото профиля Filip Aničić
Filip Aničić1 месяц назад

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
Rik Arends1 месяц назад

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
Lucas Meijer1 месяц назад

Very cool!

Фото профиля Rik Arends
Rik Arends1 месяц назад

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
Nick Dobos1 месяц назад

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

Фото профиля Sleepy Panda
Sleepy Panda1 месяц назад

this is amoozing

Фото профиля Travis Fischer
Travis Fischer1 месяц назад

this is so cyberpunk, i love it 💪

Фото профиля shtrdl
shtrdl1 месяц назад

this is awsome

Фото профиля sjosh
sjosh1 месяц назад

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
NoFate Technology - Luis V. Penados1 месяц назад

awesome and useful 👍

Фото профиля Jon Kakaley
Jon Kakaley1 месяц назад

Very cool

Фото профиля 0x505badc0de
0x505badc0de1 месяц назад

wtf, why

Фото профиля Aa
Aa1 месяц назад

oh hell no

Фото профиля Clifford Richardson
Clifford Richardson1 месяц назад

This is very nice. Great presentation.

Фото профиля Hanan Beer
Hanan Beer1 месяц назад

NEED. NOW 😦

Фото профиля Jerome Mukindia
Jerome Mukindia1 месяц назад

This is genuinely impressive 😎

Фото профиля Akgames01
Akgames011 месяц назад

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

Фото профиля Steve Acomb
Steve Acomb1 месяц назад

Cool! is there a public repo for this?

Фото профиля Rik Arends
Rik Arends1 месяц назад

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
Tim Trussner1 месяц назад

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
HMI1 месяц назад

cool

Фото профиля Luden
Luden1 месяц назад

awesome

Фото профиля Kiaran Ritchie
Kiaran Ritchie1 месяц назад

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

Фото профиля Rik Arends
Rik Arends1 месяц назад

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
saurabh kaul1 месяц назад

Looks like a fun onboarding tool

Фото профиля Rik Arends
Rik Arends1 месяц назад

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

Фото профиля supercollider
supercollider1 месяц назад

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

Фото профиля Aaron M Harris
Aaron M Harris1 месяц назад

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

Фото профиля Bilal
Bilal1 месяц назад

Is this makepad studio ? how can I use it?

Фото профиля cutekernel
cutekernel1 месяц назад

No.

Похожие видео