flat assembler
Message board for the users of flat assembler.

Index > Windows > Fasm and cores

Author
Thread Post new topic Reply to topic
Fastestcodes



Joined: 13 Jun 2022
Posts: 75
Fastestcodes 20 Sep 2022, 11:44
Can Fasm use more cores?
(read from virtudrive0, do the work0 on core0,write to virtudrive0)and(read from virtudrive1, do the work1 on core1,write to virtudrive1)and(read from virtudrive2, do the work2 on core2,write to virtudrive2)and(read from virtudrive3, do the work3 on core3,write to virtudrive3)...
Is this works? (Is this faster?)
Post 20 Sep 2022, 11:44
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 20 Sep 2022, 11:54
There is no native code in fasm to use threading.

But you can have fasm can use more cores if you launch multiple instances of fasm in parallel. You can have one process for each output file.

It might or might not be faster. Try it and see if it helps in your situation.
Post 20 Sep 2022, 11:54
View user's profile Send private message Visit poster's website Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 75
Fastestcodes 20 Sep 2022, 17:44
Picture differ
Write to virtudrive
compress on virtudrive with uha/paq,etc
write the compressed file to hdd,ssd,pendrive,SDcard.
Post 20 Sep 2022, 17:44
View user's profile Send private message Reply with quote
Overclick



Joined: 11 Jul 2020
Posts: 669
Location: Ukraine
Overclick 20 Sep 2022, 18:08
Why fasm? (facepalm)
You need to create threads/processes via winapi for windows. Fasm is assembler not executor.
Post 20 Sep 2022, 18:08
View user's profile Send private message Visit poster's website Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 75
Fastestcodes 27 Sep 2022, 20:41
Overclick wrote:
Why fasm? (facepalm)
You need to create threads/processes via winapi for windows. Fasm is assembler not executor.

Speed.
Post 27 Sep 2022, 20:41
View user's profile Send private message Reply with quote
macomics



Joined: 26 Jan 2021
Posts: 1042
Location: Russia
macomics 27 Sep 2022, 20:58
To increase the speed, move the computer to a car/train/plane/rocket.

The fastest computers in the world are now on board the ISS.
Post 27 Sep 2022, 20:58
View user's profile Send private message Reply with quote
Fastestcodes



Joined: 13 Jun 2022
Posts: 75
Fastestcodes 01 Oct 2022, 14:56
macomics wrote:
To increase the speed, move the computer to a car/train/plane/rocket.

The fastest computers in the world are now on board the ISS.

Smile https://www.guinnessworldrecords.com/world-records/66135-fastest-spacecraft-speed#:~:text=The%20fastest%20speed%20by%20a,UTC%20on%2020%20November%202021.
The ali spaceships are faster.
Post 01 Oct 2022, 14:56
View user's profile Send private message Reply with quote
Overclick



Joined: 11 Jul 2020
Posts: 669
Location: Ukraine
Overclick 01 Oct 2022, 15:05
Your global mistake you believe the Fasm is some script engine or some very high-level language where solutions decided by their developers. But here you have to do all this things and you are absolutely free to use as many cores as you want.
Post 01 Oct 2022, 15:05
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.