It is currently Tue May 21, 2013 11:21 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Use LLVM ?
PostPosted: Fri Sep 09, 2011 10:09 pm 
Offline
User
User

Joined: Mon Feb 23, 2009 4:01 pm
Posts: 72
Location: Poland
Meaby FASM is too old, and too heavy to maintain.
Meaby use LLVM/Clang and his optimization ?
It is only Idea

_________________
My game


Top
 Profile  
 
 Post subject: Re: Use LLVM ?
PostPosted: Sat Sep 10, 2011 1:37 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Jun 02, 2003 9:16 am
Posts: 1917
Location: Germany
Why? FASM is too young, not too old!

_________________
bye,
Daniel

http://www.bradan.eu/


Top
 Profile  
 
 Post subject: Re: Use LLVM ?
PostPosted: Sun Sep 11, 2011 4:26 am 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 2485
Location: New Zealand
llvm outputs assembly so it can be used with any assembler and linker.


Top
 Profile  
 
 Post subject: Re: Use LLVM ?
PostPosted: Sun Sep 11, 2011 7:17 am 
Offline
User
User

Joined: Thu Jul 14, 2011 7:38 pm
Posts: 12
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.


Top
 Profile  
 
 Post subject: Re: Use LLVM ?
PostPosted: Sun Sep 11, 2011 9:16 am 
Offline
Addict
Addict
User avatar

Joined: Sat Aug 15, 2009 6:59 pm
Posts: 1024
jboadas wrote:
Today Fasm could compile to arm for mobile http://arm.flatassembler.net/ but there is still a lot of work.

It doesnt compile, it assembles. Similar words but on computers they have quite a different meaning.

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.


Top
 Profile  
 
 Post subject: Re: Use LLVM ?
PostPosted: Sun Sep 11, 2011 9:12 pm 
Offline
User
User

Joined: Thu Jul 14, 2011 7:38 pm
Posts: 12
Thorium wrote:
It doesnt compile, it assembles.

Yep you are right. My last Assembler was 360. :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye