Денис
ну на самом деле то, что раст не хуже си, это уже супер
Денис
*не медленнее
Маjко
Причем с итераторами. @inv2004
Anonymous
Че это?
https://rust.godbolt.org https://gcc.godbolt.org на самом деле это один сайт
Маjко
А. Ну асмовый выхлоп я локально смотрел. По нему оринтировался чтобы точно ffi не влияло Не настолько эксперт, чтобы более серьезно анализировать
Anonymous
https://www.youtube.com/watch?v=bSkpMdDe4g4
Anonymous
Автор как раз про compiler explorer вещает, хороший доклад.
Anonymous
> Не настолько эксперт, чтобы более серьезно анализировать Иногда складывается впечатление, будто в растосообществе вебдевелоперов заметно больше чем кажется, а сишников/плюсовиков - меньше
Денис
открою страшную тайну: не все сишники/плюсовики задрачивают микросекунды
Маjко
Вообще никогда вебом не занимался, лол
Денис
не все пишут перформанс-критикал код, знаешь ли
Vlad
test tests::c_htoi ... bench: 18 ns/iter (+/- 0) test tests::c_htoi_table ... bench: 15 ns/iter (+/- 1) test tests::rust_htoi ... bench: 30 ns/iter (+/- 0) test tests::rust_htoi_table ... bench: 12 ns/iter (+/- 0)
Kerrigan
короче я случайно варинт
Денис
а про веб обидно вообще-то.
Kerrigan
не приходя в сознание
Маjко
Но в асм лезть часто нахуй не нужно: для тех же микросекунд достаточно просто понимания низкоуровневщины и бенча.
Маjко
Вот с наносекундами другой вопрос
Anonymous
открою страшную тайну: не все сишники/плюсовики задрачивают микросекунды
Ну да, просто у меня уже привычка, ибо с ядром работаю, а там как раз это постоянно.
Денис
я шучу конечно, про соболезнования
Денис
но работа адская, имхо
Anonymous
Имеешь опыт?
Денис
Имеешь опыт?
слава всем богам минимальный
Anonymous
Я бы при минимальном опыте не спешил высказывать свое имхо.
Anonymous
Ладно, пойду, пингуйте, как разберетесь, в чем там принципиальное отличие по производительности.
Денис
имхо, имхо, к этому чатику это неприменимо
Денис
если все будут вежливыми и осмотрительными, это будет гиттер
Anonymous
простите, забыл суть расточата
Маjко
Только не надо напоминать, даже меня эта паста уже заебала
Денис
эх, o tempora o mores
Денис
я чё-т теперь прям мудаком себя чувствую
Маjко
Anton
хорошо что я уже научил гугл чтобы когда я гуглю раст он не показывал игру
Маjко
Сколько его учить? :С
Маjко
А, всё. Умеет.
Маjко
LA 31 и вот это вот.
Маjко
Красиво.
Маjко
Спасибо, rustc, ты лучший
Маjко
Че, посоны, раст готов для прода. Теперь на нем тоже можно прогать в идее и нужно минимум 32 гига
Маjко
Походу смачный баг найтлей
Loo
Ну конечно, Раст виноват
Alexander
Никогда такого не было и вот ...
Маjко
Маjко
Loo
Building Tiny Rust Binaries for Embedded Linux https://jamesmunns.com/update/2018/04/01/tinyrocket.html
Маjко
А нет, на стейбле та же хуйня
Маjко
Класс
Маjко
Го контрибутить за халявные билеты?
Маjко
The Rust team is happy to announce that we’re running our Increasing Rust’s Reach program again this year. Increasing Rust’s Reach is one of several programs run by the project to grow Rust’s community of project collaborators and leaders.We’re looking for people inside and outside Rust’s current community from groups and backgrounds that are underrepresented in the Rust world and the technology world more generally. We want to partner with you to make Rust a more inclusive, approachable, and impactful project, while supporting your success on personal goals.This program matches Rust team members from all parts of the project with individuals who are underrepresented in Rust’s community and the tech industry for a partnership of three (3) months, from mid-May to mid-August. Each partnership agrees to a commitment of 3-5 hours per week collaborating on a Rust project.By way of thanks for participating in the program, we offer a fully paid conference ticket, travel, and accomodations for every participant to a Rust Conference of their choice:May 26-27: RustFest ParisAugust 16-17: RustConfOctober: Rust Belt RustLearn more about the upcoming 2018 Rust Conferences here.Last year we had 12 participants working on several projects, from contributing to foundational ecosystem libraries like Diesel, to discovery work on a new Rust website, to helping find developer experience and usability holes in the crates.io ecosystem. You can read more about previous participants’ experiences on the brand new Increasing Rust’s Reach website!Many of the projects we have for this year build on the work that was accomplished last year. However, the primary focus of this year’s project is the 2018 edition release; in particular, the domain working groups that we kicked off with our 2018 Roadmap.We believe the 2018 edition is a great opportunity, not only to simply get new people involved in the Rust project, but to also demonstrate the huge impact that even newcomers to the project can make. Rust is committed to being a friendly and inclusive project that welcomes new contributors from all sorts of backgrounds—we actively want to be a project that you want to work on, and we’re excited to learn about how we can do that better.Applications for the program open today, and will run until April 20th. We will announce the recipients on April 30th, and the program will run from May 15th to August 17th. For more details on the timeline, check out the website.We’re super excited to get your applications! If you have any questions, feel free to reach out to the program committee at reach@rust-lang.org. via The Rust Programming Language Blog https://ift.tt/2GytDm0
Маjко
3-5 часов в неделю Изи вообще
Маjко
Подал заявочку, будем-с ждать.
Маjко
Черт. Забыл написать что в раст контрибутил. Ну ладно уже
Victor
running 4 tests test tests::c_htoi ... bench: 13 ns/iter (+/- 0) test tests::c_htoi_table ... bench: 9 ns/iter (+/- 0) test tests::rust_htoi ... bench: 15 ns/iter (+/- 0) test tests::rust_htoi_table ... bench: 9 ns/iter (+/- 0) ну чёт хз. стабильнейше. А на какой версии компилятора собиралось у тех у кого раст быстрее С? =) и на каком железе тестировали? а этот сс чем собирает?
Victor
а чё погрешность такая большая?
Alexander
виндовс же и ноут с севшей батареей
Alexander
сейчас на десктопе i5-7500 проверю
Alexander
test tests::c_htoi ... bench: 20 ns/iter (+/- 1) test tests::c_htoi_table ... bench: 10 ns/iter (+/- 0) test tests::rust_htoi ... bench: 20 ns/iter (+/- 1) test tests::rust_htoi_table ... bench: 9 ns/iter (+/- 0)
Victor
обновился до последней найтли. running 4 tests test tests::c_htoi ... bench: 14 ns/iter (+/- 1) test tests::c_htoi_table ... bench: 9 ns/iter (+/- 0) test tests::rust_htoi ... bench: 16 ns/iter (+/- 0) test tests::rust_htoi_table ... bench: 7 ns/iter (+/- 0) однако.
Victor
при этом замедлились тесты c_htoi и rust_htoi
Маjко
c_htoi в пределах погрешности
Маjко
А rust_htoi выглядит как регрессия
Victor
в общем за последний месяц в найтли что-то поменялось =) это единственный вывод который я могу сейчас сделать %)
Маjко
:)
Alexander
ну можно легко откатить / посмотреть. хотя я тестить htoi ещё меньше вижу смысла чем итераторы :)
Victor
victor release(master)$ CC=clang cargo bench Finished release [optimized] target(s) in 0.0 secs Running deps/htoi-0e15f3425721fd93 running 4 tests test tests::c_htoi ... bench: 17 ns/iter (+/- 0) test tests::c_htoi_table ... bench: 19 ns/iter (+/- 1) test tests::rust_htoi ... bench: 16 ns/iter (+/- 0) test tests::rust_htoi_table ... bench: 7 ns/iter (+/- 0) чтото clang действительно неочень 😕
Kerrigan
i128 до сих пор в найтли?
Tim
можно чуть оффтопа? каковы реальные потребности в i128? мне ради любопытства - лично я сколько живу - ни разу не требовалось
Kerrigan
https://mumble-protocol.readthedocs.io/en/latest/voice_data.html#variable-length-integer-encoding вот этого