Комментарии:
I have been working on a programming language of my own that revolves around what this seems to be describing. If what you're describing is true, why aren't people using it to make higher order abstractions?
Are they? If so, why hasn't it changed the world yet?
This is Alchemy.
ОтветитьMacros are love, macros are life. May our syntax be free, may our code be proud, and may not a single phrase EVER be written more than once!
ОтветитьI'm sold
ОтветитьGreatly put! I should give Rust another chance 😂
ОтветитьThis is mind blowing!
ОтветитьPython feels like a whole Macro 😂
ОтветитьSo with the feature of embedding other language inside of rust, is there a way to type rust, but with the indent based syntax that python has without squiggly brackets?
ОтветитьYeah I started to write a comment about C++'s constexpr/consteval, then you talked about integrated HTML and Lisp.
Yeah no, you could do that in C++ using its awful macros and constexpr code, but god would it be atrocious.
I'm feeling like picking up Rust where I've left it a few years ago.
just new to this rust, really love this concept !!!
ОтветитьYou mentioned syntax highlighting works for VS Code using the html_to_string_macro but for some reason I can't get it to work.
ОтветитьOne can tell that this is what sold you towards using rust... 😂😂😂
ОтветитьIt's nice to see someone talking about macros like this. I think a lot of "Rust influencer" types aren't really aware of exactly what it means? Coming from a C++ background, when I saw the section in the rust book about macros I immediately told my friend (who's very much a rust evangelist) that they looked really powerful and I was impressed by them, but he just didn't care and then started going on about the borrow checker and how the compiler "does everything for you". Your videos are a breath of fresh air that honestly have done more to make me want to get into Rust than any of the endless proselytizing I find a lot of rust devs do.
ОтветитьEvery time I stumble upon these videos my brain goes “Hey it’s the lost terminal voice” 😂 (even though I found that because of this channel, it made such an impression 😊)
Ответитьi do not understand this at all
ОтветитьHey, can someone do a comparison to lisp macros and template haskell?
Ответитьi really hate macros, period.
ОтветитьI'm not sure it's so great for people that have to maintain code that they might find lisp in the 20 year old undocumented projects they have to maintain.
ОтветитьI can imagine the painless porting from the other programming language with just copy paste into the macro arguments.
ОтветитьNims implementation is nicer.
ОтветитьAmazing! Thank you. Would be cool to to see DSL with Rust macro video from you as well)
Ответитьwon der ful
ОтветитьUsing macros 😊
Writing macros 😮💨
Okay, I only understood like 10% of that, but I'm stoked to learn more.
ОтветитьF# type providers give similar feature to the language as rust macros, very interesting ! 🎉
ОтветитьComing from C/C++ this is... really confusing and looks like a nightmare to debug. I'm not quite sure I understand this at all, lol. Why would I want HTML in my code? Why would I want a SQL query to run during compile-time with random data in it? Sorry maybe covid is just giving me brainfog or something but I don't get it.
ОтветитьWhen I first started learning Rust and came across macros, I always interpretted "macro_rules" as macros fucking rule as opposed to rules of the macro 🤣🤣. Safe to say my first intrepretation was right, they do infact rule!
ОтветитьThis is the one video that Really makes me want to get onboard. I love using SQL to generate SQL so this is Panacea.
But boy do you speak fast !
Thanks for everything.
wow, this one kinda blew my mind
ОтветитьWow, even though I do not yet understand everything perfectly, I can feel the energy with which you produce these videos, thank you so much! :D
Ответитьholy shit
ОтветитьI am here because ThePrimeagen allowed me to discover this channel and find curiosity in NeoVim and Rust hoping to enjoy this journey! Love the channel content!
ОтветитьNo idea what I just watched, but it sounds cool.
ОтветитьThe dream of scala is alive in rust....so funny I had to type it out...
ОтветитьNim has the most powerful macro metaprogramming.
ОтветитьYour voice is super soothing and distracts me from focusing on what you're explaining (can't blame you though lol). Jokes apart, nice and enjoyable content packed with information. Could you also please make videos on low level/unsafe rust too because there aren't many.
ОтветитьCan I have Python inside Rust?
ОтветитьI'm in awe!
Ответить“The dream of Scala is alive in Rust", I love it
Ответитьhmm. so i can just use a makro to make the rust syntax into c syntax.
Ответить