Rust is rabbit hole...
0:56
21 күн бұрын
Tim McNamara - Unwrapping unsafe
33:03
Andre Bogus - Easy Mode Rust
37:44
Lachezar Lechev - Typed for Safety
40:31
Пікірлер
@ilyahuman7565
@ilyahuman7565 6 күн бұрын
Looks cool, but still have one question. Why?
@DomainObject
@DomainObject 11 күн бұрын
Awesome talk!
@ericmink
@ericmink 11 күн бұрын
great talk, I learned a few things, but generally I already knew most of this (having played around with bevy a few months now). Is there a talk or resource (by you or someone else) you would recommend that goes beyond this level and more into how to write ergonomic, idiomatic, maintainable, easy-to-write bevy? I *think* my main issue currently is that the code I write is too complex: Despite using small systems, ... I simply end up with many systems that are technically separate but conceptually so related that I need to have all of them in mind when I change one.
@ericmink
@ericmink 11 күн бұрын
great talk, I learned a few things, but generally I already knew most of this (having played around with bevy a few months now). Is there a talk or resource (by you or someone else) you would recommend that goes beyond this level and more into how to write ergonomic, idiomatic, maintainable, easy-to-write bevy? I *think* my main issue currently is that the code I write is too complex: Despite using small systems, ... I simply end up with many systems that are technically separate but conceptually so related that I need to have all of them in mind when I change one.
@sbmb9613
@sbmb9613 19 күн бұрын
conclusion, concurrency is hard and rust makes it harder, 99% of cases you probably just need a channel for your async code.
@FacundoThanhousen
@FacundoThanhousen 20 күн бұрын
Huawei???
@autumnsea7848
@autumnsea7848 22 күн бұрын
Brilliant interview. Thanks, Ethan!
@pookiepats
@pookiepats 23 күн бұрын
Lol the most contradictory talk
@RoyalOats23
@RoyalOats23 23 күн бұрын
Really appreciate the openness of this interview. Nice to hear people’s stories👏🦀
@pookiepats
@pookiepats Ай бұрын
screech
@danygagnon8446
@danygagnon8446 Ай бұрын
Very interesting video. Thank you!
@yannicks3957
@yannicks3957 Ай бұрын
I used leptos previously in a simple offline web app. I used leptos in a different way as template framework for a htmx web app. So it’s basically Axum backend only. Ich enjoyed this very much.
@PeterSahanaya
@PeterSahanaya Ай бұрын
now i know you're germany
@KevinClark-o7p
@KevinClark-o7p Ай бұрын
Thanks for the breakdown! I have a quick question: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?
@DonatStratos
@DonatStratos Ай бұрын
Thank you so much for this amazing video! Could you help me with something unrelated: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How should I go about transferring them to Binance?
@OlimpoCruz-p7f
@OlimpoCruz-p7f Ай бұрын
Great content, as always! A bit off-topic, but I wanted to ask: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How can I transfer them to Binance?
@akarshsharma1266
@akarshsharma1266 Ай бұрын
What the heck
@Mefator
@Mefator Ай бұрын
Just what I was looking for! Rust core with a native mobile UI wrapped into some functional paradigms. Sounds to me like a much better set of tradeoffs compared to Tauri+Leptos I will try to build some apps with it and see. Thanks for the presentation! Your public speaking skills can be improved but it was very much watchable and to the point. Looking forward for more!
@MariaParker-q2n
@MariaParker-q2n Ай бұрын
Thanks for the breakdown! Could you help me with something unrelated: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?
@akam9919
@akam9919 Ай бұрын
"Shush please!"
@xExekut3x
@xExekut3x Ай бұрын
"rust requires you to deal with the possibility of an error" .. i love this about rust, ngl
@albizutoday2754
@albizutoday2754 2 ай бұрын
m.kzbin.info/www/bejne/m2HbcqCIlM58d9U
@utx0
@utx0 2 ай бұрын
Wow I looked at this year's ago and was super impressed, at the time I was even think this would have been better in rust. Now I find you again just as I need an embedded dB in my rust app. Woohoo I'm excited
@codeguy7309
@codeguy7309 2 ай бұрын
Leptospirosis? really?
@AK-vx4dy
@AK-vx4dy 3 ай бұрын
@6:36 What is sense of this code anway ? Iterate over items and add copy of them to the same collection if predicate is true ? Also without a clone we may end in endless loop if we add items to collection we iterate ? (depends on iterator implementation). Anyway doing it in any other language without using index or some form of .clone/.copy is asking for trouble.
@tubeincompetence
@tubeincompetence 3 ай бұрын
"Going to introduce Barbaras intern Alan".. well.. he's Captain Disillusions intern.. I'm now so confused
@gazapo
@gazapo 4 ай бұрын
This guy has no clue about presentations and talk to public , horrible presentatation hearing this guy speak like running 😊
@roychan2190
@roychan2190 3 ай бұрын
agreed
@nealshin1247
@nealshin1247 4 ай бұрын
Very helpful talks 🎉
4 ай бұрын
With tokio::join! you get structured cooperative concurrency, with tokio::spawn you get unstructured cooperative/parallel concurrency.
@adrianscarlett
@adrianscarlett 4 ай бұрын
0:06 nice try chris, but there's no 'h' in ayup... great presentation, I'm learning a lot from your knowledge of rust.
@hychung2333
@hychung2333 4 ай бұрын
Greate!
@rinket7779
@rinket7779 4 ай бұрын
lol, in the case of the C++ code you're using a low-level API (poll() syscall directly) yet, in teh Rust you're using high-level APIs that wrap all that. Comparing these two is idiotic. That is NOT idiomatic C++ - that looks and smells like C code. Not C++. There's plenty of high-level wrappers for this in c++ yet you use low-level C-style code. Nice one.
@NotherPleb
@NotherPleb 4 ай бұрын
Your critic is targeted at whoever wrote that code, but that's just valid and common C++ code (unfortunately? still, we don't know the reason it's that way) I'd also add that in Rust the main abstraction to poll is made by the async runtimes which C++ lacks, what C++ abstraction do you have in mind?
@rinket7779
@rinket7779 4 ай бұрын
@@NotherPleb asio is the main one and it has decent async abstractions. C++26 is getting senders/receivers as an async abstraction together with co-routines. Async in modern C++ is really nice.You can already use it in C++23 via the reference implementation.
@rinket7779
@rinket7779 4 ай бұрын
@@NotherPleb asio
5 ай бұрын
Unwraps aren't bugs, they're unhandled errors. When you start writing Rust, you write programs for yourself and when invalid input is passed, you just use the panic report for info. You don't fix "the bug" for unwraps, you handle the error to remove them.
@spartan_j117
@spartan_j117 5 ай бұрын
Люди, которым нравится писать ТАКОЕ на раст - не от мира сего. Им нравится натягивать сову на глобус при помощи микроскопа. Зачем?
@JasonIvey-u4n
@JasonIvey-u4n 5 ай бұрын
Huawei sells minorities' info to the CCP to punish and track them.
@Ipowne3g
@Ipowne3g 6 ай бұрын
Why the fuck are you sponsored by Huawei? Do you have any integrity?
@enigmaticsaini
@enigmaticsaini 6 ай бұрын
great efforts
@rainerwahnsinn3262
@rainerwahnsinn3262 6 ай бұрын
2:54 "after you children are dead!". Ugh, that escalated quickly.
@blaster_pro
@blaster_pro 6 ай бұрын
Thanks for the talk, this is genious... code should be written to be as easy as possible to read ... in 99.9% of the cases, the easy mode rust will be already faster than all the other languages... so reducing the barries of entry should be the target... if the rust comminity understands that there will be no challenge to take over. I am a 20 years xp developer learning rust for the past weeks... I am in love but I recon that it might be hard for begginers. Cheers!
@headlibrarian1996
@headlibrarian1996 6 ай бұрын
Can windowing be disabled so messages are sent immediately? Can messages be broadcast to all actors in a group?
@paul-loyd
@paul-loyd 3 ай бұрын
> Can windowing be disabled so messages are sent immediately? It can be achieved by using `unbounded_send`. It ignores the capacity of mailboxes for local actors and the window for remote ones. > Can messages be broadcast to all actors in a group? Yes, Outcome::Broadcast in routers
@headlibrarian1996
@headlibrarian1996 6 ай бұрын
How is a two-phase struct different from a type state?
@jordcodes
@jordcodes 6 ай бұрын
This is looking awesome and should definitely help the rust web backend development experience. Excited to give this a go.
@linkernick5379
@linkernick5379 6 ай бұрын
Interesting talk, never heard of rhai before 😎
@KushLemon
@KushLemon 6 ай бұрын
Genocide enabler.
@bic4
@bic4 5 ай бұрын
unemployed
@Insomiotic
@Insomiotic 4 ай бұрын
Literally. Helsing claims they will only work for "democratic" countries like that somehow is the litmus test that separates the good from the bad. Yet ppl in the comment section call us childish that we don't follow their black and white logic: democracies are not free from bad politics such as fascism, and who gets to make those prescriptions anyway?
@wtfisgoingon535
@wtfisgoingon535 6 ай бұрын
Nice talk :) Really good for new users or people that don't know how cargo work.
@vegangojo
@vegangojo 6 ай бұрын
Great presentation Jon! Thank you
@KodosUnofficial2-jq5oo
@KodosUnofficial2-jq5oo 6 ай бұрын
I've been surprised that functional solution is so easy to think, since people assumed that functional programming is hard.
@Yotanido
@Yotanido 7 ай бұрын
I have implemented a lite version of this dependency injection myself now. It was... an experience. Basically I wanted callback functions, but one of the parameters could have an arbitrary type parameter, and the return type could also have an arbitrary type parameter. (Bounded by traits, actually, but arbitrary enough) I think it's based on three traits and a struct wrapper... Took me a long time to even understand some of the issues that cropped up. (The most important one being the ability for a type to have multiple Fn implementations. I just didn't consider that at all and was wondering why it kept claiming my blanket impls weren't bound properly... So if you want to do something like this, keep that in mind.)
@artxiom
@artxiom 7 ай бұрын
Great talk! I don't agree though that platforms are best at UI - technically this may be true but it just doesn't scale. Needing two separate teams for basically the same application is just not a good enough solution in my opinion. Being idiomatic on a platform is hugely overrated - none of the "big" apps really are, they just follow their own UI/UX guidelines. It's only important to be consistent and provide a good user experience without conflicting with the underlying OS. Also the web is a mess anyway and people use it everyday. I worked previously on a pretty big cross-platform project and we resorted to Qt/Qml, which I really don't like, but it was okayish at least. UI/UX for sure wasn't the problem - no one ever complained, not a single user! The main issues were related to C++ and Qt bugs. We really need a solid platform-independent UI framework. Flutter could have become it if Google didn't make the really stupid decision to base it on Dart. Maybe Slint will fill this role in future? I don't know. Unfortunately they don't really support mobile very well as of today.
@artxiom
@artxiom 7 ай бұрын
Great talk! Leptos is amazing, I hope it get's the attention it deserves. Together with Tauri it's the best thing since sliced bread for writing cross-platform apps.
@msmeraglia
@msmeraglia 7 ай бұрын
i was excited to use it but after a speed comparison with postgres, postgres smoked surreal