Here’s a video I put to show off something I’ve been working on - a pure Haxe web server.
I’m hoping to put together more videos and tutorials in the future showing off features in more depth, and as I add or complete more of my goals.
Here’s a video I put to show off something I’ve been working on - a pure Haxe web server.
I’m hoping to put together more videos and tutorials in the future showing off features in more depth, and as I add or complete more of my goals.
Nice video:) What AI support stuff do you use when coding?
Thanks!
I’m using Github Copilot Pro (10usd per month) and mostly use Claude Sonnet 4.5 as the model.
It integrates directly into Visual Studio Code (and Visual Studio).
I’m not sure if you’ve used it but you can switch the model easily to GPT 5, or different premium options if you are paying for Pro.
I think it’s pretty amazing how well it all works (expecially when everything is Haxe) and it even figured out that I switch between html5 and hashlink builds and in agent mode it would verify its changes by doing a “lime build hl” and then afterwards “lime build html5” to verify there aren’t compile errors.
What do you use?
I don’t use big tech AI for reasons of privacy. Planning to try ollama open models locally.
If you are interested in building http applications with haxe, I highly recommend the hxwell framework.
Nice! I’m definitely going to take a deep dive into HxWell and see how it compares to what I’ve been working on.
At the very least I may be able to abstract the underlying http server implementation to support both snake-server and HxWell
HxWell has different drivers across platforms.
Can have low level access or high level access if you want.
// Static access for response object
var responseStatic = ResponseBuilder.asStatic();
// Set Headers
responseStatic.header("Content-Type", "text/plain");
responseStatic.header("Connection", "close");
// Flush Headers
request.context.beginWrite();
// Write Body
request.context.writeString("OK");
request.context.close();
ResponseBuilder.asStatic()
.header("Static-Access", "true");
// Way 1 - Static-Access -> true
/*return {
'status': 'error',
'message': 'Server is busy'
};*/
// Way 2 - Static-Access -> true, Status -> Error, Dynamic-Access -> true
return ResponseBuilder.asJson({
status: "error",
message: "Server is busy"
}).header("Status", "Error")
.header("Dynamic-Access", "true");
I played with benchmarking open source models on software engineering tasks with a 3090 24GB GPU this past summer… Fun stuff. Here’s a screenshot of what I was toying with. With the right agentic setup, or for just the right situation, you might get some useful and timely output… but there’s a reason the big players get paid billions. They are generically useful and with server farms, quite fast.
Still… very fun to play with.
Hi Clay, this project looks very cool! Glad to see you playing with all kinds of Haxe tech - from haxeui to lime to hashlink.
Love the focus on building debuggable, cross-platform, pure-Haxe solutions.
© 2018-2020 Haxe Foundation - Powered by Discourse