Profile

Cover photo
Vyacheslav Egorov
Works at Google
Attended Novosibirsk State University
Lives in Aarhus
2,563 followers|823,814 views
AboutPostsPhotosYouTube

Stream

Vyacheslav Egorov

Shared publicly  - 
 
Reading books in translation is like playing Russian roulette. I've recently started reading "The Book of Disquiet" by Fernando Pessoa and I have been checking  some of his poetry too. Unfortunately I don't speak Portuguese so I have to read him in translation.

And that's where the problem lies. Here is the very same poem in original and in Russian and English translation

O poeta é um fingidor
Finge tão completamente
Que chega a fingir que é dor
A dor que deveras sente

The poet is a faker
Who's so good at his act
He even fakes the pain
Of pain he feels in fact.

Поэт — притворщик по роли,
Легко ему сделать вид,
Придумать саднящей боли
Подделку, что не болит.

If you speak both Russian and English you'll spot that the ending of the poem is completely different in these two translations. 

Russian one says (yeah triple translation makes everything better) 

The poet's role is "faker",
It's easy for him to fake
Invent a numb pain's
Imitation - that does not hurt.

In other words: in English translation the poet is faking a pain and actually feeling a pain (though a different one, perhaps) and in Russian he is just pretending that he is in pain when he is not.

English version is understandably more appealing to me. But unfortunately the only way to figure out which one is closer to the original is to move to Portugal and learn the language Pessoa was writing in... 
9
Eugene Kirpichov's profile photoOsvaldo Doederlein's profile photoJoel Webber's profile photoVyacheslav Egorov's profile photo
6 comments
 
I found a Russian translation that is much closer to +Osvaldo Doederlein's but even it introduces a something that's apparently is not in the original --- most probably to deliver poetic translation instead of the literal one.

Поэт измышляет миражи - 
Обманщик, правдивый до слез, 
Настолько, что вымыслит даже 
И боль, если больно всерьез. 

Но те, кто листает наследье, 
Почувствуют в час тишины 
Не две эти боли, а третью, 
Которой они лишены. 

И так, остановки не зная 
И голос рассудка глуша, 
Игрушка кружит заводная, 
А все говорят - душа. 
 ·  Translate
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
Happy Mathematician's Day!
14
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
It was an interesting trip - porting irregexp from V8 to Dart VM (almost) without writing any assembly. "If you have optimizing pipeline - you should use it more" that'd be the morale of this effort. 
 
Shoutout to +Jakob G! Thanks to his efforts while interning in Aarhus, the 1.9 release of the Dart VM includes a port of V8’s Irregexp Engine for regular expressions making your regular expressions up to 150 times faster than before! We chose to take a different approach to integrating the Irregexp Engine: reuse Dart’s existing optimizing compiler and code-generation backend. This reuse helps reduce maintenance cost and share optimization efforts: optimizations for Dart will benefit regular expressions and vice versa.

In V8, Irregexp compiles a regular expression by parsing it and converting it into an intermediate automaton representation, which V8 then analyzes, optimizes and finally directly generates native machine code. The V8 implementation requires a native-code backend for each supported host architecture. Indeed, at the time of writing V8 has 7 distinct Irregexp backends. 

In Dart, Irregexp initially compiles a regular expression, just as in V8, by parsing, converting, analyzing and optimizing it. Finally Dart generates IR (intermediate representation) instructions. This IR is the same representation used for ordinary Dart code and so we use the existing Dart optimizing compiler to further optimize the code and generate native machine code.

The Dart implementation has been tested against the same benchmark suite as developed for V8’s Irregexp. Here, the Dart VM is within a factor of two from V8. For short-running regular expressions, such as parsing URLs, Dart is actually faster due to a very fast entry to the generated matching code. 

There are several reasons we don’t hit the same peak performance as V8 across the board. For example, Dart spends more time on compiling regular expressions because, after building the Dart IR, we further optimize the code. Also, V8’s hand-tuned machine-code backends are expertly tailored to executing regular-expression code on each individual platform. The machine code Dart produces is not as efficient because the existing optimizing compiler can’t make the same assumptions about properties of the code (such as what to hold in registers and what not to). We will be looking at these issues, and due to the single shared Dart backend, improvements become improvements to the Dart VM as a whole.

We hope you enjoy Dart's new and improved regular expressions. Look for the new implementation starting with Dart 1.9, which is now in the developer channel.
4 comments on original post
13
1
victor noagbodji's profile photoGabor Orosz's profile photo
 
thanks for sharing : )
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
I still remember how startled I was when I heard Ghost in the Shell: Stand Alone Complex opening for the first time. I had to watch it several times before I was completely sure. "Wait. This is no Japanese. There are Russian words in there!" I searched around and was surprised even more: the singer was not trying to imitate Russian, the singer was Russian herself. Born really close to where I come from myself in fact: Kochenevo, a settlement 50km from Novosibirsk. The feeling of world interconnectedness was surreal. Her name was Origa. She passed away this weekend from the lung cancer... But this feeling will continue to live on inside me.

RIP Origa 

https://www.youtube.com/watch?v=v1lBZ3urwBU
13
4
Johan Sundström's profile photoConstantine Linnick's profile photoDiego Bello's profile photoAlexander Letov's profile photo
2 comments
 
wait what? She passed away? oh man, and i just started falling in love with her songs again. 。・゚゚・(>д<)・゚゚・。
My best to her family and all the fans inspired by her music.
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
New blog post:

http://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html

trying to explain things that were explained 100 times before, just with a bit more drawings.
Talks and blog posts about JavaScript performance often emphasize importance of monomorphic code. However they usually don't provide any digestible explanation of what monomorphism/polymorhism is and why it matters. Even my own talks often boil down to Hulk-style «ONE TYPE GOOD. TWO TYPE BAD!
32
13
Florian d'Erfurth's profile photoMax Schaefer's profile photoFlorian Loitsch's profile photoIan Petersen's profile photo
5 comments
 
+victor noagbodji thanks! I wish I could automate drawing arbitrary pictures as much as I automated those diagrams :)
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
A Christmas story.

About microbenchmarks of course 

http://mrale.ph/blog/2014/12/24/array-length-caching.html
My favorite way to bootstrap a Christmas dinner conversation is asking people whether they cache array length accesses before their loops or not. Anybody preferring functional Array.prototype iteration methods to rusty old-school for(;;) -loops gets an additional piece of cake.
24
13
Matt Dragon's profile photoSanti Fri's profile photoAlexandr Cherednichenko's profile photoAdam Singer's profile photo
3 comments
 
+Vyacheslav Egorov ahh the blackhole! you're right. Thanks for the explanation
Add a comment...
Have him in circles
2,563 people
Oleksii Mozgovyi's profile photo
FENIX Alfred Ołowniuk's profile photo
Dominic Bartl's profile photo
Nat Caruso's profile photo
nanin da's profile photo
petr iwanow's profile photo
News sot's profile photo
Thomas Gahr's profile photo
Shintaro Matsui's profile photo

Vyacheslav Egorov

Shared publicly  - 
 
New blog post Browser as an Interactive Disassembly Navigation Tool (and it's not about V8 or JavaScript :))

http://mrale.ph/blog/2015/03/29/browser-as-an-interactive-disassembler.html
15
7
Bada Bham's profile photoRoman Yankovsky's profile photoFlorent Jaby's profile photoVadim Nasardinov's profile photo
 
thank you for Howl's Castle reference :)
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
Have unexplained desire to visit Georgia after watching this. Not only it's an amazingly well done modernization of the traditional dance, it also manages to show different spots-of-interest combining again modern and old.

https://www.youtube.com/watch?v=m7QpAoCHFA8
 ·  Translate
25
8
Kaushik Sridharan's profile photoSergey Shepelev's profile photoChirayu Krishnappa's profile photoMykhaylo Puzanov's profile photo
 
♫ Georgia on my mind ♫
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
Tim Minchin + Egor Zhgun = Good. 

https://www.youtube.com/watch?v=EIBRdBVkDHQ
33
2
Paul Brauner's profile photoJohan Sundström's profile photoIsabel Brückner's profile photo
 
I love Tim Mitchin so much! Excellent illustrations.
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
We would like to have a diverse and interesting line up. Which means we need your help! We really want to hear the voice of the community during the Summit.
 
Calling all Dartisans - Propose your session or case study for the Dart Developer Summit.

The Dart Developer Summit is your forum for meeting the Dart engineering team, Googlers using Dart, and your fellow Dartisans.  Our community has told us they want to hear how you are using Dart. What is your cool new pub package? How did you use Dart on the client or server? What are you tips and tricks?

Our sessions are live streamed and recorded to help you get the word out. The summit is April 28th-29th in San Francisco, California. Call for Proposals closes on Jan 30th!

See you there!

https://docs.google.com/a/google.com/forms/d/1pEL1f_b7eE3ZWKqbGlSbxH8H9wL05qTY2sZZSGlIlTc/viewform
Drive
Dart Summit - Call for ProposalsPlease submit your Call for Proposal before Jan 30th 2015. We will review all sessions in February and send confirmation emails beginning/mid March 2015. If you have any questions, email dart-summit-questions@googlegroups.com. Keep yourself updated on the Dart Summit at https://www.dartlang.org/events/2015/summit/
3 comments on original post
3
1
Mikhail Goncharov (meta)'s profile photo
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
Continuing the Japanese theme. Check out this Japanese cookbook from Sweden "Japansk mat på Svenska" by Moe Takemura. 

The layout of pages and the way photos are taken are really unlikely any other cookbook I saw before.

http://www.designboom.com/readers/moe-takemura-guide-to-the-foreign-japanese-kitchen/

http://www.moe-takemura.com/The-Foreign-Japanese-Kitchen

There is an purely English version too.
2
Add a comment...

Vyacheslav Egorov

Shared publicly  - 
 
Some of these ads are ingenious, e.g. would anyone even consider advertising Mercedes with Mario in Europe? https://www.youtube.com/watch?v=5tjw-MCE6Kg

https://www.youtube.com/watch?v=nXaHp8iBC3s
23
3
Thjostar's profile photoThomas Junk's profile photoAhmet A. Akın's profile photoYaroslav Gorbushin's profile photo
10 comments
 
+Gray FulIbuster Well I do understand but it is just not my kind of humour 
Add a comment...
People
Have him in circles
2,563 people
Oleksii Mozgovyi's profile photo
FENIX Alfred Ołowniuk's profile photo
Dominic Bartl's profile photo
Nat Caruso's profile photo
nanin da's profile photo
petr iwanow's profile photo
News sot's profile photo
Thomas Gahr's profile photo
Shintaro Matsui's profile photo
Work
Occupation
Software Engineer
Employment
  • Google
    Software Engineer, 2010 - present
  • Excelsior LLC
    Software Engineer, 2006 - 2009
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Aarhus
Previously
Novosibirsk
Story
Tagline
crazy Russian compiler engineer
Introduction
VMs and compilers. Shaken, not stirred.  
Education
  • Novosibirsk State University
    Applied Mathematics and Computer Science, 2003 - 2009
  • Gymnasium #10
    1993 - 2003
Basic Information
Gender
Male
Birthday
July 22