adobe-flash/crossbridge

LLVM/clang support

Opened this issue · 65 comments

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! :)

+1

+11

+2 :)

+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.

+1 for dreamer ;)

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

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

+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

+1
PLEASE MAKE THIS HAPPEN

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

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

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

+1

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!

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.

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!

I am interested in too :)

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

Thanks!

Ok, let me know what will be convenient for you

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?

+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//issues/28#issuecomment-26320703
.

This week.

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

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

+1

Hi guys! Any update on this? :)

up

Any update would be greatly appreciated?

any updates on this one guys?

Any update on this?

Would love to hear some news too :)

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?>)

++11

+1

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

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

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

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//issues/28#issuecomment-31318472
.

@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."

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//issues/28#issuecomment-31321301
.

+1

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

+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//issues/28#issuecomment-31350428
.

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.

Hello,

I think we know about most of the features and would find how to implement them.
By "how to get started" we mean that we don't know anything about the architecture of crossbridge and there is no reference document as far as I know.

So if we want to get started, we have no choice but starting by reading tens of thousands of code lines...
Do you think you could just pin point the location in the code that should be affected by each missing feature ? It would help us a lot.

Any news on this ?
It looks like the project has been stalled or abandoned.

2014-01-05 Gaurav Rane notifications@github.com:

+1

Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-31609608
.

makc commented

there is no reference document

There is 30 pages Petersen_FlashCCompiler.pdf thing that has some pretty diagrams I've never read. Maybe it can help?

hi all!

if there are still interest in the futures branch, i've made tickets with the currents issues:
https://github.com/vpmedia/crossbridge/issues?state=open

show stoppers
crossbridge-community#17
crossbridge-community#28
crossbridge-community#30
crossbridge-community#31
crossbridge-community#32

if someone can contribute solving these it would help to move the project forward..

some more links:

fork:
https://github.com/vpmedia/crossbridge

new home of examples:
https://github.com/crossbridge-community

new sourceforge page:
https://sourceforge.net/projects/crossbridge-community/

First of all, thank you for stepping up and taking charge of a lot of this. Secondly, we'll be revisiting our Crossbridge build in the not so distance future, and I'll be able to put some time towards this (if they haven't been resolved by then).

Hi Matt,

This is awesomes news. Glad to hear you're going to show some "love" to
CrossBridge.
Looking forward for this.

2014-07-26 5:16 GMT+02:00 Matt Bolt notifications@github.com:

First of all, thank you for stepping up and taking charge of a lot of
this. Secondly, we'll be revisiting our Crossbridge build in the not so
distance future, and I'll be able to put some time towards this (if they
haven't been resolved by then).


Reply to this email directly or view it on GitHub
#28 (comment)
.

+1

n8o commented

+1
Any more updates to this issue?

Adobe stated that they don't maintain this project anymore:

Sadly this project is no longer being actively maintained by Adobe, if you want to contribute to 
improving crossbridge you might want to help out on a more active fork like the one here: 
https://github.com/vpmedia/crossbridge/

Here is the current fork maintained by the community:
https://github.com/crossbridge-community/crossbridge

There is still work to be done on the issue, but it's progressing slowly. Check the issue tracker of the community fork for more info:
https://github.com/crossbridge-community/crossbridge/issues

+1