Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mean user base makes Steve cry
#11
(12-22-2024, 07:03 PM)Kernelpanic Wrote: What is the advantage of LLVM/Clang/LLD/LLDB over normal Posix MingW? -- I downloaded the latest MingW64 GCC 14.2.0 a few minutes ago. It works.

MingW - GCC for Windows

Well, there are a few advantages to using LLVM/Clang/LLD/LLDB over traditional MinGW with GCC. I'll try to list as many as I can remember:
  1. Native support for Windows on ARM: QB64-PE can compile and run on Windows on ARM thanks to LLVM MinGW. This was successfully implemented last year.
  2. Cross-platform consistency: Since macOS uses LLVM/Clang as its default toolchain, using LLVM/Clang for Windows helps us catch issues that might otherwise go unnoticed. For example, the _MEM issue when $CHECKING:OFF is used was found when we switched over to Clang. This issue was there on QB64-PE macOS for the longest time and never caught. Clang is also stricter compared to GCC, which, IMO, is beneficial.
  3. Smaller distribution size: LLVM MinGW has a much smaller payload - almost 25% smaller than the GCC-based compiler we previously bundled.
  4. Improved compilation speed: LLVM MinGW often provides faster compile times. In some scenarios, I've experienced a 2x improvement in speed.

At the end of the day, if you want to use GCC/MinGW, you still can. We test QB64-PE with GCC (on Linux) and GCC/MinGW, so it is a drop-in replacement.
Reply


Messages In This Thread
Mean user base makes Steve cry - by SMcNeill - 12-15-2024, 09:19 PM
RE: Mean user base makes Steve cry - by Bhsdfa - 12-15-2024, 10:05 PM
RE: Mean user base makes Steve cry - by JRace - 12-15-2024, 10:55 PM
RE: Mean user base makes Steve cry - by SMcNeill - 12-16-2024, 12:33 AM
RE: Mean user base makes Steve cry - by Pete - 12-15-2024, 11:46 PM
RE: Mean user base makes Steve cry - by Dimster - 12-16-2024, 02:15 PM
RE: Mean user base makes Steve cry - by bobalooie - 12-21-2024, 03:43 AM
RE: Mean user base makes Steve cry - by Pete - 12-21-2024, 06:39 PM
RE: Mean user base makes Steve cry - by bobalooie - 12-23-2024, 04:26 AM
RE: Mean user base makes Steve cry - by a740g - 12-23-2024, 01:50 AM
RE: Mean user base makes Steve cry - by Pete - 12-23-2024, 04:59 AM
RE: Mean user base makes Steve cry - by SMcNeill - 12-23-2024, 05:04 AM
RE: Mean user base makes Steve cry - by Pete - 12-23-2024, 05:06 AM
RE: Mean user base makes Steve cry - by SMcNeill - 12-23-2024, 07:17 AM
RE: Mean user base makes Steve cry - by bplus - 12-23-2024, 05:34 PM
RE: Mean user base makes Steve cry - by Pete - 12-23-2024, 09:15 PM
RE: Mean user base makes Steve cry - by bplus - 12-23-2024, 09:53 PM
RE: Mean user base makes Steve cry - by Pete - 12-23-2024, 10:31 PM
RE: Mean user base makes Steve cry - by Pete - Yesterday, 06:12 AM



Users browsing this thread: 8 Guest(s)