Search found 4212 matches

by deltarho[1859]
Mar 27, 2024 23:49
Forum: Sources, Examples, Tips and Tricks
Topic: Cairo animated spiral
Replies: 7
Views: 305

Re: Cairo animated spiral

Tee surface — Redirect input to multiple surfaces.
by deltarho[1859]
Mar 27, 2024 21:30
Forum: Sources, Examples, Tips and Tricks
Topic: Cairo animated spiral
Replies: 7
Views: 305

Re: Cairo animated spiral

What would we do without srvaldez?

Image
by deltarho[1859]
Mar 23, 2024 23:57
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

Unless I am mistaken, it looks like the compile time for the new gcc 11.2.0/clang is about half of what it was. It still takes longer than gcc, but for a lot of code published on the forum the difference may not be that noticeable. It is still worthwhile to develop in gas because that gives blisteri...
by deltarho[1859]
Mar 23, 2024 21:09
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

:wink:
by deltarho[1859]
Mar 23, 2024 12:38
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

Regarding srvaldez's instructions. The llvm downloads are now 20240320 from 20240308 updated three days ago. The libLLVM.dll is now libLLVM-18.dll. My HASH program is now 2% faster than the previous clang using gcc 11.2.0/clang so we are pulling away further from gcc 9.3. My PRNG plot program lookin...
by deltarho[1859]
Mar 21, 2024 21:39
Forum: General
Topic: screenres with a vertical scroll bar
Replies: 16
Views: 728

Re: screenres with a vertical scroll bar

@dodicat

Really nice indeed. :wink:

Off-topic, but I had a look at fbc 1.20.0/gcc 11.2.0/clang vs fbc 1.10.1/gcc 9.3

Here are the binaries in KiB.

Code: Select all

      64-bit 32-bit
clang  142    148
gcc    135    125
clang likes 64-bit.
by deltarho[1859]
Mar 20, 2024 18:53
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

I take it that you were able to compile Encrypternet with clang? Three posts back: “My Encrypternet application isn't benefitting from a clang build, but that is wall-to-wall Microsoft cryptographic APIs.” At over 140MiB per second, the only thing which can improve on that is a more powerful CPU. :)
by deltarho[1859]
Mar 20, 2024 8:00
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

This where I have ended up:

Code: Select all

            32-bit     64-bit
gcc          9.3        9.3
gcc/clang 11.2/clang 11.2/clang
It also keeps life simple by just having two toolchains.

Performance wise, it is anyone's guess who wins: gcc 9.3 or gcc 11.2/clang.

:)
by deltarho[1859]
Mar 20, 2024 4:27
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

On further tests, a gcc 11.2/clang is not much faster than gcc 9.3/clang using 64-bit. It is worth it for 32-bit with gcc 11.2/clang being about 4% faster than gcc 11.2. 32-bit gcc 9.3/clang is deplorable compared with gcc 9.3. I have no idea why. That is with my plot program. On balance, there is a...
by deltarho[1859]
Mar 20, 2024 3:10
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

Some surprises here. With my 500MiB hash program there was no appreciable difference performance wise between 32-bit and 64-bit using either gcc 9.3 clang or gcc 11.2 clang. clang was about 7% faster in all cases compared with gcc. However it is worth noting that we are using a Microsoft API. With m...
by deltarho[1859]
Mar 19, 2024 22:17
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

Using srvaldez's instructions, I did a gcc 8.1.0/clang. I always liked gcc 8.3.0. Applying to various code, there was very little difference 8.1.0 vs 9.3.0 performance wise 32-bit or 64-bit. The 9.3.0 binaries were significantly smaller, which surprised me. 9.3.0/clang seems to be the better, but it...
by deltarho[1859]
Mar 17, 2024 23:03
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

After following srvaldez's build instructions, change the name of the toolchain to:

FreeBASIC-1.20.0-gcc-9.3.0cl

That will appear in WinFBE's Compiler Setup and

fbc 1.20.0 / gcc 9.3.0cl

will appear in SCS III's status bar.
by deltarho[1859]
Mar 17, 2024 18:48
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

Regarding SCS III. If you do not have the latest SCSII then you will need to drop DlgMsgBox.dll into your WinFBE Tools folder.

DlgMsgBox.zip

The dll is responsible for pixel perfect message box centring on the parent window and makes the message box multiple monitor aware.
by deltarho[1859]
Mar 17, 2024 17:21
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

When this project started, it was a rare event to get clang to compile anything. With fbc 1.20.0/9.3.0 and no asm in sight, it is compiling everything I throw at it. 9.3.0 gives much smaller binaries than 13.2.0 and 13.2.0 doesn't do anything for performance, in my experience. Don't get too excited ...
by deltarho[1859]
Mar 17, 2024 16:45
Forum: General
Topic: -gen clang
Replies: 56
Views: 2187

Re: -gen clang

That seems easy enough. I wrote: "SCS III will swiftly follow" Compiled with fbc 1.10.1/gcc 9.3.0 with 32-bit -O2. The clang version was to show clang working. I use SetCompilerSwitchesIIILA.exe for a larger form font size and 10 point message boxes, as shown in the screenshot above. Sans ...