Page MenuHomeFeedback Tracker

Multithreaded procession of high level programming commands (SQF..)
New, NormalPublic

Description

Want to say sorry for some junk been made before about the theme;
Introduction of own high level language placed some obvious restrictions on it's execution processing,

But here is suggestion and some theoretical realisation concepts:
https://yadi.sk/i/WP3VM07b3MS886
(can be viewed in most browsers without downloading (click on the showed file page))
(hope the format is fine)

(this addition is mostly directed on opening opportunities to create much more complex scripts of certain types for Arma 3,
and on other side increasing the overall performance of commands execution)

Hope to see something like described _ Concept 0 \ a _ in Arma 3 in some future

Details

Severity
Major
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Performance
Steps To Reproduce
for'_n'from 0 to 1000 do{addMissionEventHandler['EachFrame',{for'_n'from 0 to 10 do{_n=9999*9999/9999*9999/9999}}]}

makes 1000 tasks without actions which need to run synchronous with other processes, but
result is: FPS going down, CPU load-no changes;

Additional Information

Event Timeline

Ilias created this task.Aug 25 2017, 12:12 AM
Ilias updated the task description. (Show Details)Aug 25 2017, 12:25 AM
Ilias edited Steps To Reproduce. (Show Details)
Ilias edited Steps To Reproduce. (Show Details)
Ilias updated the task description. (Show Details)Aug 25 2017, 12:51 AM
Ilias updated the task description. (Show Details)Aug 25 2017, 12:59 AM
Ilias updated the task description. (Show Details)Aug 25 2017, 1:06 AM
Ilias updated the task description. (Show Details)Aug 25 2017, 1:29 AM
Ilias updated the task description. (Show Details)Aug 25 2017, 1:46 AM
Ilias updated the task description. (Show Details)Aug 25 2017, 2:37 AM
Ilias updated the task description. (Show Details)Aug 25 2017, 2:40 AM
Ilias renamed this task from Multithreaded procession of high level programming commands (SQF,FSM..) to Multithreaded procession of high level programming commands (SQF..).Aug 25 2017, 4:29 AM
Ilias updated the task description. (Show Details)Aug 25 2017, 4:32 AM
Ilias edited Additional Information. (Show Details)Aug 25 2017, 5:13 AM
Ilias updated the task description. (Show Details)
dedmen added a subscriber: dedmen.Aug 25 2017, 2:45 PM

Your step to reproduce successfully shows an example that really could run multithreaded without having to worry about anything. Atleast the part inside the onEachFrame handler, and that also only in theory.
But.. Your code is also useless and essentially does nothing. So your example is that Nothing could actually be run multithreaded. That's true. Just spawn 1000 Threads that do nothing. Why though?
What you suggest here will never come to A3.

Ilias added a comment.EditedAug 25 2017, 3:21 PM

Your step to reproduce successfully shows an example that really could run multithreaded without having to worry about anything. Atleast the part inside the onEachFrame handler, and that also only in theory.
But.. Your code is also useless and essentially does nothing. So your example is that Nothing could actually be run multithreaded. That's true. Just spawn 1000 Threads that do nothing. Why though?
What you suggest here will never come to A3.

This is completely trolling post,
the code shows inability of Arma 3 to process code in multiple CPU' threads,
that code is to prove existence of issue, and have no requirement to do anything,
its up to Arma 3 dev. team decisions of functionality implementations

You may think that dedmen is trolling you but this is just a validation that you have no real clue what you are writing in this task. This code exactly shows nothing what is related to your proposal. Plus, your whole task is a duplicate of a duplicate of a duplicate. If you think that you are the very first person that is proposing this you're definitely wrong.
Related to: https://feedback.bistudio.com/T59083

If you are breaking your frames with your scripts then you are doing it wrong. If you are implementing your code snippet to another programming language like C# or Java you are going to freeze the whole process.

Ilias added a comment.EditedAug 29 2017, 9:34 PM

You may think that dedmen is trolling you but this is just a validation that you have no real clue what you are writing in this task. This code exactly shows nothing what is related to your proposal. Plus, your whole task is a duplicate of a duplicate of a duplicate. If you think that you are the very first person that is proposing this you're definitely wrong.
Related to: https://feedback.bistudio.com/T59083

If you are breaking your frames with your scripts then you are doing it wrong. If you are implementing your code snippet to another programming language like C# or Java you are going to freeze the whole process.

Tired of answering pointless posts;
For moderators: The proposed as duplicate ticket describing problem, this one describing support for functionality which on 1 side directed on solution of the problem.

Ilias updated the task description. (Show Details)Aug 29 2017, 9:34 PM