Size: a a a

Rust/Verona LGBTTQQIAAPС++ strikeforce

2020 February 15

м

мухожук in Rust/Verona LGBTTQQIAAPС++ strikeforce
(
источник

PP

Piu Piu in Rust/Verona LGBTTQQIAAPС++ strikeforce
Evgεny 🤙
надо ее в шестерню засунуть
++++
источник

PP

Piu Piu in Rust/Verona LGBTTQQIAAPС++ strikeforce
ну и хуй в жопу офк
источник

К

Константин in Rust/Verona LGBTTQQIAAPС++ strikeforce
источник
2020 February 16

С

Слава in Rust/Verona LGBTTQQIAAPС++ strikeforce
Похоже, идлибские боевики сумели остановить съемки второй части "Зеленого слоника" в Сирии.
источник

p

polunin.ai in Rust/Verona LGBTTQQIAAPС++ strikeforce
Да, люди любят тратит время на всякие расты
источник

m

marf in Rust/Verona LGBTTQQIAAPС++ strikeforce
мухожук
Я предлагаю поменять аватарку сообщества на эту
источник

m

marf in Rust/Verona LGBTTQQIAAPС++ strikeforce
не чеснимаеш
источник

PP

Piu Piu in Rust/Verona LGBTTQQIAAPС++ strikeforce
Re: ESbuild – A fast JavaScript bundler and minifier i...
       
Author here. I think the Rust vs. Go question is interesting. I actually originally wrote esbuild in Rust and Go, and Go was the clear winner.

The parser written in Go was both faster to compile and faster to execute than the parser in Rust. The Go version compiled something like 100x faster than Rust and ran at something around 10% faster (I forget the exact numbers, sorry). Based on a profile, it looked like the Go version was faster because GC happened on another thread while Rust had to run destructors on the same thread.

The Rust version also had other problems. Many places in my code had switch statements that branched over all AST nodes and in Rust that compiles to code which uses stack space proportional to the total stack space used by all branches instead of just the maximum stack space used by any one branch: https://github.com/rust-lang/rust/issues/34283. I believe the issue still isn't fixed. That meant that the Rust version quickly overflowed the stack if you had many nested JavaScript syntax constructs, which was easy to hit in large JavaScript files. There were also random other issues such as Rust's floating-point number parser not actually working in all cases: https://github.com/rust-lang/rust/issues/31407. I also had to spend a lot of time getting multi-threading to work in Rust with all of the lifetime stuff. Go had none of these issues.

The Rust version probably could be made to work at an equivalent speed with enough effort. But at a high-level, Go was much more enjoyable to work with. This is a side project and it has to be fun for me to work on it. The Rust version was actively un-fun for me, both because of all of the workarounds that got in the way and because of the extremely slow compile times. Obviously you can tell from the nature of this project that I value fast build times :)
       
constexpr, 6 hours ago
источник

м

мухожук in Rust/Verona LGBTTQQIAAPС++ strikeforce
Piu Piu
Re: ESbuild – A fast JavaScript bundler and minifier i...
       
Author here. I think the Rust vs. Go question is interesting. I actually originally wrote esbuild in Rust and Go, and Go was the clear winner.

The parser written in Go was both faster to compile and faster to execute than the parser in Rust. The Go version compiled something like 100x faster than Rust and ran at something around 10% faster (I forget the exact numbers, sorry). Based on a profile, it looked like the Go version was faster because GC happened on another thread while Rust had to run destructors on the same thread.

The Rust version also had other problems. Many places in my code had switch statements that branched over all AST nodes and in Rust that compiles to code which uses stack space proportional to the total stack space used by all branches instead of just the maximum stack space used by any one branch: https://github.com/rust-lang/rust/issues/34283. I believe the issue still isn't fixed. That meant that the Rust version quickly overflowed the stack if you had many nested JavaScript syntax constructs, which was easy to hit in large JavaScript files. There were also random other issues such as Rust's floating-point number parser not actually working in all cases: https://github.com/rust-lang/rust/issues/31407. I also had to spend a lot of time getting multi-threading to work in Rust with all of the lifetime stuff. Go had none of these issues.

The Rust version probably could be made to work at an equivalent speed with enough effort. But at a high-level, Go was much more enjoyable to work with. This is a side project and it has to be fun for me to work on it. The Rust version was actively un-fun for me, both because of all of the workarounds that got in the way and because of the extremely slow compile times. Obviously you can tell from the nature of this project that I value fast build times :)
       
constexpr, 6 hours ago
> faster to compile
источник

PP

Piu Piu in Rust/Verona LGBTTQQIAAPС++ strikeforce
мухожук
> faster to compile
> and faster to execute
источник

м

мухожук in Rust/Verona LGBTTQQIAAPС++ strikeforce
сука пидро
источник

м

мухожук in Rust/Verona LGBTTQQIAAPС++ strikeforce
я ливаю отседа
источник

С

Слава in Rust/Verona LGBTTQQIAAPС++ strikeforce
Piu Piu
Re: ESbuild – A fast JavaScript bundler and minifier i...
       
Author here. I think the Rust vs. Go question is interesting. I actually originally wrote esbuild in Rust and Go, and Go was the clear winner.

The parser written in Go was both faster to compile and faster to execute than the parser in Rust. The Go version compiled something like 100x faster than Rust and ran at something around 10% faster (I forget the exact numbers, sorry). Based on a profile, it looked like the Go version was faster because GC happened on another thread while Rust had to run destructors on the same thread.

The Rust version also had other problems. Many places in my code had switch statements that branched over all AST nodes and in Rust that compiles to code which uses stack space proportional to the total stack space used by all branches instead of just the maximum stack space used by any one branch: https://github.com/rust-lang/rust/issues/34283. I believe the issue still isn't fixed. That meant that the Rust version quickly overflowed the stack if you had many nested JavaScript syntax constructs, which was easy to hit in large JavaScript files. There were also random other issues such as Rust's floating-point number parser not actually working in all cases: https://github.com/rust-lang/rust/issues/31407. I also had to spend a lot of time getting multi-threading to work in Rust with all of the lifetime stuff. Go had none of these issues.

The Rust version probably could be made to work at an equivalent speed with enough effort. But at a high-level, Go was much more enjoyable to work with. This is a side project and it has to be fun for me to work on it. The Rust version was actively un-fun for me, both because of all of the workarounds that got in the way and because of the extremely slow compile times. Obviously you can tell from the nature of this project that I value fast build times :)
       
constexpr, 6 hours ago
А мог бы и вовсе на яве написать, получилось бы ещё быстрее в обоих смыслах.
источник

С

Слава in Rust/Verona LGBTTQQIAAPС++ strikeforce
мухожук
я ливаю отседа
Опять?
источник

м

мухожук in Rust/Verona LGBTTQQIAAPС++ strikeforce
Слава
Опять?
?
источник

м

мухожук in Rust/Verona LGBTTQQIAAPС++ strikeforce
я просто форварднулд
источник

м

мухожук in Rust/Verona LGBTTQQIAAPС++ strikeforce
в нормальный чат
источник

С

Слава in Rust/Verona LGBTTQQIAAPС++ strikeforce
Ты, Кот, как Алла Борисовна Пугачёва - всё уходишь и уходишь. Она этим занимается с 1990 года.
источник

м

мухожук in Rust/Verona LGBTTQQIAAPС++ strikeforce
Слава
Ты, Кот, как Алла Борисовна Пугачёва - всё уходишь и уходишь. Она этим занимается с 1990 года.
я был на последнем концерете
источник