Rust For PHP Developers

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор

Nuno is doing so much stuff for the community, the language and the framework.

Atiradeonvideo
Автор

This is very interesting because PHP and Rust are polar opposites. The most dynamic language vs the most static language

spicynoodle
Автор

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!

jonathanhavens
Автор

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.

johanrg
Автор

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!

wadecodez
Автор

Wow, very impressive talk. Thank you Nuno

myagmarsurensedjav
Автор

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!

SteetS
Автор

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 <3

rajadking
Автор

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.

HaraldEngels
Автор

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.

dmitriidemenev
Автор

Very cool talk, thanks a lot for the inspiration.

vitaliinevada
Автор

I really learned a lot with this video!!

kingbeencent
Автор

loved the video, just one question why is it related to PHP? are we going to use Rust in PHP? I am confused.

amritasingh
Автор

do you actually use light mode or is it just for the presentation? :|

MohammadJunaid
Автор

While me commenting.. "Livewire is love"

shubhamsahuSD
Автор

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.

bjo
Автор

All of a sudden I want to try Rust without leaving PHP.

xipepe
Автор

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.

aleksandarsavanovic
Автор

You just convinced me to never try Rust!

neptronix
Автор

next Typescript for PHP developers wkwk

simpingsyndrome