Search found 207 matches

by Coolman
Jan 30, 2019 17:20
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

FBWin32 fbc -gen gcc -Wc -O2 elapsed time is 50.85937545920933 seconds
FBWin64 fbc -gen gcc -Wc -O2 elapsed time is 39.82537974277511 seconds

No comments
by Coolman
Jan 29, 2019 16:49
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

@Coolman it is your choice which compiler version you want to use, in my experience, FBx64 executables are usually faster than FBx86, except for graphics I don't have a real world benchmark, so here's the nbody benchmark my times on Windows 10 x64 FBwin32 fbc -w all -asm intel -gen gas launched fou...
by Coolman
Jan 29, 2019 13:22
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

finally. I will use the 32 bit version of freebasic. it is windows 64 compatible and most programs are faster. that said. I will soon stop using windows for linux. I would see the difference ...
by Coolman
Jan 28, 2019 22:59
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

why not harmonize freebasic 32 and 64 so that it generates only C code with the default compilation enabled with the option -O2. it would be more logical. and it will optimize the c-generated code in both versions. You can use the gcc backend also for 32-bit freebasic by passing "-gen gcc"...
by Coolman
Jan 28, 2019 22:09
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

I will see. to return to freebasic. does anyone have a benchmark source code to concretely evaluate the speed of 32 and 64 bit programs: - loop - between file output - arithmetic calculation - sorting ... no graphic test since apparently the 32 bit version is more optimized ... I would do it but I d...
by Coolman
Jan 28, 2019 20:14
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

Windows Make sure you recompiled everything with -dTEST_WIN32_SEH and appropriate -Cf parameters. By default win32 has a slower exception system than win64, but that is historic and will hopefully be fixed soon. I did not know this setting, I use classic optimizations. you mean with this setting. 3...
by Coolman
Jan 28, 2019 19:57
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

Windows
by Coolman
Jan 28, 2019 19:50
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

I know all that . by default freebasic 32 generates asm code while the 64-bit version generates only C code . which explains that 32 bit programs are much faster than 64 bit ... I hope it is more precise. Maybe more precise, but your conclusion is still wrong. In general asm code is not faster than...
by Coolman
Jan 28, 2019 18:16
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

I use freebasic only for small programs and lazarus freepascal for big projects. the speed difference of the programs (32 vs 64) generated surprised me. that's all . the technical details are not important. I expect a 64 bit program to be faster than a 32 bit program. it's always the case with the o...
by Coolman
Jan 28, 2019 17:07
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

Re: [Freebasic 32 vs 64]

I know all that. by default freebasic 32 generates asm code while the 64-bit version generates only C code.

which explains that 32 bit programs are much faster than 64 bit ...

I hope it is more precise.
by Coolman
Jan 28, 2019 16:31
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1284

[Freebasic 32 vs 64]

Freebasic 32 bit generates code asm ... Freebasic 64 bit generates code C ... I did not know it. I only recently installed 64-bit freebasic ... it is obvious that the assembler is and has always been faster than the C. which explains that 32 bit programs are much faster than 64 bit ... for informati...
by Coolman
Jan 24, 2019 15:06
Forum: Tips and Tricks
Topic: Water Effect v0.60
Replies: 11
Views: 1156

Re: Water Effect v0.55

the colors are altered in this version line 253 Draw String(2, 2), iFPS_current & " fps", RGB(&hFF, &hFF, &hFF) it's more visible freebasic and gcc 32 bit : -gui = 38-40 fps -gen gcc -Wc -O2 = 70-71 fps -gen gcc -Wc -Ofast = 96-100 fps freebasic and gcc 64 bit : -gui = 18-1...
by Coolman
Jan 18, 2019 17:47
Forum: Tips and Tricks
Topic: Water Effect v0.60
Replies: 11
Views: 1156

Re: Water Effect v0.5

with freebasic and gcc 64 bit :

-gui = 13-14 fps ??? weird

-gen gcc -Wc -O2 = 20-21 fps ??? weird

-gen gcc -Wc -Ofast = 62-63 fps (even faster than 32 bit)
by Coolman
Jan 17, 2019 16:15
Forum: Tips and Tricks
Topic: Water Effect v0.60
Replies: 11
Views: 1156

Re: Water Effect v0.4

impressive. good job. -Os optimization for code size -O2 optimization more for code size and execution time -O3 optimization more for code size and execution time -Ofast O3 with fast none accurate math calculations -gui = 21-22 fps -gen gcc -Wc -O2 = 41-43 fps -gen gcc -Wc -Ofast = 44-46 fps the ve...

Go to advanced search