Search Engine in Rust (Ep.01)

แชร์
ฝัง

ความคิดเห็น • 173

  • @GeorgeIoannou-lc1ko
    @GeorgeIoannou-lc1ko ปีที่แล้ว +306

    I've learned more by watching tsoding streams than studying CS for 5 years

    • @vnshngpnt
      @vnshngpnt ปีที่แล้ว +48

      He thinks like a true engineer and teaches to do the same

    • @merthyr1831
      @merthyr1831 ปีที่แล้ว +28

      Tsoding has a really good teaching style for people who learn by doing/seeing in practice which is usually neglected in CS education. Love him!

    • @danielalvesldiniz
      @danielalvesldiniz ปีที่แล้ว +78

      studying CS for 5 years enabled you to understand the tsoding streams

    • @ilovepeaceandplaying8917
      @ilovepeaceandplaying8917 ปีที่แล้ว

      me too

    • @StfuSiriusly
      @StfuSiriusly ปีที่แล้ว

      damn sounds like you went to a terrible school

  • @andresconrado
    @andresconrado ปีที่แล้ว +139

    I just wanted you to know that after almost 10 years after abandoning programming (because of... reasons), your videos made me realize I want to learn and start practicing again. I did forget that programming was supposed to be fun.

    • @nandomax3
      @nandomax3 ปีที่แล้ว +13

      May the force be with you

    • @BboyKeny
      @BboyKeny 9 หลายเดือนก่อน +5

      Have you programmed the past 6 months?

  • @mafriese5
    @mafriese5 ปีที่แล้ว +79

    welcome to yet another ą̵͚͓͉̣̩̳͗͗̊̓̐͑͂̈́̿̓̚ͅz̶̡͈̞͚̞̼̭̰̬̝͙̮͋̌͛̌̎̽̓͠͝ó̶̡̨̧̙̰͇̻̲̩͔̳̤̠̝̜̊̇́͊̐̌̂̀͘͠ž̴͉̓͑͐ͅï̸̢̬̮̠̭̱̈́̓͐́͑̂̕̕n̸̨̪̜̰̠̹͂̏̿̈́͛̒̍͐̈́̍̈́͝ session

  • @ExCyberino
    @ExCyberino ปีที่แล้ว +36

    I love how people say, in any programming "teaching" style of videos, that they'd never learned as much as the said video after 5 years of uni, or after 3 semesters of X discipline.
    One of my theories is that you learned a lot during those times but after the video it solidified a certain concept because of how the video is put together.

  • @nandomax3
    @nandomax3 ปีที่แล้ว +11

    When I'm bored at work, I use to open the docs and source code of our main dependencies. Sometimes, I get great insights reading it

  • @int2str
    @int2str ปีที่แล้ว +88

    Some optimization tips:
    - Since you're lexing the file anyway, you can simply skip tags. Skip everything between ''. That way you can remove the XML parsing.
    - I believe at least with western languages (like English), words of 2 characters or less are often simply omitted for TF/IDF indexing. Cuts down on the has table size and generally doesn't loose any information.

    • @datpudding5338
      @datpudding5338 ปีที่แล้ว +2

      As the absolute beginner I am, do I understand your comment correctly?
      Lexing: the process of reading the file
      Has table size: amount of entries in a "list" of some kind that contains everything that is supposed to be filtered out
      Thanks in advance

    • @bartpelle3460
      @bartpelle3460 ปีที่แล้ว +8

      @@datpudding5338 I haven't watched the video (yet), but I think "has" was supposed to be "hash", becoming "hash table size.." which would make more sense to me, unless it's terminology over my head.

    • @natterbrot
      @natterbrot ปีที่แล้ว +1

      @@datpudding5338 the lexer splits the document into specific chunks that are easier to work with than the whole string. here it basically just splits the text contained in the XML along the spaces. but i think the term comes from parsing where it refers to splitting a string into predefined tokens like keywords and variable names.
      a hash table is a specific data structure that‘s very useful to quickly look up data in. but your extrapolation is correct, it‘s just a very fancy list with special properties.

  • @TheBboyism
    @TheBboyism ปีที่แล้ว +9

    "If you're watching this on TH-cam I'm probably going to cut this" *snaps fingers and proceeds not to cut it* 😆😆😆

  • @sardinemeowstein
    @sardinemeowstein ปีที่แล้ว +10

    I am just glad that you're still alive and well. Hope parents are doing good too.

    • @dumitru3355
      @dumitru3355 หลายเดือนก่อน

      do u know him ?

  • @vnshngpnt
    @vnshngpnt ปีที่แล้ว +10

    Came for Rust code, got philosophical thoughts about Internet. I was not disappointed :D
    And yeah, Rust is very well build and easy to use once you understand how it works. Traits are amazing.

  • @firapinch
    @firapinch ปีที่แล้ว +7

    какой приятный слегка заметный русский акцент у автора, спасибо за полезное видео, очень понравилось)
    what a nice slightly noticeable russian accent the author has, thanks for the useful video, I really liked it)

  • @sanctuary_of_soul
    @sanctuary_of_soul ปีที่แล้ว +2

    HolyFUck. There is no materials on how to implement a search engine on TH-cam.
    And here are you, and not in some shitlang, but in Rust!!
    I have very big expectations. Because whole playlist with several 2hour videos does NOT look like bullshit to me.
    It is serious SHIT.
    THANKS

  • @RenderDragon
    @RenderDragon ปีที่แล้ว +8

    Tsoding streams are so philosophic

  • @awfultrash888
    @awfultrash888 4 หลายเดือนก่อน +1

    Thank you Zozin, you taught me how to write code and how to think a way more properly than i used to, you're such a genius!

  • @orangejuice732
    @orangejuice732 ปีที่แล้ว +26

    I learn something new and useful every time I watch a stream. If it’s not about the main subject itself it’s usually just some random bit of bash or another arg for a commonly used command. How bout that

    • @myt436
      @myt436 ปีที่แล้ว +2

      Was is the git clone --depth flag by any chance?:)

    • @orangejuice732
      @orangejuice732 ปีที่แล้ว +1

      @@myt436 this time it was yes

    • @ocaly
      @ocaly ปีที่แล้ว +1

      Same! I like this channel so much

  • @hsider
    @hsider ปีที่แล้ว +13

    The story about computer speed and how programmers added delay to make people trust it, and how now it's the opposite lol made me laugh hard. I like these kinda videos, I miss my C years :/

  • @esiarpze7908
    @esiarpze7908 ปีที่แล้ว +8

    25:50 Absolutely fricking loved what you said about turning off the internet and becoming one with the project you’re working on. It’s something called flow state, explained beautifully in the book Flow by Mihaly Csikszentmihalyi.

  • @leodinogibbon
    @leodinogibbon 9 หลายเดือนก่อน +2

    I was feeling so unmotivated to code these days, this is getting me both motivated and teaches a lot of stuff 😭

  • @RenderDragon
    @RenderDragon ปีที่แล้ว +5

    Its so cool watching Tsoding both year ago and now

    • @NoOne-ev3jn
      @NoOne-ev3jn ปีที่แล้ว

      Watch some from his old channel 😮

    • @rastvl
      @rastvl ปีที่แล้ว

      @@NoOne-ev3jn Which channel are you talking about?

  • @nandomax3
    @nandomax3 ปีที่แล้ว +3

    This was the first time I saw a 2h long video! Now I want to build something too, I may try building it with another language

  • @hamzarashid7579
    @hamzarashid7579 หลายเดือนก่อน +1

    I completely agree that rust is for smart enthusiastic people who like sending their time making really complicated abstractions. That's the problem with rust is that you waste your time building these abstractions. You send your time debugging your programming language knowledge rather then debugging the application.

  • @Mr8lacklp
    @Mr8lacklp ปีที่แล้ว +16

    One reason your program might be slow is because I don't think those functions that take in readers and writers do any buffering so you might get a decent speedup by wrapping your files into std::io::BufReader and std::io::BufWriter respectively

    • @DaFoxForever
      @DaFoxForever ปีที่แล้ว +7

      Agreed. Unbuffered IO is slow as shit. At least in rust.

    • @cacheman
      @cacheman ปีที่แล้ว +10

      Fixed in commit e2ab6f5 three weeks ago. Us youtube frogs will always be a step behind.

  • @snk-js
    @snk-js ปีที่แล้ว +7

    loving these rust series, you are an angel god

  • @Liperium
    @Liperium ปีที่แล้ว

    That rant at ~25 minutes is really interesting. Efficiency isn't always better for our brain!

  • @allanwernermusic
    @allanwernermusic ปีที่แล้ว

    Please continue with this, i loved this one!

  • @DeanRTaylor
    @DeanRTaylor ปีที่แล้ว

    Really interesting video, hope to see more of this project.

  • @ronp6108
    @ronp6108 ปีที่แล้ว +2

    There is no serde in the post apocalypse

  • @nandomax3
    @nandomax3 ปีที่แล้ว +2

    Salve galera br do canal!! I noticed many Brazilian people were subbing to you this stream

  • @vanshajdhar9223
    @vanshajdhar9223 ปีที่แล้ว +5

    DF and IDF are the same statistics used by elastic search I guess to power their search functionality

  • @Eugensson
    @Eugensson 2 หลายเดือนก่อน

    54:05 my grandma was working as an accountant, she has started with abacus.
    When first mechanical calculators appeared in their bureau, she was double checking every calculation with an abacus.
    When first electronic calculators started appearing in their bureau, she was double checking them with the mechanical calculating machine.
    When first PC's were installed she started double checking the calculations on a calculator.

  • @andy_lamax
    @andy_lamax ปีที่แล้ว +2

    tsoding: "The youtube people can't hear us"
    TH-cam people: 😅

  • @thesleepyhead7273
    @thesleepyhead7273 ปีที่แล้ว +8

    Hey Tsdoing, i love your skills and videos ,just one request is that when you do a video can you please add some study materials and references that we can look up before and the basic prerequisites needed to atudy to easily follow your chain of thought.
    Also some kind of announcement of your next video topic so that we can read it and be better prepeared

  • @RicoBrassers
    @RicoBrassers ปีที่แล้ว +6

    55:26 - Well, I recently ported a legacy PHP image generator to JS (offloading the work on the client browser instead of the server). And I actually hardcoded a 1 or 2 seconds delay into the presentation of the result to actually indicate to the user, that work is indeed being done. 😂

  • @MaxCoplan
    @MaxCoplan ปีที่แล้ว +3

    1:43:30 yeah, trying to serialize it to JSON is hard. If I were you I'd store it in an SQLite file. It'd be easy to write the query to add each entry in `tf_index` to the db and also straightforward to parse it later

  • @rodelias9378
    @rodelias9378 ปีที่แล้ว

    That was amazing! Thanks a lot!!

  • @Mnbvc-oc8wv
    @Mnbvc-oc8wv ปีที่แล้ว +1

    Огнище 🔥🔥🔥 кайф контент 🔥

  • @arijanj
    @arijanj ปีที่แล้ว +8

    I think that Google Search is becoming shitty because nowadays there are lots of AI generated articles and people who specifically make it their JOB to bait Google results into their articles with SEO. But yeah, old Google was way better and I'm just waiting for a better search engine to come along.

    • @matroqueta6825
      @matroqueta6825 ปีที่แล้ว +2

      so basically it's not that google is shitty now, it's just that the internet is shitty now

    • @heroe1486
      @heroe1486 10 หลายเดือนก่อน

      ​@@matroqueta6825 I mean there have always been shitty stuff, it's Google's jib to filter that out

    • @julians.2597
      @julians.2597 2 หลายเดือนก่อน +1

      ​@@matroqueta6825 it's just goodhart's law; "Any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes."

  • @metaphoricallyalive8109
    @metaphoricallyalive8109 9 วันที่ผ่านมา

    Lord Tsoding is goated

  • @wumbl3
    @wumbl3 ปีที่แล้ว +1

    Better name proposition: CrustacIndex

  • @kakun7238
    @kakun7238 8 หลายเดือนก่อน

    he does rust too?? this is just amazing what

  • @1998goodboy
    @1998goodboy ปีที่แล้ว

    Simplicity with security…. **Go entered the chat**

  • @PGDJ88
    @PGDJ88 ปีที่แล้ว

    I heard my guy hear say two sentences and knew I was in for a good time.

  • @denisml42
    @denisml42 ปีที่แล้ว

    I really like the color scheme he is using. Is it a custom scheme or can i find it somewhere ?

  • @draco5991rep
    @draco5991rep ปีที่แล้ว +1

    Missed Opportunity to call it RustyEngine

  • @iambasanta
    @iambasanta ปีที่แล้ว +2

    how about that ? how about that ? i love this

  • @AdamSchelenbergCom
    @AdamSchelenbergCom ปีที่แล้ว +2

    27:00 Disconnecting from the internet for some time is quite brililant. I was disconnected recently but not by my own will, rather through circumstances. All I could do was work on my old projects and I couldn't actually download any libraries.

  • @lkda01
    @lkda01 7 หลายเดือนก่อน

    you are good, i like it!

  • @DanelonNicolas
    @DanelonNicolas ปีที่แล้ว +4

    subscriptions goes BRRRRRRRR

  • @RuslanKovtun
    @RuslanKovtun ปีที่แล้ว +2

    I love to work from tty because I can feel the lag of the terminal when i'm using X11.

  • @CarterColeisInfamous
    @CarterColeisInfamous ปีที่แล้ว +1

    7:54 they only recently started using those because they are easier to game with bots. social media cannibalized the entire link graph

  • @jkharabet
    @jkharabet ปีที่แล้ว +1

    21:36 The youtube people can hear you very well!

  • @AdamSchelenbergCom
    @AdamSchelenbergCom ปีที่แล้ว

    29:27 Be google on a small scale. God damn it, you're right again.

  • @extrempty
    @extrempty ปีที่แล้ว

    that's legendary

  • @Son-of-Zion1
    @Son-of-Zion1 11 หลายเดือนก่อน

    Would you say it's possible to do a go-along with the tutorial and make it in c++ (or even c or java)?

  • @vnshngpnt
    @vnshngpnt ปีที่แล้ว +4

    >TH-cam people cannot hear us
    Lmao

  • @CarterColeisInfamous
    @CarterColeisInfamous ปีที่แล้ว

    7:27 yes but it was more about pagerank and authority

  • @joshuagollaher9614
    @joshuagollaher9614 ปีที่แล้ว +2

    Result has a method called "expect" and it unwraps it but if there's an error, it prints out a message you give it, which is basically what you were doing with unwrap_or_else but in less code. If you want formatting, just call .expect(format!("ERROR: ..."));

    • @nanoqsh
      @nanoqsh ปีที่แล้ว +2

      If I need an error object I can't get it from expect, I need unwrap_or_else in this case

  • @anon-fz2bo
    @anon-fz2bo ปีที่แล้ว +1

    yea the only thing that sucks about rust is the fanatics and the foundation... I handle errors like that in zig as well

  • @hanswoast7
    @hanswoast7 ปีที่แล้ว +3

    45:25 After learning about the term "nerd sniping", I searched for the xkcd comic and spend about and hour on that website before returning to the video xD is there also a term for that?^^

    • @redpepper74
      @redpepper74 6 หลายเดือนก่อน

      going down an XKCD rabbit hole

  • @nevokrien95
    @nevokrien95 5 หลายเดือนก่อน

    Tf idf is pretty good. U can use a bit of extra stuff to make it ridiculously good.
    So bm25 changes the formula by a bit but it's the same core idea
    Modern stuff use ml embeddings but for a large query what u would usually wana do is run bm25 then take those results and rank them by the embeddings.

  • @user-re7ze9db5i
    @user-re7ze9db5i ปีที่แล้ว

    57:00 - Is great purpose to use more threads.

  • @AdamSchelenbergCom
    @AdamSchelenbergCom ปีที่แล้ว

    28:18 Now I think you are a character from South Park.

  • @michaelbrauner
    @michaelbrauner ปีที่แล้ว +2

    Ryan Dahl created npm in C and then Deno in Go and rewrote it in Rust - and he said he will never ever start a new project in C.
    So here is the work ... and the opinion of a productive creator. Also I think there is a phase in every language were libs and frameworks etc. have to be created by smart enthusiastic people. Like in PHP - nobody would care if you start now a project like Symfony or Laravel. But back then it was huge and important.

  • @ilovepeaceandplaying8917
    @ilovepeaceandplaying8917 ปีที่แล้ว +1

    pog❤

  • @vuxeim
    @vuxeim ปีที่แล้ว +7

    youtube people cannot hear us lmao

    • @TsodingDaily
      @TsodingDaily  ปีที่แล้ว +5

      Oops! Forgot to cut it out! :D

  • @nevokrien95
    @nevokrien95 5 หลายเดือนก่อน

    It's kinda wild how long taking text to hash map takes in rust...
    In python it'd this
    Count(Text.replace(", "," ").split())
    Then
    Json dump

  • @strelkan
    @strelkan ปีที่แล้ว

    like first, watch next

  • @unconv
    @unconv ปีที่แล้ว +2

    Great video, but what I really want to know is how you zoom your whole screen like that live? 1:13:22

    • @areshaistg
      @areshaistg ปีที่แล้ว +2

      its his own project called boomer

    • @OverWilliam
      @OverWilliam ปีที่แล้ว +1

      Windows has something similar (but not quite as good) if you hit Win key and Plus key at the same time (get out of it with Win + Esc), if you're on Windows

    • @unconv
      @unconv ปีที่แล้ว

      @@areshaistg thanks! I'll try it out

  • @nevokrien95
    @nevokrien95 5 หลายเดือนก่อน

    I wana make a lang that is like c but safe and functional.
    Like varibles are functions that return stuff.
    And if u need weird stuff u have something like a class or something where u can modify the intern varibles of the function

    • @bhavyakukkar
      @bhavyakukkar 3 หลายเดือนก่อน

      lua?

    • @nevokrien95
      @nevokrien95 3 หลายเดือนก่อน

      @@bhavyakukkar not quite it's dynamic and gced

  • @trikynguyen9757
    @trikynguyen9757 6 หลายเดือนก่อน

    fuck, this is what I am looking for, craftman :)

  • @i_youtube_
    @i_youtube_ ปีที่แล้ว +2

    How hard Rust was for you as a C programmer? And is it easier to program in rust than in C?

    • @yeetusdeleetus
      @yeetusdeleetus ปีที่แล้ว +2

      I personally found it to be not THAT bad. It took me a while to become productive in rust since there is such a large shift in how you implement things. Certain approaches used in C is very hard and/or bad in rust. I would consistently spend my time googling on how I can work with certain data structures and then realize there already was a trait that gives me what I want etc.
      I think the greatest realization was when I finally understood that rust has a different paradigm to C (Rust is declarative compared to the imperative C). Truly understanding how to work with the borrow checker came with experience.
      My knowledge in C did help however since rust is sensitive about datatype sizes (see sized and unsized traits) and the knowledge from C and assembly carried over into it.
      Nowadays rust is clearly my favourite programming language, I've largely replaced C and C++ with Rust, Go and Python.

    • @i_youtube_
      @i_youtube_ ปีที่แล้ว

      @@yeetusdeleetus Thank you for all info. Another question: Do you think you will miss a lot of C++ libraries while working in Rust? or Rust has most necessary libraries?

  • @levizhou6726
    @levizhou6726 11 หลายเดือนก่อน

    Any chance you try rust analyzer sir?

  • @SimGunther
    @SimGunther ปีที่แล้ว +3

    Find text via regex: NAH
    FZF to reduce context and search easily: _YEAH_

  • @RuslanKovtun
    @RuslanKovtun ปีที่แล้ว

    Online detoxification is awesome.

  • @256k_
    @256k_ ปีที่แล้ว +1

    "I know this is not traditional in the rust community, but this is my project and i like to do things my way"
    👏👏👏👏👏👏👏
    i wholeheartedly agree! one thing i struggle with is feeling like i MUST do things exactly 1 specific way or i'm absolutely wrong even though it might still work.
    I understand the benefits of having everyone sticking to one established way of coding but Rust compiler is already strict enough, for good reason, don't restrict me even more on top of that.

  • @mycode0
    @mycode0 ปีที่แล้ว

    Is the second video uploaded I couldn't see it?

  • @angryman9333
    @angryman9333 ปีที่แล้ว

    Can you do JS/ts?

  • @michaelbrauner
    @michaelbrauner ปีที่แล้ว

    You mean you want to do something like spotlight or alfred?

  • @marcioandreyoliveira
    @marcioandreyoliveira ปีที่แล้ว

    "Can we have a safe programming language without sacrificing the simplicity?"
    Yes, we can! It's called Zig ! ;)

    • @falcon20243
      @falcon20243 ปีที่แล้ว

      @@andrewdunbar828 When performance is not that critical, go is the better language. You can finish the work 5x faster.

  • @vimaximus1360
    @vimaximus1360 ปีที่แล้ว

    Yepic

  • @testtestt-jf9gd
    @testtestt-jf9gd ปีที่แล้ว

    use handcam to check your hand movement! Also music is distracting ; if you could lower down or delete it ; would be very cool.

  • @oopss794
    @oopss794 ปีที่แล้ว +6

    interesting

    • @ItzSwiftyBoy_Gaming
      @ItzSwiftyBoy_Gaming ปีที่แล้ว

      Not interesting it's really interesting.

    • @valovanonym
      @valovanonym ปีที่แล้ว +4

      @@ItzSwiftyBoy_Gaming aren't really interesting things interesting?

  • @sanctuary_of_soul
    @sanctuary_of_soul ปีที่แล้ว

    That is true Google become shit. And not only search services but other services of Google too

  • @user-jo4ij9fg1d
    @user-jo4ij9fg1d ปีที่แล้ว +1

    Ты забыл порезать видос ) 21:40

  • @guinea_horn
    @guinea_horn ปีที่แล้ว

    Straight up thought this guy died. He hasn't posted on his original channel in years right?

  • @abrarmasumabir3809
    @abrarmasumabir3809 ปีที่แล้ว +13

    dude how to be cool like you! Please tell me in one line!

  • @13MrMusic
    @13MrMusic ปีที่แล้ว

    21:36 😈

  • @max_ishere
    @max_ishere ปีที่แล้ว

    It sounds like you should not continue to torture yourself with rust. That's the vibe you give off. Rust is bad but I use it and complain and every 30s I must remind people of my superiority.

  • @yannouuuu2381
    @yannouuuu2381 7 หลายเดือนก่อน

    Anyone know what font he uses ? thanks

    • @bhavyakukkar
      @bhavyakukkar 3 หลายเดือนก่อน

      maybe Liberation

  • @lokthar6314
    @lokthar6314 ปีที่แล้ว +2

    I asked AI about the color theme of your IDE:
    As an AI language model, I do not have access to real-time information about the current state of Tsoding's IDE or any other developer's IDE. However, based on some of Tsoding's past videos, he has used different color themes for his IDE, including a dark theme with a black background, white text, and colorful syntax highlighting for different programming languages. In some of his videos, he has also used a light theme with a white background and dark text. It is possible that he may have changed his IDE color scheme since then, but without any specific information, I cannot say for certain.

  • @scriptozavr
    @scriptozavr ปีที่แล้ว

    Where’s the simplicity? Where’s the actual f**cking work? Tsoding was exclaiming, while having a working Rust program in 5 minutes.

  • @Vicho1079
    @Vicho1079 ปีที่แล้ว

    how old are u?

    • @SimGunther
      @SimGunther ปีที่แล้ว +2

      His uptime is 31 years and counting

  • @sajjadjawadkadhim303
    @sajjadjawadkadhim303 ปีที่แล้ว

    Why do you need to put something behind your camera?

    • @stewartzayat7526
      @stewartzayat7526 ปีที่แล้ว +1

      So that he knows what part of the screen the viewers can't see

    • @sajjadjawadkadhim303
      @sajjadjawadkadhim303 ปีที่แล้ว

      @@stewartzayat7526 thanks for replay, that really smart

  • @Jimmy9Bazooka
    @Jimmy9Bazooka ปีที่แล้ว +3

    "c is much simpler than rust"
    "look how easy it is to read a folder" (it would took much more shitty c code to read the contents of a folder)

    • @ElPikacupacabra
      @ElPikacupacabra 9 หลายเดือนก่อน

      No, it wouldn't. Just as easy to read in C.

    • @ArisenDrake
      @ArisenDrake 9 หลายเดือนก่อน

      @@ElPikacupacabra If you ignore all the possible ways to blow your leg off by doing the "simple" way in C, sure.

    • @ElPikacupacabra
      @ElPikacupacabra 9 หลายเดือนก่อน

      @@ArisenDrake What's so hard about fopen and checking/handling the error? It's what you do in Rust anyway. Do you think unwrapping is some magical statement that solves errors?

    • @ArisenDrake
      @ArisenDrake 9 หลายเดือนก่อน

      @@ElPikacupacabra The difference is simple: Rust ENFORCES error handling, while in C, someone could forget to do it. Humans do mistakes.
      Also, while this is subjective, Rust's API for this just looks nicer.

    • @ElPikacupacabra
      @ElPikacupacabra 9 หลายเดือนก่อน

      @@ArisenDrake Rust doesn't really enforce error handling. You can simply ignore errors and the program will panic. That's no different from C erroring out.
      Regarding your desire for syntactic sugar: sure, the dedicated mechanism makes it nicer, but you also pay with complexity. IMO, it's not worth it. It doesn't solve a significant engineering problem.

  • @lame_lexem
    @lame_lexem ปีที่แล้ว +3

    HUH non-idiomatic rust ???? you clearly didn't read da roulex , you now must shall be updating index for as much years as many clippy pedantic lints you have violated

    • @lame_lexem
      @lame_lexem ปีที่แล้ว +2

      cargo clippy - -all - - -W clippy::all -W clippy::pedantic -W clippy::nursery -D warnings 2>&1 >/dev/null | rg error | wc -l on current commit gives 29 so ...

    • @lame_lexem
      @lame_lexem ปีที่แล้ว +1

      also if you don't wan't to wait too long use sparse-registry with -Z sparse-registry flag or config in .cargo (will be in 1.68 version in march) can't send links but is's in rust blog

  • @BatmanFailedSociety
    @BatmanFailedSociety ปีที่แล้ว

    Can you make the video downloadable?

    • @lame_lexem
      @lame_lexem ปีที่แล้ว

      like use yt-dlp or ssyoubute ?

    • @BatmanFailedSociety
      @BatmanFailedSociety ปีที่แล้ว +2

      @@lame_lexem No, I mean the download button. Your previous videos are downloadable which is good because there's no wifi on the outside of my house. Your videos are good, bro.

    • @BatmanFailedSociety
      @BatmanFailedSociety ปีที่แล้ว

      "Download" button is available on youtube Android app. I don't know about the ios tho.

    • @lame_lexem
      @lame_lexem ปีที่แล้ว +3

      @@BatmanFailedSociety oh i get it, premium user

  • @AntonioNoack
    @AntonioNoack ปีที่แล้ว +1

    About Rust vs C... just use a higher level language like Kotlin (😍), which trades simplicity/safety for performance in comparison to Rust or C.

    • @sandworm9528
      @sandworm9528 ปีที่แล้ว

      Eeew... Java is the devil 😈🔥🔥🔥

  • @aciddev_
    @aciddev_ ปีที่แล้ว +2

    dont use alternative discord clients, its bannable (discord tos)

    • @RedstonekPL
      @RedstonekPL ปีที่แล้ว +1

      bannable but nobody at discord actually checks it

    • @aciddev_
      @aciddev_ ปีที่แล้ว +2

      @@RedstonekPL discord has automatic system that bans people because of strange or abusing requests to the api, betterdiscord and other things dont change how api work, but dear tsoding says he wants to use *custom* client, and things like cordless dont do requests identical to official client, and plus he is somewhat famous. ;)

    • @AlexeyVsemogushii
      @AlexeyVsemogushii ปีที่แล้ว

      dont use discord

    • @aciddev_
      @aciddev_ ปีที่แล้ว

      @@AlexeyVsemogushii +++

  • @karl4813
    @karl4813 ปีที่แล้ว +2

    What is your opinion on the war in Ukraine, and how are things in Russia in general during these times?