Rust For PHP Developers

  Рет қаралды 24,679

Nuno Maduro

Nuno Maduro

Жыл бұрын

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.

Пікірлер: 42
@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 11 ай бұрын
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.
@ErmandDurro
@ErmandDurro Жыл бұрын
Great video! Thank you Nuno 😃
@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 6 ай бұрын
You described it very well.
@Andrejs31
@Andrejs31 Жыл бұрын
Thank you for this!
@TioJobs
@TioJobs Жыл бұрын
Wow! watching now!
@myagmarsurensedjav
@myagmarsurensedjav 9 ай бұрын
Wow, very impressive talk. Thank you Nuno
@rajadking
@rajadking 11 ай бұрын
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
@rickybarabba7866
@rickybarabba7866 11 ай бұрын
Great presentation...very inspiring.
@sabuein
@sabuein Жыл бұрын
Thank you.
@joaosalomao6249
@joaosalomao6249 8 ай бұрын
Really cool! Thanks Nuno
@saidbakr
@saidbakr 2 ай бұрын
You are a magician! Wonderful.
@wadecodez
@wadecodez 10 ай бұрын
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 8 ай бұрын
Glad it was helpful!
@vitaliinevada7888
@vitaliinevada7888 5 ай бұрын
Very cool talk, thanks a lot for the inspiration.
@danielfelipe7817
@danielfelipe7817 Жыл бұрын
I was waiting for this 🤩
@kingbeencent
@kingbeencent Ай бұрын
I really learned a lot with this video!!
@HaraldEngels
@HaraldEngels 7 ай бұрын
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 Ай бұрын
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.
@vitorcampos7077
@vitorcampos7077 Жыл бұрын
Rust is awesome
@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.
@hassewilson
@hassewilson Жыл бұрын
What editor are you using?
@nunomaduro
@nunomaduro Жыл бұрын
Sublime Text.
@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.
@ulrich-tonmoy
@ulrich-tonmoy Жыл бұрын
Hows zig compared to rust in safety
@shubhamsahuSD
@shubhamsahuSD 11 ай бұрын
While me commenting.. "Livewire is love"
@bjo004
@bjo004 11 ай бұрын
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.
@xipepe
@xipepe 6 ай бұрын
All of a sudden I want to try Rust without leaving PHP.
@neptronix
@neptronix 10 ай бұрын
You just convinced me to never try Rust!
@aleksandarsavanovic4746
@aleksandarsavanovic4746 11 ай бұрын
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 5 ай бұрын
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 8 күн бұрын
​@@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
Nuno Maduro
Рет қаралды 10 М.
In Defence of PHP - Stephen Rees-Carter - NDC Security 2023
59:47
NDC Conferences
Рет қаралды 17 М.
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 25 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 4,2 МЛН
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
Rust for TypeScript Developers by ThePrimeagen | Preview
14:59
Frontend Masters
Рет қаралды 96 М.
Laracon Online Summer 2021: Next Level Type Checking In Laravel
34:13
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 137 М.
Deploy your Rust project in 20 minutes
20:29
Let's Get Rusty
Рет қаралды 45 М.
Rainer Stropek - Memory Management in Rust
59:48
Rust
Рет қаралды 10 М.
Laravel Origins: A PHP Documentary
33:27
OfferZen Origins
Рет қаралды 154 М.
PHP 8 3 Released
11:03
ThePrimeTime
Рет қаралды 101 М.
Is PHP the Secret King of Code?
6:42
Stefan Mischook
Рет қаралды 53 М.
Why is the JavaScript ecosystem switching to Rust?
48:08
chris biscardi
Рет қаралды 129 М.
Добейти 100000 подписчиков | Тгк- @Rom4ik539
0:28
ПРЕДСКАЗАТЕЛЬ БУДУЮЩЕГО
1:00
КиноХост
Рет қаралды 7 МЛН
Respect 🤯💯 || Look This 👰🏻#shorts
0:29
GOJU Amazing 99+
Рет қаралды 20 МЛН