When calls to functions via the external interface are faster than native calls C

When calls to functions via the external interface are faster than native calls C Update: good discussion on Hacker News
 
 
David Yu on GitHub developed an interesting performance test for function calls via different external interfaces (Foreign Function Interfaces, FFI ).
 
 
He created a common object file ( .so ) With one simple function C. Then he wrote the code for repeatedly calling this function through each FFI with time measurement.
 
 
For C "FFI", he used the standard dynamic layout, rather than dlopen () . This difference is very important, since it really affects the test results. You can argue how fair this comparison ...
+ 0 -

Applications for Tarantool. Part 3. Testing and launching

The application for Tarantool is, in essence, a set of stored procedures used as an API. The data is processed on the storage side, which can significantly improve performance. However, support for stored procedures can turn into a nightmare.
 
Can. But not today.
 
Today we will consider the issues of ensuring the quality of the application. In particular, let's talk about testing, understand how to launch in production, how to use connectors, and also talk about the intricacies of migration of the data schema.
 
Applications for Tarantool. Part 3. Testing and launching ...
+ 0 -

Creating a game on Lua and LÖVE - 7

Creating a game on Lua and LÖVE - 7

 
Table of contents [/b]

Table of contents


 
 
Article 1
 
Part 1. The game cycle
 
Part 2. Libraries
 
Part 3. Rooms and areas
 
Part 4. Exercises
 
 
Article 2
 
Part 5. The basics of the game
 
Part 6. Basics of the class Player
 
 
Article 3
 
Part 7. Parameters and attacks of the player
 
Part 8. Enemies
 
 
Article 4
 
Part 9. The director and the game cycle
 
Part 10. Practice of writing code
 
Part 11. Passive skills
 
 
Article 5
 
Part 12. Other passive skills
 
 
...[/h]
+ 0 -

Creating a game on Lua and LÖVE - 6

Creating a game on Lua and LÖVE - 6

 
Table of contents [/b]

Table of contents


 
 
Article 1
 
Part 1. The game cycle
 
Part 2. Libraries
 
Part 3. Rooms and areas
 
Part 4. Exercises
 
 
Article 2
 
Part 5. The basics of the game
 
Part 6. Basics of the class Player
 
 
Article 3
 
Part 7. Parameters and attacks of the player
 
Part 8. The enemies of
 
 
Article 4
 
Part 9. The director and the game cycle
 
Part 10. Practice of writing code
 
Part 11. Passive skills
 
 
Article 5
 
Part 12. Other passive skills
 
 
...[/h]
+ 0 -

Creating a game on Lua and LÖVE - 5

Creating a game on Lua and LÖVE - 5

 

Table of contents


 
 
Article 1
 
Part 1. The game cycle
 
Part 2. Libraries
 
Part 3. Rooms and areas
 
Part 4. Exercises
 
 
Article 2
 
Part 5. The basics of the game
 
Part 6. Basics of class Player
 
 
Article 3
 
Part 7. Parameters and attacks of the player
 
Part 8. The enemies of
 
 
Article 4
 
Part 9. The director and the game cycle
 
Part 10. Practice of writing code
 
Part 11. Passive skills
 
 
Article 5
 
Part 12. Other passive skills
 
 
 
13. Skill Tree
 
 
14. Console
 
 
15. Fi...[/h]
+ 0 -

Upgrade the storage of Tarantool: "I carry everything with me!"

Upgrade the storage of Tarantool: "I carry everything with me!"
 
In the database world, there is a complex problem of refactoring and upgrading stored procedures.
 
The problem is a contradiction:
 
 
From the point of view of the efficiency of working with data, it is desirable to implement the maximum of business logic in stored procedures.
 
From the point of view of the effectiveness of software development, it is desirable that parts of one program are located in one place. Keeping the code of work with the repository right in the vault creates a lot of difficulties.
 
session ...
+ 0 -

Creating a game on Lua and LÖVE - 3

Creating a game on Lua and LÖVE - 3

 

Table of contents


 
 
Article 1
 
Part 1. The game cycle
 
Part 2. Libraries
 
Part 3. Rooms and areas
 
Part 4. Exercises
 
 
Article 2
 
Part 5. The basics of the game
 
Part 6. Basics of the class Player
 
 
Article 3
 
Part 7. Parameters and attacks of the player
 
Part 8. Enemies
 
 
 
9. Director and Gameplay Loop
 
 
10. Coding Practices
 
 
11. Passives
 
 
12. More Passives
 
 
13. Skill Tree
 
 
14. Console
 
 
15. Final
 
 

Part 7: Parameters and attacks of the player


 

Introduction


 
In this part, we will concentrate more on the part of the gameplay ...[/h][/h][/h]
+ 0 -