This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import pony.Priority; | |
import haxe.Constraints.Function; | |
#if (cs||java) | |
typedef Listener1<T1> = {args:Int, f:T1->Void}; | |
#else | |
typedef Listener1<T1> = T1->Void; | |
#end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Neko | |
Main.hx:27: 224.676000595093 | |
Main.hx:40: 356.434999465942 | |
Cpp (32bit) | |
Main.hx:27: 20.1340007781982 | |
Main.hx:40: 106.84700012207 | |
C# (64bit) | |
Main.hx:27: 15.3541984558105 | |
Main.hx:40: 234.727904319763 | |
Java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pony.net.http.HttpServer; | |
import pony.net.http.IHttpConnection; | |
class HttpServerExample { | |
static function main() { | |
new HttpServer().request = function(connection:IHttpConnection) { | |
connection.sendText('Hello world'); | |
}; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import pony.net.SocketClient; | |
import pony.net.SocketServer; | |
class StringSocketExample | |
{ | |
static function main() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import haxe.Timer; | |
import js.Node; | |
/** | |
* SlowServer | |
* @author AxGord | |
*/ | |
class SlowServer { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import sys.io.File; | |
/** | |
* Appveyor munit helper | |
* @author AxGord | |
*/ | |
class Main { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import js.Node; | |
import pony.math.Matrix; | |
import pony.midi.devices.Launchpad; | |
import pony.midi.devices.LaunchpadColor; | |
import pony.text.TextTools; | |
import pony.time.Timer; | |
using pony.Tools; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ; | |
import haxe.Log; | |
import pony.events.Event; | |
import pony.xr.modules.Object; | |
import pony.xr.modules.Op; | |
import pony.xr.modules.V; | |
import pony.xr.XmlRequest; | |
using pony.Tools; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ; | |
import com.dongxiguo.continuation.Continuation; | |
import haxe.CallStack; | |
import haxe.Log; | |
import haxe.PosInfos; | |
#if nodejs | |
import js.Node; | |
#end | |
import pony.db.mysql.Flags; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd C:\HaxeToolkit\haxe | |
rd std /s /q | |
rd haxe-3.1.3 /s /q | |
del haxe.exe | |
del haxelib.exe | |
del haxe_latest.tar.gz | |
wget http://hxbuilds.s3-website-us-east-1.amazonaws.com/builds/haxe/windows/haxe_latest.tar.gz | |
7z e haxe_latest.tar.gz -y | |
7z x haxe_latest.tar -y | |
move haxe-3.1.3\std . |