Coffeescript
Moderators: winston, another_commander, Cody
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Coffeescript
I thought this might be of interest to would be OXP writers who are struggling with Javascript: http://coffeescript.org/
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
Re: Coffeescript
By giving them a different language to figure out??
Oh well, it takes all sorts I suppose... If anyone actually uses coffeescript for their oxp, it'd be interesting to know I suppose... though creating 'compiled coffeescript' sure looks like a complicated way of writing javascript code...
Oh well, it takes all sorts I suppose... If anyone actually uses coffeescript for their oxp, it'd be interesting to know I suppose... though creating 'compiled coffeescript' sure looks like a complicated way of writing javascript code...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Coffeescript
I know where you're coming from Kaks, but some people might like to try coffeescript as an alternative but should still end up with valid javascript at the end.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
Re: Coffeescript
Well, the syntax doesn't resemble many programming languages I'm familiar with, but as long as it helps people, I'm all for it!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- Gimbal Locke
- ---- E L I T E ----
- Posts: 293
- Joined: Sun Jan 08, 2012 11:32 pm
- Location: Brussels
- Contact:
- Gimbal Locke
- ---- E L I T E ----
- Posts: 293
- Joined: Sun Jan 08, 2012 11:32 pm
- Location: Brussels
- Contact:
Re: Coffeescript
Two links which may be interesting:
* List of languages that compile to JS, I was surprised on how long the list is. (But since JavaScript seems to be becoming the standard client language Everywhere pretty fast, this might have been to be expected??)
* JavaScript: The World's Most Misunderstood Programming Language argues that JavaScript is "Lisp in C's Clothing" (meaning: a functional language with curly braces syntax, with arrays in stead of lists & objects in stead of property lists).
Edit: corrected the link - thanks Ahruman for pointing this out!
* List of languages that compile to JS, I was surprised on how long the list is. (But since JavaScript seems to be becoming the standard client language Everywhere pretty fast, this might have been to be expected??)
* JavaScript: The World's Most Misunderstood Programming Language argues that JavaScript is "Lisp in C's Clothing" (meaning: a functional language with curly braces syntax, with arrays in stead of lists & objects in stead of property lists).
Edit: corrected the link - thanks Ahruman for pointing this out!
Last edited by Gimbal Locke on Fri Jun 29, 2012 10:39 pm, edited 1 time in total.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Coffeescript
Correct linkGimbal Locke wrote:List of languages that compile to JS, I was surprised on how long the list is. (But since JavaScript seems to be becoming the standard client language Everywhere pretty fast, this might have been to be expected??)
Yep. This is also known as the “assembly language for the web” meme; if you want your language/runtime environment to run on the web, and you aren’t Adobe, compiling to JavaScript is the way to do it. And now, even if you are Adobe, since Flash is in the process of transitioning to a JS authoring tool.
There are some pretty impressive things out there, like a C++ and OpenGL game engine compiled to JavaScript and WebGL with only minor modifications.
One of the goals of the upcoming ES6/harmony specification is to make it a better target for this sort of thing, most notably by adding a lower-level memory model. The competition for JS performance is still very hot, and even Internet Explorer has been playing a strong game recently.
E-mail: [email protected]