Writing OS: Multitasking

 3r3152. 3r3-31. Writing OS: Multitasking 3r33140.  3r3152. Good day, dear reader, most likely, you saw my previous article that you can write a working OS yourself in a relatively short period of time. Well, today we will talk about the implementation of multitasking in my OS.
3r33140.  3r3152. 3r33140.  3r3152. Well, you probably can't imagine a single-task OS in 201? that's why I decided to talk about the implementation of multitasking in my OS. And so, first - you need to decide on the type of multitasking, I chose preemptive. 3r33140.  3r3152. What is she like? Preemptive multitasking is a system for distributing the processing ...
+ 0 -

We optimize the web with Vitaly Friedman: download speed, memory, CPU

 3r? 3569. 3r3-31. This is the second post about all sorts of tricks in front-end development. It addresses the issue of optimizing the site, its download speed on devices with insufficient RAM and a slow CPU. 3r? 3551.  3r? 3569. 3r? 3551.  3r? 3569. A separate conversation about the tools that will help speed up and monitor the work of the site and third-party applications that are connected to it. Plus a story about the features of the layout of email-mailings, which will surprise you a lot. 3r? 3551.  3r? 3569. 3r? 3551.  3r? 3569. We optimize the web with Vitaly Friedman: download speed, memory, CPU ...
+ 0 -

Fast Fixed Point Math for Java Financial Applications

 3r33625. 3r3-31. 3r3611. It is no secret that financial information (invoices, transactions, and other bookkeeping) is not very friendly with floating point numbers, and many articles recommend using a fixed point (fixed point arithmetic). In Java, this format is represented, in fact, only by the BigDecimal class, which cannot always be used for performance reasons. You have to look for alternatives. This article describes a self-written Java library for performing arithmetic operations on fixed-precision numbers. The library was created to work in high-performance financial applications and allows ...
+ 0 -

HyperX Impact DDR4 - SO-DIMM, which could! Or why in a laptop 64 GB of memory with a frequency of 3200 MHz?

For untrained users, the purchase of such a high-frequency memory in the SO-DIMM form factor may seem like a strange decision, but in fact, such a move can be justified in several scenarios of using a laptop or mini-PC. And in this material we will not focus on synthetics - only real applications and games!
 
 
HyperX Impact DDR4 - SO-DIMM, which could! Or why in a laptop 64 GB of memory with a frequency of 3200 MHz?  
3r311.
 
Immediately I must say about the available options HyperX Impact DDR4 . ? ? and 16 GB modules are available on the market, either alone or in sets of 2 or 4 pieces. Clock frequencies can also be chosen - from 2133 to 3200 MHz. Not all combinations are available (for example, there ...
+ 0 -

Time measurement with nanosecond precision

 3r31283. 3r3-31. Time measurement with nanosecond precision 3r33967.  3r31283. 3r33967.  3r31283. A couple of months ago a historical moment came for me. I no longer have enough standard operating system tools for measuring time. It took time to measure with nanosecond accuracy and with nanosecond overhead. 3r33967.  3r31283. 3r33967.  3r31283. I decided to write a library that would solve this problem. At first glance it seemed that there was nothing much to do. But upon closer examination, as always, it turned out that there were many interesting problems that had to be dealt with. In this article I will talk about the problems and how they ...
+ 0 -

The fastest floating-point numbers in the wild west are

The fastest floating-point numbers in the wild west areIn the process of implementing one "counters" a problem arose with increased accuracy of calculations. The computational algorithm worked quickly on standard floating-point numbers, but when libraries were connected for accurate calculations, everything began to slow wildly. In this article, algorithms for expanding floating-point numbers using a multicomponent approach will be considered, thanks to which it was possible to achieve acceleration, since float arithmetic is implemented on a chip. This approach will be useful for a more accurate calculation of the numerical derivative, inversion of ...
+ 0 -

More practice! We will teach the Spring Framework and profiling without any conferences

More practice! We will teach the Spring Framework and profiling without any conferencesYou read posts in our blog and think: "Who needs them, I do not attend conferences". And at the conference you do not go because you want to learn some specific things, and not just increase your horizons. Yes, for some it makes sense! Not only do you think so.
 
Especially for you, we did something completely different. A couple of days before Joker will be held two full-scale training. Each training - two days for 6-8 hours of solid training specific things. The groups are small, so the coach works with you personally - tells, gives tasks, watches how you carry out them, prompts.
 
Springer will ...
+ 0 -

Another system of particles. Postmortem

Another system of particles. Postmortem
 
 
In September of this year, the mobile game Titan World from Unstoppable was to appear - the Minsk office of Glu mobile. The project was canceled right before the world release. But the developments have remained, and the most interesting of them, with the kind permission of the headsets of the studio Dennis Zdonov and Alex Paley, I would like to share with the public.
 
Íñigo Quílez , I also used a simplified, faster code. He, of course, was a rough approximation, but on complex geometric forms (smoke, explosions) gave quite a decent picture.
 
 

 
...
+ 0 -

Traffic generation in the user's area

Traffic generation in the user's area
 
Generate traffic through MoonGen + DPDK + Lua in the artist's presentation
 
 
Neutralization of DDoS-attacks in real conditions requires preliminary testing and testing of various techniques. Network equipment and software should be tested in artificial conditions close to real ones - with intensive traffic flows simulating attacks. Without such experiments, it is extremely difficult to obtain reliable information about the specific features and limitations of any complex instrument.
 
 
In this material, we will uncover some of the traffic generation methods used in Qrator Labs.
 
 
WARNING ...
+ 0 -