Size: a a a

2020 May 08

DF

Dollar Føølish in rust_offtopic
Есть что-ли для Федоры?
источник

B

Bogdan in rust_offtopic
Dollar Føølish
Кстати чо там с портами джавы на арм?
Опегждк есть на арм дебиан, ставил как-то
источник

B

Bogdan in rust_offtopic
Но не юзал
источник

DF

Dollar Føølish in rust_offtopic
Спасибо
источник

SP

Stanislav Popov in rust_offtopic
почему то это мы узнаем в доке по токио

Rust asynchronous model is very different than that of other languages. Most other languages use a “completion” based model, usually built using some form of callbacks. In this case, when an asynchronous action is started, it is submitted with a function to call once the operation completes. When the process receives the I/O notification from the operating system, it finds the function associated with it and calls it immediately. This is a push based model because the value is pushed into the callback.

The rust asynchronous model is pull based. Instead of a Future being responsible for pushing the data into a callback, it relies on something else asking if it is complete or not. In the case of Tokio, that something else is the Tokio runtime.
источник

B

Bogdan in rust_offtopic
Stanislav Popov
почему то это мы узнаем в доке по токио

Rust asynchronous model is very different than that of other languages. Most other languages use a “completion” based model, usually built using some form of callbacks. In this case, when an asynchronous action is started, it is submitted with a function to call once the operation completes. When the process receives the I/O notification from the operating system, it finds the function associated with it and calls it immediately. This is a push based model because the value is pushed into the callback.

The rust asynchronous model is pull based. Instead of a Future being responsible for pushing the data into a callback, it relies on something else asking if it is complete or not. In the case of Tokio, that something else is the Tokio runtime.
Это еще можно узнать с докладов на растоконфах буржуйских)
источник

SP

Stanislav Popov in rust_offtopic
во да именно
источник

SP

Stanislav Popov in rust_offtopic
в интервью разработчиков на афтепати
источник

p

polunin.ai in rust_offtopic
блин как колледж разжижает мозг. когда я не учился все было ок, я читал книжки,, программировал и не уставал. сегодня поделал одну лабу и совсем не соображаю ничего.
источник

SP

Stanislav Popov in rust_offtopic
лол а на работе как будет тяжко
источник

B

Bogdan in rust_offtopic
polunin.ai
блин как колледж разжижает мозг. когда я не учился все было ок, я читал книжки,, программировал и не уставал. сегодня поделал одну лабу и совсем не соображаю ничего.
А на работу пойдешь, вобще охуеешь)
источник

p

polunin.ai in rust_offtopic
хорошо хоть в расте думать не нужно - я тупо следую по ошибкам компиляции и исправляю их
источник

B

Bogdan in rust_offtopic
polunin.ai
хорошо хоть в расте думать не нужно - я тупо следую по ошибкам компиляции и исправляю их
Я думал это в Го думать не надо
источник

p

polunin.ai in rust_offtopic
хз как в го но в расте это так
источник

p

polunin.ai in rust_offtopic
я написал функцию на топ левеле как она должна выглядить -> прошел по ошибкам компиляции в нижние уровни, исправил там -> готово
источник

p

polunin.ai in rust_offtopic
приправить place & and * until rustc is happy и готово
источник

DS

Doge Shibu in rust_offtopic
polunin.ai
приправить place & and * until rustc is happy и готово
Это пока ты не хочешь вернуть итератор из трейта с кучей связанных друг с другом Associated типов
источник

p

polunin.ai in rust_offtopic
Doge Shibu
Это пока ты не хочешь вернуть итератор из трейта с кучей связанных друг с другом Associated типов
слава богу мне такого не надо делать
источник

p

polunin.ai in rust_offtopic
ну вот я сейчас вообще ничего не соображаю, тупо по ошибкам компиляции прошелся и добавил функциональности новой. хотя лучше поспать думаю.
источник

p

polunin.ai in rust_offtopic
вот что самое хорошее в расте это ошибки - они понятные, с ссылками на файлы
источник