I've seen your complaints about rust a few times, but also seen you write it and it's pretty expressive as long as you avoid using super esoteric language features. Honestly reads a lot better than C++, especially when using classes and function pointers which are pretty common in front-end and functional/declarative programming paradigms. And the cargo system is really nice compared to Make!
@decqyd Жыл бұрын
whens this guy gonna make an operating system smh
@strongleongch Жыл бұрын
In porth
@Tigregalis Жыл бұрын
@@j4n1x19 how long ago?
@abdoraqi1362 Жыл бұрын
@@j4n1x19 could you please refer the link 😊. I couldn't find it 😅
@LuisDa20 Жыл бұрын
Hi did, it's called templeOS
@lokthar6314 Жыл бұрын
@@LuisDa20 Terry Davis, the greatest programmer of all times, created it.. This time I forgive you
@diegorocha2186 Жыл бұрын
This was the first time I saw someone using the touch command properly lol Nice code session btw!!!!
@ndrmqaxn Жыл бұрын
You're so talented! I'm a non-native English speaker and searching documents to get useful things is somewhat difficult for me. I'm trying to overcome it.
@merthyr1831 Жыл бұрын
If you mean searching software documentation, that's difficult for native speakers too - don't worry! You're doing great by the way 👍
@ndrmqaxn Жыл бұрын
@@merthyr1831 Thank you for your warm encouragement!
@Rayer24Ай бұрын
This comment was made over a year ago, I'm sure you're much better now :)
@Mozartenhimer Жыл бұрын
Getting fast on the KZbin uploads. Love it!
@ac130kz Жыл бұрын
rayon is a really nice library for iterator parellization
@kibels894 Жыл бұрын
If it compiles it works :)
@Dygear Жыл бұрын
Lol at the i3 status bar for this video. Great sense of humor.
@hypnogri5457 Жыл бұрын
finally I was waiting for this Pog
@----__--- Жыл бұрын
from what i can see add_folder_to_model signature is very weird and it has too many indirections. model doesnt need to be a dyn trait object. it can just be a "impl Model" and monomorphized by the compiler. and for parallelizing the indexing process, you probably want to have a look at std::thread::scope
@ole4707 Жыл бұрын
It also doesn't need to take the mutex behind an Arc, and can just take a reference to the mutex. It doesn't require the ownership.
@movization Жыл бұрын
Just in time!
@rockNbrainАй бұрын
Is this the last vid of this rust project series ?
@antronixful Жыл бұрын
Every time i watch you program in rust, i imagine the two soyjacks vs the two chads saying: soy1: "nooooo you can't do that in rust, that's not secure, you are not a rustacean" soy2: "rust is supposed to be inclusive " chad1: "rust sucks and i love it" chad2: "yes."
@----__--- Жыл бұрын
rust has different shortscomings in many ways but none of them are stuff like struct fields being private by default, which is the most sensible default, like he complains in the video.
@antronixful Жыл бұрын
@@----__--- i know rust is very passive aggressive, that's why i commented that ane why i don't like it that much
@angelcaru8 ай бұрын
@@----__--- That's the most sensible default???? Explain how
@----__---8 ай бұрын
@@angelcaru its the most sensible for most people to assume that the state of the object is invariant to that object unless specificed otherwise. and its the most sensible to prefer making fields public to forgetting to specify priv and causing breaking changes in the api. but ultimately it doesnt matter, its literally just field visibility. and like i said in my comment a year ago, thats not a shortcoming of rust, nobody cares.
@williamanthony7224 Жыл бұрын
I managed to get my version, on glDocs, to build a directory tree, then spawn threads to parse each xhtml file and return its hashmap through a mpsc channel. Got my M1 Mac to go from 2.6 seconds to 0.6 for indexing. I’m looking forward to watching and see how you do it
@williamanthony7224 Жыл бұрын
Also, serde has a function for doing pretty json to files that’s good for testing
@DuskyDaily Жыл бұрын
Amazing!
@evildougthevillainousassistant Жыл бұрын
thanks for the tips
@WhoIsMrKemp Жыл бұрын
I want to know what he thinks of kataos...or using Rust on KataOs
@hsthast7183 Жыл бұрын
Pls do add this video to your rust search engine KZbin playlist.
@aryabp Жыл бұрын
Cool❤
@rodelias9378 Жыл бұрын
That was great
@yjk_ch Жыл бұрын
Haven't watched fully yet, but it makes me a bit sad when you are doing Arc::clone when you could just modify the function to accept &Arc
@simonfarre4907 Жыл бұрын
Of course it will be cross platform- your index json files won't though since you serialize the SystemTime object. But why the hell would you want the serialized data itself cross platform? If it is serialised on Windows it will be in Windows format.
@maxsilvester1327 Жыл бұрын
i think it could be made cross platform by converting the SystemTime to Duration since epoch.