Rust's Witchcraft

Rust's Witchcraft

No Boilerplate

1 год назад

175,376 Просмотров

Ссылки и html тэги не поддерживаются


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

The Sequester of Ponderance
The Sequester of Ponderance - 04.10.2023 06:02

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?

Ответить
Amorphous
Amorphous - 26.09.2023 22:30

This is Alchemy.

Ответить
FlaminPigz7
FlaminPigz7 - 23.09.2023 08:04

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!

Ответить
Victor Gomez
Victor Gomez - 21.09.2023 08:55

I'm sold

Ответить
Paul Dirac
Paul Dirac - 13.09.2023 13:42

Greatly put! I should give Rust another chance 😂

Ответить
Nahiyan Alamgir
Nahiyan Alamgir - 10.09.2023 06:00

This is mind blowing!

Ответить
JWLZ Loff
JWLZ Loff - 06.09.2023 23:54

Python feels like a whole Macro 😂

Ответить
DietPlonk
DietPlonk - 30.08.2023 21:08

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?

Ответить
Xardìn Lume
Xardìn Lume - 27.08.2023 19:24

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.

Ответить
ชลิต โฆษิตวัฒนาพานิชย์
ชลิต โฆษิตวัฒนาพานิชย์ - 21.08.2023 05:55

just new to this rust, really love this concept !!!

Ответить
brunonascimento
brunonascimento - 23.07.2023 04:17

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.

Ответить
Ishmael Sibisi
Ishmael Sibisi - 22.07.2023 17:04

One can tell that this is what sold you towards using rust... 😂😂😂

Ответить
Blayzeing
Blayzeing - 29.06.2023 15:52

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.

Ответить
Jeremy Rumble
Jeremy Rumble - 24.06.2023 15:11

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 😊)

Ответить
feedmewifi _
feedmewifi _ - 23.06.2023 03:25

i do not understand this at all

Ответить
Karol Ochman-Milarski
Karol Ochman-Milarski - 22.06.2023 08:58

Hey, can someone do a comparison to lisp macros and template haskell?

Ответить
Ad Ici De
Ad Ici De - 14.06.2023 09:01

i really hate macros, period.

Ответить
jgoemat
jgoemat - 08.06.2023 16:05

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.

Ответить
敖信势
敖信势 - 07.06.2023 23:16

I can imagine the painless porting from the other programming language with just copy paste into the macro arguments.

Ответить
lf araujo
lf araujo - 04.06.2023 13:55

Nims implementation is nicer.

Ответить
Чердак туриста
Чердак туриста - 21.05.2023 12:30

Amazing! Thank you. Would be cool to to see DSL with Rust macro video from you as well)

Ответить
YAPAYZEKA
YAPAYZEKA - 15.05.2023 21:04

won der ful

Ответить
MGSE
MGSE - 06.05.2023 10:22

Using macros 😊
Writing macros 😮‍💨

Ответить
Caleb
Caleb - 04.05.2023 03:58

Okay, I only understood like 10% of that, but I'm stoked to learn more.

Ответить
jko
jko - 02.05.2023 01:37

F# type providers give similar feature to the language as rust macros, very interesting ! 🎉

Ответить
Redman8086
Redman8086 - 15.04.2023 01:59

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.

Ответить
cyberbemon
cyberbemon - 03.04.2023 14:59

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!

Ответить
Stephen Angeloni
Stephen Angeloni - 01.04.2023 22:37

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.

Ответить
Nandemonai Yurtle
Nandemonai Yurtle - 01.04.2023 00:32

wow, this one kinda blew my mind

Ответить
Eloy AM
Eloy AM - 30.03.2023 23:25

Mind blowing

Ответить
FABESTAH
FABESTAH - 27.03.2023 20:07

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

Ответить
Milligram
Milligram - 25.03.2023 09:25

holy shit

Ответить
Michael Montalvo
Michael Montalvo - 24.03.2023 14:22

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!

Ответить
J H
J H - 14.03.2023 06:28

No idea what I just watched, but it sounds cool.

Ответить
Testing oyay
Testing oyay - 08.03.2023 15:04

The dream of scala is alive in rust....so funny I had to type it out...

Ответить
Agustin Pizarro
Agustin Pizarro - 05.03.2023 13:55

Nim has the most powerful macro metaprogramming.

Ответить
FORMULAETOR
FORMULAETOR - 26.02.2023 00:10

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.

Ответить
Breytner Nascimento
Breytner Nascimento - 24.02.2023 05:00

Can I have Python inside Rust?

Ответить
BRAD Technologies
BRAD Technologies - 19.02.2023 09:12

I'm in awe!

Ответить
suiiii
suiiii - 17.02.2023 13:36

“The dream of Scala is alive in Rust", I love it

Ответить
jklw10
jklw10 - 16.02.2023 19:12

hmm. so i can just use a makro to make the rust syntax into c syntax.

Ответить