I Built a FAST Package Manager (in Rust)
HTML-код
- Опубликовано: 28 июн 2024
- Project Repository: github.com/conaticus/click
Kventis Github: github.com/ImKventis
Discord: / discord
Github: github.com/conaticus
Twitter: / conaticus
Join this channel to get access to perks:
/ @conaticus
0:00 Intro
0:24 Command Parsing
1:11 Version Resolution
3:02 Multi-Threading
3:40 Package Fetching
6:03 Duplicate Avoidance
6:27 Benchmark Against Bun
I Built a FAST Package Manager (in Rust) - Наука
Him: explaining whole code in detail.
Me: "I like your funny words, magic man!"
0:08 DUDEEEEEEEE, YOUR GLASSES!!! AAAAAAAAAAAAAAAAAAAAAAAAAAAA
I really enjoyed watching this! The more detailed explanations definitely help to understand your projects better :)
appreciate you open sourcing this, i think vids like this would go crazy if you actually built these from scratch in a tutorial. nobody else does unique projects like these
Great video!
I just wanted to point out that incrementing an atomic number on every completion is not inefficient at all, especially when you compare it to the rest of the task which includes a web request.
Does yours also crash when .env variable is exactly 159 bytes long?🤣
lmfao really? I haven't heard of bun crashing like that lmfao
@@juanmacias5922it happened in an earlier version. They fixed it
@@juanmacias5922it's a feature
Love your content, keep it up bro!
Very good. I'm like especially your rust videos. Keep shooting them.
Always love watching your videos. Keep it up!
Maybe you've already done this, but I recommend when your main loop blocks on the empty while loop, use thread::sleep for 10ms or so so your loop doesn't keep a core busy that would otherwise be resolving dependencies.
Thanks for the video. Was very interesting.
Is it just me or your Rust code is suddenly very clear now? It's amazing!
Edit: ah yes, thanks, Kventis!
this is awesome.
Helping you to break RUclips algorithm
without cache, the bottleneck is your internet/ping speed
Exactly. So npm should do better cdn etc. Or you should have some kind of local npm cache server
loving the content, just wish the videos were longer :D
your content is marvelous in our eyes
from where you comeup with this type of content
A _fast_ package manager? Mans done the impossible...
Oh, and name suggestion considering that _click_ is also the name of a Python library for building CLIs:
_conch_
con: short for *con* aticus
ch: short for *ch* anneling
rust programmer is going to conquer the world...
the race is on to be the fastest!
Awesome , waiting for the next part
i love your videos
I think you can make it even fater but in Zig...
Phat.
How are you so good at coding where do you learn this?
also great video!
thanks
@@conaticus where can I find ideas like this to do myself, I'm facing a problem of not knowing "what project to do", any thing I come up with is some 100 developers project that I can in no way start just like that
@@itsmeagain1415 you can do pretty much anything - just do things that already exist, starting basic like an HTTP server implementation, basic data structures ( queues, hashmap, dynamic arrays/vec ) ( obv write them from primitives to challenge yourself ), a package manager is pretty easy and is basically an HTTP client that fetches from git or a registry like NPM and most basically it involves the steps in this video but might also include a build/compilation step, you can also implement more complicated things like a version control system analogous to git itself, or beyond that you could implement an interpreted language from scratch or even further a compiled one. There are basically endless things you can do for project, hell even just opening a code editor and messing around in your language, reading the std lib, will get you some valuable experience.
I love ur vids
I tried to install bun on my machine a few hours ago, then I saw I needed to install Linux on my PC, then I gave up and admitted that node was fine to build a discord bot in typescript x'). Programmers will always try to gain that one extra second of their time xD
Just not worth it
isn't Deno also faster than Node?
@@juanmacias5922 yep
@@imrdeveloper ive tried for hours never set it up before
@@juanmacias5922 anything is faster than node
Your videos are my life essence
thank you ❤
@@conaticuslove your vids man keep goin
Congrats
didnt ask mate
@@charlie_r_1717 He literally helped Conaticus with the video. Pretty sure he has a reason to congratulate him.
letsgo
nice
cool
... so the other day i thought: "Huh, i need to create a package manager which is faster than homebrew" (yes i am a mac user...). Scrolling thru youtube... and i see this video. LMAO
i didnt understand a single thing, though I watched whole 7 min 35 sec of video XD
i'm simple person, I see Rust. I click it
Hiii
Test it against npm!
Then there is dumb me that tryed to make my own tailwind css, tryed to make it faster, and ended up creating it 3x faster lol
+1 for using RUST , -1 for using WINDOWS
Great work, but you should have a respect to Bunf's team and Node's team.
Your tweet like "im sorry bun" is too offensive...
write a compiler for typescript to native and not a fucking package manager
Do it yourself