JavaScript variant planned? #215

Closed
opened 2016-08-17 23:31:54 -07:00 by queequac · 1 comment
queequac commented 2016-08-17 23:31:54 -07:00 (Migrated from github.com)

Just some question: In the past css-layout was written in JavaScript and transpiled to C.
Now C seems to be the primary language the library is written in.

Are there any plans to do the same vice-versa again, transpiling this time to JavaScript?
Otherwise I am stuck to the deprecated version, while it was the big advantange of css-layout having really identical behavior in both languages.

Just some question: In the past css-layout was written in JavaScript and transpiled to C. Now C seems to be the primary language the library is written in. Are there any plans to do the same vice-versa again, transpiling this time to JavaScript? Otherwise I am stuck to the deprecated version, while it was the big advantange of css-layout having really identical behavior in both languages.
emilsjolander commented 2016-08-18 01:42:14 -07:00 (Migrated from github.com)

Let me start with some backstory on the change. The js version was not used by us internally and working with the regex transpilation process slowed us down. The libraries focus was to bring flexbox to mobile and in reaching that goal js is not important. That said I know of many reasons why a js version is important and would be useful so if we could solve that with little to no development overhead I would be all for it. One way I can think of doing this is via emscripten (http://kripken.github.io/emscripten-site/index.html).

I won't personally be working on this in the near future as there are more pressing issues (for us) to solve. However I would love community contribution here.

Let me start with some backstory on the change. The js version was not used by us internally and working with the regex transpilation process slowed us down. The libraries focus was to bring flexbox to mobile and in reaching that goal js is not important. That said I know of many reasons why a js version is important and would be useful so if we could solve that with little to no development overhead I would be all for it. One way I can think of doing this is via emscripten (http://kripken.github.io/emscripten-site/index.html). I won't personally be working on this in the near future as there are more pressing issues (for us) to solve. However I would love community contribution here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DaddyFrosty/yoga#215
No description provided.