adobe-flash / crossbridge

Welcome to visit the homepage!
http://www.crossbridge.io
542 stars 194 forks source link

LLVM/clang support #28

Open JMLX42 opened 10 years ago

JMLX42 commented 10 years ago

Hello,

we're working on the C++ port of Minko (http://minko.io) to bring a bit more awesomeness to the Flash platform. Crossbridge is our dream come true!

But we're using C++ 2011 and I guess support for LLVM/clang 3.2+ is required to build properly. I'm creating this issue to have some feedback about the availability of such feature which as far as I understand is currently under development in the "future" branch.

Please also indicate how we can help: we have some C++ 2011 code base and we would be pleased to dedicate some C++ developers to make your work easier on this.

Thanks for the awesome work! :)

gonchar commented 10 years ago

+1

alexcyprien commented 10 years ago

+1

bartoszalksnin commented 10 years ago

+1

brucelane commented 10 years ago

+1

karimbeyrouti commented 10 years ago

+1

warrenseine commented 10 years ago

+1

mcapraro commented 10 years ago

+11

mlapido commented 10 years ago

+2 :)

daoshengmu commented 10 years ago

+1

cbakgly commented 10 years ago

+1 for myself :) C++11 is close to complete. Exception handling is not working properly. The rest seems good. Besides this, there are several parts yet to be done to make SDK as a whole exactly as before. But all in all the availability depends on your required features.

katopz commented 10 years ago

+1 for dreamer ;)

inspirit commented 10 years ago

+1 for LLVM clang 3.3 ;) this compiler is bad ass!

cbakgly commented 10 years ago

Hi @promethe42, forgot to say we are surely happy to see new dedicated contributors. Any concern please let us know.

cbakgly commented 10 years ago

+10 for 3.3 :). But I prefer to see a stable version coming out first. You guys are key to make it happen (at least faster).

yi commented 10 years ago

+1 PLEASE MAKE THIS HAPPEN

rtissera commented 10 years ago

+1 for 3.2 first, then move to 3.3 should be easier :)

JMLX42 commented 10 years ago

3.2 has all the C++11 features we need I think.

http://clang.llvm.org/cxx_status.html

faveris commented 10 years ago

+1

cbakgly commented 10 years ago

Hello @promethe42 Please let me know what I can support for you and when your people decide to dedicate to this project! Also please feel free to email me. Thanks in advance!

JMLX42 commented 10 years ago

Hi,

as soon as you have support for clang 3.2 we will give it a try to compile Minko and provide feedback.

We would like to help but to be honnest we don't know where to start :) Some input would be nice.

cbakgly commented 10 years ago

Oh, I guess I might put a SDK for your trying. (https://sourceforge.net/projects/crossbridge/files/Crossbridge_1.1.0.devbuild.alpha.dmg) As for a start, what I had were these: 1 setup env. 2 try examples to see basic usage. 3 get an overall idea on the process of compiler. 4 get an big picture on how crossbridge compiler works, especially for generating AS/ABC. 5 walk thru llvm/clang for specific code path and verifying via debugging.

I will post a blog here on the issue list for quick getting start. And any question/feedback please feel free to post. Thanks!

rtissera commented 10 years ago

I am interested in too :)

JMLX42 commented 10 years ago

Can't you push everything on github in the "future" branch (or a new one)?

Thanks!

cbakgly commented 10 years ago

Ok, let me know what will be convenient for you

JMLX42 commented 10 years ago

An "alpha" of Crossbridge with llvm/clang 3.2 support in the github repo + little doc about using it if any changes from the original build system. As soon as we got this we can give you feedback and see where things are going...

When do you think it could be up?

rtissera commented 10 years ago

+1 Le 15 oct. 2013 11:30, "Jean-Marc Le Roux" notifications@github.com a écrit :

An "alpha" of Crossbridge with llvm/clang 3.2 support in the github repo + little doc about using it if any changes from the original build system. As soon as we got this we can give you feedback and see where things are going...

When do you think it could be up?

— Reply to this email directly or view it on GitHubhttps://github.com/adobe-flash/crossbridge/issues/28#issuecomment-26320703 .

cbakgly commented 10 years ago

This week.

bartoszalksnin commented 10 years ago

before we get blog post there's doc from april about llvm 3.2 integration status i'm not sure how relevant it is to current progress https://github.com/adobe/crossbridge/blob/futures/LLVM_UPGRADE.md

cbakgly commented 10 years ago

It was a rough plan before going open source. The steps are roughly the same. Now the progress is measured against the samples.

macropp commented 10 years ago

+1

JMLX42 commented 10 years ago

Hi guys! Any update on this? :)

JMLX42 commented 10 years ago

up

JMLX42 commented 10 years ago

Any update would be greatly appreciated?

fsilvestrim commented 10 years ago

any updates on this one guys?

vladkolotvin commented 10 years ago

Any update on this?

rtissera commented 10 years ago

Would love to hear some news too :)

ivanov-playkot commented 10 years ago

I'm VERY interested in the update too (we need C++11 support, faster compilation/link of course, and pthread support <seems that alpha version doesn't support pthread, am I right?>)

civet commented 10 years ago

++11

Taraflex commented 10 years ago

+1

lgmaj commented 10 years ago

+1

taanielo commented 10 years ago

Waiting update for this. Please show us some love :)

cbakgly commented 10 years ago

Love is never a single affair alone. It definitely needs many people's effort and time to make a big product come true.

gonchar commented 10 years ago

we can help you, what do you need? examples?

rtissera commented 10 years ago

I'm clearly astonished by such an attitude :(

2013/12/29 Sergey Gonchar notifications@github.com

we can help you, what do you need? examples?

— Reply to this email directly or view it on GitHubhttps://github.com/adobe-flash/crossbridge/issues/28#issuecomment-31318472 .

gonchar commented 10 years ago

@rtissera what did astonish you? I want to help with it, because, a few comments ago @cbakgly wrote "Now the progress is measured against the samples."

rtissera commented 10 years ago

Ye Liu answer.... Le 29 déc. 2013 18:40, "Sergey Gonchar" notifications@github.com a écrit :

@rtissera https://github.com/rtissera what did astonish you? I want to help with it, because, a few comments ago @cbakglyhttps://github.com/cbakglywrote "Now the progress is measured against the samples."

— Reply to this email directly or view it on GitHubhttps://github.com/adobe-flash/crossbridge/issues/28#issuecomment-31321301 .

Dovyski commented 10 years ago

+1

JMLX42 commented 10 years ago

@cbakgly we can help, just help us helping you! We would love to contribute but we don't know where to get started...

rtissera commented 10 years ago

+1, would definitely help to help if we were given proper information and status

2013/12/30 Jean-Marc Le Roux notifications@github.com

@cbakgly https://github.com/cbakgly we can help, just help us helping you! We would love to contribute but we don't know where to get started...

— Reply to this email directly or view it on GitHubhttps://github.com/adobe-flash/crossbridge/issues/28#issuecomment-31350428 .

cbakgly commented 10 years ago

Hey Bros,

All you have is what I had when I took and is sitting on github. I believe you all surely can take it as well.

Read readme.md for status.

Let's say for example how to beat exception monster to get level up, ask yourself: 1 Do I understand the mechanism of c++ exception and where it affects in system libs? No? read the spec, read the code of system libs (at least libc, libc++, pthread) . Don't need it? ok, compile with -fno-exception.

2 Do I understand how clang handles? No? read the code, debug and see how it works on other archs (e.g. i386/arm) Compare the output against flascc 1.0's.

3 I know both well now. Sincerely congrats!!! Implement it, test it and contribute the patch!

4 I have questions. Make a little demo to narrow down the problem and verify contrary situation. Post to the issue list or other forum. See if anyone can answer. Google is the decent teacher.

You probably have to give great effort and time to make one step forward, since you are dealing with the very low level part of applications. Good luck.