Mr.Vil Posted October 19, 2015 Share Posted October 19, 2015 Hi ! I've started "normal" web developpement two months ago, and it was painful. I'm coming from C# developpemement and Javascript is chinese to me.So, I look to Typescript and Dart (and Coffescript, but I think it's worse). I want to use Pixi.js or EaselJs But as far as I can see, it's not so easy to import Javascript librairies in Dart. Is someone tried these language and can tell me how it worked ? Quote Link to comment Share on other sites More sharing options...
d13 Posted October 19, 2015 Share Posted October 19, 2015 Almost every programming language can be transpired into JavaScript.Just choose a language and look for a JS transpiler, and you're all set.Here's one for C#: http://jsil.org If you want something fun and new, try Elm or ClosureScript. Quote Link to comment Share on other sites More sharing options...
WombatTurkey Posted October 20, 2015 Share Posted October 20, 2015 Godot engine, and export to HTML 5 or whatever platform. You can use phaser with typescript as well. http://phaser.io/download Quote Link to comment Share on other sites More sharing options...
Mathieu Anthoine Posted October 20, 2015 Share Posted October 20, 2015 Try haxe: haxe.orgHaxe is a powerful strict typing language that cross compile to js, c#, c++, php, python, as3, flash, ios, android, Next generation consoles and apple tv.Tou can use pixijs, phaserjs, openfl, flambe or many other api or frameworks with haxe. Quote Link to comment Share on other sites More sharing options...
Mr.Vil Posted October 20, 2015 Author Share Posted October 20, 2015 Thank's. I think I'll try phaser with typescript, if I understood well, it's build on top of pixi. Quote Link to comment Share on other sites More sharing options...
bruno_ Posted October 20, 2015 Share Posted October 20, 2015 You should give a try to ES6, it has modules and classes, maybe you'll work better than the current ES5. If you don't like it, you can use this project to compile C# to JS: http://bridge.net/ Quote Link to comment Share on other sites More sharing options...
Eric Mulvihill Posted November 3, 2015 Share Posted November 3, 2015 I've ported a few small javascript projects to Typescript and was really impressed. If you want to stick with pure ES6 then you can use Babel, but Typescript's syntax follows ES6 conventions very closely anyway so its more a matter of preference. I'd personally avoid using something that didn't at least follow ES's basic structure. Edit: As far as hating Javascript.. i am (was) with you. But now that we have ES6 and Typescript, it's like Javascript without the really horrible bits that were classic Javascript. Anyway it's impossibe to avoid these days. Quote Link to comment Share on other sites More sharing options...
mattstyles Posted November 8, 2015 Share Posted November 8, 2015 If you're not working on a team there aren't that many advantages to using haxe or typescript over regular es2015 JS. Shame that you don't like it, it certainly has flaws but they become 'lovable quirks' (sometimes, actually, not very often) over time. The newest spec actually gives us some proper tools for building complex apps so the JS world is certainly a better place to play in than a few years ago. But yeah, if it's not your thing then why bother? Use it as a transpile target and write your programs however you see fit Quote Link to comment Share on other sites More sharing options...
Red Spark Posted November 8, 2015 Share Posted November 8, 2015 I was AS3 developer 2 years ago and back then I was hating JS too. But then I invested some time into understanding its core principles and came to love it and its dynamic nature. On a sidenote, you can actually create a self-rewriting Artificial Intelligence in JS. Like purely self-rewriting, not combining stuff from predefined chunks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.