Тёмный
No video :(

Rust For PHP Developers 

Nuno Maduro
Подписаться 6 тыс.
Просмотров 26 тыс.
50% 1

You’ve probably heard stories about the Rust programming language, and you’re probably wondering why it’s becoming so popular. In this talk, you’ll see what Rust is from a PHP developer’s perspective. Get ready for a live-coding session, where we are going to recreate an existing PHP application in Rust, from scratch, and demystify all the awesomeness behind it.

Опубликовано:

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@Atiradeonvideo
@Atiradeonvideo Год назад
Nuno is doing so much stuff for the community, the language and the framework.
@spicynoodle7419
@spicynoodle7419 Год назад
This is very interesting because PHP and Rust are polar opposites. The most dynamic language vs the most static language
@jonathanhavens7183
@jonathanhavens7183 Год назад
Loved this. Personally, I've rarely seen rust tuts that provide insights in comparison to PHP. Laracasts series that expands on this video? Would be awesome! A Laracasts series that expands on this using full-blown framework like Rust's 'Rocket' would be incredible! Especially coming from you! Regardless, thank you for this Nuno!
@johanrg70
@johanrg70 Год назад
If you are using the terminal all the time, there's one shortcut that you should learn immediately and that is cmd+L or ctrl+L, this clears the terminal window, don't type clear.
@fil22222
@fil22222 24 дня назад
But the tradeoff is you will forgot 'clear' command.
@wadecodez
@wadecodez Год назад
Well done! I use Laravel daily and was looking for a simple introduction to Rust because the borrow checker and lifetimes are a bit of a burden. Looking forward to what the Laravel community brings to Rust!
@nunomaduro
@nunomaduro 10 месяцев назад
Glad it was helpful!
@Ste90etS
@Ste90etS Год назад
Great! You should have a series “X for PHP developers” with other languages! You are great at explaining things in a comprehensible yet engaging way!
@xipepe
@xipepe 8 месяцев назад
You described it very well.
@rajadking
@rajadking Год назад
Fantastic tut bro! I'm a laravel guy and we were internally talking about learning Rust for a fintech project and your video helps very much to begin the journey. PS: I was pleased to meet you in Laracon India 2023
@myagmarsurensedjav
@myagmarsurensedjav 11 месяцев назад
Wow, very impressive talk. Thank you Nuno
@rickybarabba7866
@rickybarabba7866 Год назад
Great presentation...very inspiring.
@ErmandDurro
@ErmandDurro Год назад
Great video! Thank you Nuno 😃
@HaraldEngels
@HaraldEngels 9 месяцев назад
Wow, watching this video was an enlightenment. I will go on now to learn some Rust. What would have been of interest for me is, how to connect Rust via FFI with PHP.
@Gramini
@Gramini 3 месяца назад
An alternative approach to combining Rust with PHP would be a PHP extension written in Rust. There's a library/crate called "ext-php-rs" that does the heavy lifting. Might be easier than dealing with FFI.
@TioJobs
@TioJobs Год назад
Wow! watching now!
@sabuein
@sabuein Год назад
Thank you.
@joaosalomao6249
@joaosalomao6249 10 месяцев назад
Really cool! Thanks Nuno
@Andrejs31
@Andrejs31 Год назад
Thank you for this!
@vitaliinevada7888
@vitaliinevada7888 7 месяцев назад
Very cool talk, thanks a lot for the inspiration.
@danielfelipe7817
@danielfelipe7817 Год назад
I was waiting for this 🤩
@shubhamsahuSD
@shubhamsahuSD Год назад
While me commenting.. "Livewire is love"
@kingbeencent
@kingbeencent 3 месяца назад
I really learned a lot with this video!!
@saidbakr
@saidbakr 3 месяца назад
You are a magician! Wonderful.
@vitorcampos7077
@vitorcampos7077 Год назад
Rust is awesome
@dmitriidemenev5258
@dmitriidemenev5258 Год назад
Hi, On 20:33 I would use pattern matching instead of dealing with indices ```rust match args.as_slice() { [] => unreachable!("env::args() is expected to always provide the executable path as the first arg"), [_executable] => display_help(), [_executable, command, c_args @ ..] => handle_command((command, c_args)), }; ``` And on 21:35 I would use plain `return` keyword instead of `process::exit(0)`. Even though it's rarely used, it's handy in this case.
@amritasingh627
@amritasingh627 Год назад
loved the video, just one question why is it related to PHP? are we going to use Rust in PHP? I am confused.
@yungifez
@yungifez Год назад
It's never a bad idea to broaden your knowledge on different paradigms
@nunomaduro
@nunomaduro Год назад
Rust and PHP solve different problems. However, in this video, I try to explain Rust from a PHP developer perspective so it gets a little bit easier for them.
@virtual-reality
@virtual-reality Год назад
@@nunomaduro this is perfect. because i was having trouble with gravitational forces, but i was good at magnetism. so my teacher basically re-taught gravity stuff using magnetism. sometimes all you need is a "topic-adaptor" :)
@MohammadJunaid96
@MohammadJunaid96 Год назад
do you actually use light mode or is it just for the presentation? :|
@nunomaduro
@nunomaduro Год назад
It depends. I like to change.
@bjo004
@bjo004 Год назад
06:42. Installing Rust on Windows is a bit more involving. You'll need some Windows SDKs and the curl command will not work on Windows.
@hassewilson
@hassewilson Год назад
What editor are you using?
@nunomaduro
@nunomaduro Год назад
Sublime Text.
@ulrich-tonmoy
@ulrich-tonmoy Год назад
Hows zig compared to rust in safety
@neptronix
@neptronix Год назад
You just convinced me to never try Rust!
@xipepe
@xipepe 8 месяцев назад
All of a sudden I want to try Rust without leaving PHP.
@aleksandarsavanovic4746
@aleksandarsavanovic4746 Год назад
I think it wold be great idea for someon to make Rustvel, combining speed of the Rust and elegancy of Laravel, i know thre are many php specific "things" in Laravel but i don't think it would be that difficult to make same fucntionalities in Rust, plus Rust is great for OOP and functional programming....and you can make front and back end with it so the framework could highspeed fullstac.
@chibuzorogbu4081
@chibuzorogbu4081 7 месяцев назад
sorry no reflections in Rust, but then again there is the crowd for rust that tend to think differently about all batteries-included frameworks.
@edism
@edism 2 месяца назад
​@@chibuzorogbu4081 exactly, in Rust, you'd need to rely on static analysis and code generation rather than runtime introspection. Rust’s macro system and generics can help here. Procedural macros allow for compile-time code introspection and manipulation, emulating Laravel’s features. This approach benefits from Rust's performance, security, and reliability, avoiding the overhead of runtime reflection.
@simpingsyndrome
@simpingsyndrome Год назад
next Typescript for PHP developers wkwk
Далее
Laracon IN 2023: The future of PEST
36:38
Просмотров 10 тыс.
PhpStorm for Laravel Developers - 3 Hour Full MasterClass
2:35:29
Why is the JavaScript ecosystem switching to Rust?
48:08
What's New in PHP 8.3 - Derick Rethans
59:11
Просмотров 6 тыс.
PHP on the frontend! No more Javascript!
14:47
Просмотров 121 тыс.
PHP isn't dead feat. the Laravel Origins cast
11:25
Просмотров 41 тыс.
Use Arc Instead of Vec
15:21
Просмотров 143 тыс.
Parse Rust CLI Args With Clap 🦀 Rust Tutorial
54:03
Stressless: Stress Testing for PHP
10:18
Просмотров 10 тыс.
All Rust string types explained
22:13
Просмотров 166 тыс.