#actixweb — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #actixweb, aggregated by home.social.
-
#htmx is really awesome! Yesterday, I was able to replace ~100 lines of #JavaScript with ~60 lines of #rustlang code for rendering the same content. At the same time I even got small UX-improvements (i.e. hx-trigger provides many more features than I could implement correvtly myself)
The huge benefit: I am 1000 times more *confident* in the correctness & robustness of my Rust code (mainly because I am much more experienced in Rust) compared to js.
-
Написать X-docker-isolation-provider сложно — но не невозможно
Вы когда-нибудь чувствовали себя пионерами? Вот именно так я себя и ощущал, когда писал docker-isolation-provider для платформы ассоциативного программирования Deep . Все было так: в один прекрасный день у нас на платформе связей решили - было бы славно портировать нашего бота в Deep . А для этого нужно было написать так называемые провайдеры . Провайдеры нужны лишь для одной цели - дать возможность пользователю выполнять пользовательские хэндлеры на любом языке. Тогда я просто подумал, что было бы неплохо помочь парням, которые вероятно Rust никогда в жизни не видели . Ох, как же я тогда ошибался…
https://habr.com/ru/articles/822093/
#deepfoundation #программирование #история_разработки #rust #actixweb #serde #wasm
-
-
Is there an accepted pattern for replacing your database pool in an #actixweb application? As in, the system is rotating the database password, updates the file handle it’s passed through to the application, and then my application should reconnect using the new credentials and drop the old connection.
#rustlang #rust #sqlx #ProgrammingPatterns