flat assembler
Message board for the users of flat assembler.

Index > Main > FASM vs C++ Optimization

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
Melissa



Joined: 12 Apr 2012
Posts: 125
Melissa 09 Sep 2019, 04:42
Perhaps using volatile on parameters and arrays can equalize, as compilers tend to cache data if not volatile.
Post 09 Sep 2019, 04:42
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20623
Location: In your JS exploiting you and your system
revolution 09 Sep 2019, 05:13
Hehe, I love how everyone is trying to help the HLL compiler to optimise their code.

If you need to help it, then it is you that is optimising it, not the compiler.
Post 09 Sep 2019, 05:13
View user's profile Send private message Visit poster's website Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 763
guignol 10 Sep 2019, 19:07
the best way to optimize C++ is to write D compiler
cheeses
Post 10 Sep 2019, 19:07
View user's profile Send private message Reply with quote
Melissa



Joined: 12 Apr 2012
Posts: 125
Melissa 11 Sep 2019, 04:04
AS you can see C++ is already optimised Razz
Post 11 Sep 2019, 04:04
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< 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.