Meaby FASM is too old, and too heavy to maintain.
Meaby use LLVM/Clang and his optimization ?
It is only Idea
Use LLVM ?
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: Use LLVM ?
llvm outputs assembly so it can be used with any assembler and linker.
Windows 11, Manjaro, Raspberry Pi OS


Re: Use LLVM ?
Ok supose you use llvm to Cross-Platform development, There is no easy way to manage the gui stuff across multiple platforms using llvm. In the frontend language you need a library with a coherent wrapper for all cross platform gui stuff (CLang still doesnt have one) and in the backend target you need a "compiler backend" for every target platform. Supose for example you found a gui library that works on windows, linux (all flavors), osx, Android, Ios, WP7, Symbian, Webos, Blackberry with llvm, maybe SWT could help but the java frontend of llvm is incomplete, Maybe Qt Lighthouse could helps but the Qt targets for Ios and Android are still in beta .
Please correct me if I am wrong but today LLVM still doest offer a solution for the cross platform stuff.
Today Fasm could compile to arm for mobile http://arm.flatassembler.net/ but there is still a lot of work.
Please correct me if I am wrong but today LLVM still doest offer a solution for the cross platform stuff.
Today Fasm could compile to arm for mobile http://arm.flatassembler.net/ but there is still a lot of work.
Re: Use LLVM ?
It doesnt compile, it assembles. Similar words but on computers they have quite a different meaning.jboadas wrote: Today Fasm could compile to arm for mobile http://arm.flatassembler.net/ but there is still a lot of work.
A compiler generates assembler or machine code from a higher form of code. 2 different compilers can generate very different machine code from the same source code.
A assembler translates assembler code to machine code 1:1. 2 different assemblers will genererate the same machine code from the same source code.
Getting a ARM assembler was never the problem.
Re: Use LLVM ?
Yep you are right. My last Assembler was 360.Thorium wrote:It doesnt compile, it assembles.
