[Перевод]How Graal works is JV-JIT compiler on Java

[Перевод]How Graal works is JV-JIT compiler on JavaHello, Habr! I present to your attention the translation of the article " : Understanding How Graal Works - a Java JIT Compiler Written in Java ".
 
Introduction
 
One of the reasons I became a researcher of programming languages ​​is that, in a large community of people connected with computer technologies, almost everyone uses programming languages, and many are interested in how they work. When I first encountered programming as a child and got acquainted with the programming language, the first thing I wanted to know about was how it works, and the very first thing I wanted to do was create ...
+ 0 -

clang and IDE: a story about friendship and unfriendness

clang and IDE: a story about friendship and unfriendness For me, it began six and a half years ago, when, by the will of fate, I was dragged into one closed project. Whose project - do not ask, I will not tell. I will just say that his idea was simple as a rake: build a clang front-end in the IDE. Well, as it was recently done in QtCreator, in CLion (in a certain sense), etc. Clang was then a rising star, many were dragged from the finally appeared possibility to use a full C ++ parser almost for free. And the idea, so to speak, literally hovered in the air (and built into the clang API auto-code code as a ba hinted), it was just to take and do. But, as he said to ...
+ 0 -

How are the last days of a crazy race going to $ 1 trillion

How are the last days of a crazy race going to $ 1 trillion  
 
Remained the last weeks (and maybe even days) before the world will be the first American company with a price of $ 1 trillion. This promises some buns. She will forever write her name in history, generate a positive information guide, give her fans, employees and CEO an extra reason to rejoice, and the nose will snap out of the malignant. Who will become this company? In all likelihood, Apple. But analysts are betting on other options. Competitors are not going to give up, and are preparing their final breakthrough. The day before yesterday the financial reports of the world's largest companies were ...
+ 0 -

Review OnePlus 6. Quick Chinese smartphone with a good camera and excellent screen

In Russia, many like Chinese smartphones. As a rule, at their purchase the user also gets a heap of problems in the form of unaltered software and unbalanced configuration. However, there are happy exceptions - these are, of course, Xiaomi and OnePlus phones. And if the first have solutions of the most different price segment, then the OnePlus devices are always "top or next" at the time of release.
 
 
Review OnePlus 6. Quick Chinese smartphone with a good camera and excellent screen  
6/64 GB , 8/128 GB , 8/256 ...
+ 0 -

7 recommendations on how to code JavaScript

7 recommendations on how to code JavaScriptThe author of the material, the translation of which we publish today, says that she is directly obsessed with writing clean code. She believes that the code should be written so that, firstly, with it, in the future, it would be convenient to work for other programmers, including its author, and secondly, taking into account the possibility of extending this code. That is, you need to strive to ensure that the application is relatively easy to add new features, and that its code base would be convenient to accompany. If the programs were written, taking into account only the needs of computers...
+ 0 -

Basics of progressive web applications

Basics of progressive web applicationsDid you ever see the button "Add to the main screen" that appeared on the screen of your Android-smartphone when you were browsing a website? If you click this button, an application will be installed on the phone in the background, the icon for launching it will go to the main screen. Now this application can be launched and run with the site in much the same way as before, but only in the usual telephone interface.
 
 
What we are talking about is a mobile application that was downloaded from a web application. And, as you can see, to install such an application you do not have to interact with ...
+ 0 -

Accelerate string concatenation in Go with your own hand.

Accelerate string concatenation in Go with your own hand.
 
Today we will accelerate the gluing of short lines in Go by 30%. And for this we do not need to modify Go itself, all this will be implemented as third-party library .
 
Under the cat you are waiting for:
 
 
Comparison + , strings.Builder and the proper concatenation function  
Details of the internal device of rows in Go  
Very little assembler  

 

This article can also be considered a pretext to discuss CL123256: runtime, cmd /compile: specialize concatstring2 . Ideas for improving this change list ...

+ 0 -

Clang. Part 1: introduction of

What is Clang?


 
I spent the last few months working with Clang , frontend LLVM . Clang can parse and analyze any source code in C (C, C ++, ObjectiveC, etc ) languages ​​and has an amazing modular structure that makes it easy to use.
 
 
Clang. Part 1: introduction of  
 
If you are looking for a static code analyzer, I strongly recommend Clang, it is significantly superior to other static analyzers (such as CIL ) and well documented. Also the Clang mailing list is very active and useful if you are stuck on something.
 
 
Personally, I use Clang for static analysis of Linux kernel I /O drivers, including ...[/h]
+ 0 -

Kotlin DSL: Theory and Practice

Kotlin DSL: Theory and PracticeDeveloping application tests is not a pleasant experience. This process takes a long time, requires a lot of concentration and is extremely in demand. The Kotlin language provides a set of tools that allows you to easily build your own problem-oriented language (DSL). There is an experience when Kotlin DSL replaced builders and static methods for testing the resource planning module, which turned the addition of new tests and support of old from routine into an exciting process.
 
 
In the course of the article, we will analyze all the main tools from the developer's arsenal and how they can be ...
+ 0 -