Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
erik-kallen
on Sept 3, 2012
|
parent
|
context
|
favorite
| on:
New C# to Javascript compiler released
That's right, it doesn't get horrific until you use goto or yield (which don't exist in Javascript so they have to be emulated).
TazeTSchnitzel
on Sept 3, 2012
[–]
Some browsers, and ES Harmony, have yield. You could add a compiler switch to use native support, although only Firefox seems to support this just now.
Curious to see how you managed the emulation - splitting up a function? Web workers? :)
erik-kallen
on Sept 3, 2012
|
parent
[–]
for (;;), continue and switch.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: