Swift to Javascript

Hi all,
I wish I will be able write web app using Swift instead of JavaScript. It would be wonderfull if we could develop desktop app, mobile app, server-side app, and web app, all using Swift. It will be complete.
Is it possible that someday in the future we would be able to compile Swift code into JavaScript? Something that's like Microsoft's TypeScript. *finger crossed*
What do you think? Hello, Mr Chris Lattner? Are you listening?
Regards,
–Mr Bee

The great thing about Swift being open-source is that anyone can help make it a better language!

Here's a good starting point: https://kripken.github.io/emscripten-site/index.html

Best,
Austin

···

On Jun 21, 2016, at 9:44 PM, Mr Bee via swift-users <swift-users@swift.org> wrote:

Hi all,

I wish I will be able write web app using Swift instead of JavaScript. It would be wonderfull if we could develop desktop app, mobile app, server-side app, and web app, all using Swift. It will be complete.

Is it possible that someday in the future we would be able to compile Swift code into JavaScript? Something that's like Microsoft's TypeScript. *finger crossed*

What do you think? Hello, Mr Chris Lattner? Are you listening?

Regards,

–Mr Bee

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

I know there are some JS compilers, but I prefer something that is officially supported by Apple.

–Mr Bee

  Pada Rab, 22 Jun 2016 pada 12:45, Austin Zheng<austinzheng@gmail.com> menulis: The great thing about Swift being open-source is that anyone can help make it a better language!
Here's a good starting point: Main — Emscripten 3.1.21-git (dev) documentation
Best,Austin

···

On Jun 21, 2016, at 9:44 PM, Mr Bee via swift-users <swift-users@swift.org> wrote:
Hi all,
I wish I will be able write web app using Swift instead of JavaScript. It would be wonderfull if we could develop desktop app, mobile app, server-side app, and web app, all using Swift. It will be complete.
Is it possible that someday in the future we would be able to compile Swift code into JavaScript? Something that's like Microsoft's TypeScript. *finger crossed*
What do you think? Hello, Mr Chris Lattner? Are you listening?
Regards,
–Mr Bee
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Like this?

http://perfect.org

···

On Jun 22, 2016, at 12:44 AM, Mr Bee via swift-users <swift-users@swift.org> wrote:

Hi all,

I wish I will be able write web app using Swift instead of JavaScript. It would be wonderfull if we could develop desktop app, mobile app, server-side app, and web app, all using Swift. It will be complete.

If you want something supported by Apple, the procedure is to propose it on the swift-evolution list. However, Swift has a very specific set of development priorities right now, so they are almost certainly not going to accept any new proposals for compiler backends or transpilation support for at least several months.

Austin

···

On Jun 21, 2016, at 11:20 PM, Mr Bee <pak.lebah@yahoo.com> wrote:

I know there are some JS compilers, but I prefer something that is officially supported by Apple.

–Mr Bee

Pada Rab, 22 Jun 2016 pada 12:45, Austin Zheng
<austinzheng@gmail.com> menulis:
The great thing about Swift being open-source is that anyone can help make it a better language!

Here's a good starting point: Main — Emscripten 3.1.49-git (dev) documentation

Best,
Austin

On Jun 21, 2016, at 9:44 PM, Mr Bee via swift-users <swift-users@swift.org <javascript:return>> wrote:

Hi all,

I wish I will be able write web app using Swift instead of JavaScript. It would be wonderfull if we could develop desktop app, mobile app, server-side app, and web app, all using Swift. It will be complete.

Is it possible that someday in the future we would be able to compile Swift code into JavaScript? Something that's like Microsoft's TypeScript. *finger crossed*

What do you think? Hello, Mr Chris Lattner? Are you listening?

Regards,

–Mr Bee

_______________________________________________
swift-users mailing list
swift-users@swift.org <javascript:return>
https://lists.swift.org/mailman/listinfo/swift-users

I know they are now busy preparing Swift 3 release. I don't think these days as an appropriate time to propose this idea into that list. I'm just brainstorming the idea in this list to see whether Swift to JS transpiler is a good idea to be seriously supported by Apple. :)
–Mr Bee

    Pada Rabu, 22 Juni 2016 13:24, Austin Zheng <austinzheng@gmail.com> menulis:

If you want something supported by Apple, the procedure is to propose it on the swift-evolution list. However, Swift has a very specific set of development priorities right now, so they are almost certainly not going to accept any new proposals for compiler backends or transpilation support for at least several months.
Austin

···

On Jun 21, 2016, at 11:20 PM, Mr Bee <pak.lebah@yahoo.com> wrote:
I know there are some JS compilers, but I prefer something that is officially supported by Apple.

–Mr Bee

Pada Rab, 22 Jun 2016 pada 12:45, Austin Zheng<austinzheng@gmail.com> menulis: The great thing about Swift being open-source is that anyone can help make it a better language!
Here's a good starting point: Main — Emscripten 3.1.21-git (dev) documentation
Best,Austin

On Jun 21, 2016, at 9:44 PM, Mr Bee via swift-users <swift-users@swift.org> wrote:
Hi all,
I wish I will be able write web app using Swift instead of JavaScript. It would be wonderfull if we could develop desktop app, mobile app, server-side app, and web app, all using Swift. It will be complete.
Is it possible that someday in the future we would be able to compile Swift code into JavaScript? Something that's like Microsoft's TypeScript. *finger crossed*
What do you think? Hello, Mr Chris Lattner? Are you listening?
Regards,
–Mr Bee
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

I reply to all previous posts…
http://www.shiftjs.com is closer to what I want. But in its current state today, it's not yet ready for prime time. I've tried to paste my rather long but not complicated Swift program, and it failed.

Main — Emscripten 3.1.49-git (dev) documentation is not really about Swift. Yes, it may be used as the basis for what I want but it requires some effort to actually create an excellent Swift to JS transpiler.

http://perfect.org GitHub - Kitura/Kitura: A Swift web framework and HTTP server. https://realm.io/news/swift-summit-jorge-izquierdo-taylor-http-server-library/ I knew about these things and they're not what I want. These are server side app frameworks, not web front-end frameworks. They don't do JS.
All in all, they are not officially supported by Apple (except IBM's Kitura) which means their work likely won't be aligned with the official Swift features and progresses.
–Mr Bee

    Pada Rabu, 22 Juni 2016 20:55, Maury Markowitz <maury.markowitz@gmail.com> menulis:

···

On Jun 22, 2016, at 12:44 AM, Mr Bee via swift-users <swift-users@swift.org> wrote:

Hi all,

I wish I will be able write web app using Swift instead of JavaScript. It would be wonderfull if we could develop desktop app, mobile app, server-side app, and web app, all using Swift. It will be complete.

Like this?

http://perfect.org

Emscripten will eventually have swift support.

···

*___________________________________*

*James⎥Head of Trolls*

*james@supmenow.com <james@supmenow.com>⎥supmenow.com <http://supmenow.com>*

*Sup*

*Runway East *

*10 Finsbury Square*

*London*

* EC2A 1AF *

On 23 June 2016 at 05:22, Mr Bee via swift-users <swift-users@swift.org> wrote:

I reply to all previous posts…

http://www.shiftjs.com is closer to what I want. But in its current state
today, it's not yet ready for prime time. I've tried to paste my rather
long but not complicated Swift program, and it failed.

Main — Emscripten 3.1.49-git (dev) documentation is not really about
Swift. Yes, it may be used as the basis for what I want but it requires
some effort to actually create an excellent Swift to JS transpiler.

http://perfect.org
GitHub - Kitura/Kitura: A Swift web framework and HTTP server.

Taylor: The Most Un-Googleable Swift Library

I knew about these things and they're not what I want. These are server
side app frameworks, not web front-end frameworks. They don't do JS.

All in all, they are not officially supported by Apple (except IBM's
Kitura) which means their work likely won't be aligned with the official
Swift features and progresses.

–Mr Bee

Pada Rabu, 22 Juni 2016 20:55, Maury Markowitz <maury.markowitz@gmail.com>
menulis:

> On Jun 22, 2016, at 12:44 AM, Mr Bee via swift-users < > swift-users@swift.org> wrote:

>
> Hi all,
>
> I wish I will be able write web app using Swift instead of JavaScript.
It would be wonderfull if we could develop desktop app, mobile app,
server-side app, and web app, all using Swift. It will be complete.

Like this?

http://perfect.org
GitHub - Kitura/Kitura: A Swift web framework and HTTP server.

Taylor: The Most Un-Googleable Swift Library

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users