哈克斯在领域

发布于 2024-07-09 04:30:57 字数 143 浏览 6 评论 0原文

最近我再次重新审视了 Haxe,并意识到我之前忽略了它的一些优雅之处。 但我想它在开发人员中仍然缺乏一些知名度。

所以我的问题是,这里有人用它进行生产吗? 如果是这样,你如何使用它? 您遇到哪些陷阱或困难? 您会推荐它用于未来的项目吗?

I had a fresh look at Haxe again recently and realized that I had overlooked some of its elegance before. But I guess it lacks some visibility among the developers still.

So my question is, does anybody here use it for production? If so, how do you use it? What are the gotchas or difficulties you encounter? Do you recommend it for future projects?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

落墨 2024-07-16 04:30:57

我使用 Haxe 开发所有 Flash 应用程序,我喜欢它。 我在 Linux 上使用 Emacs 进行开发,
我真的很喜欢如何让 Haxe 适合我喜欢的开发环境。 我只是用
简单的 Makefiles 看起来像这样:

project.swf: Project.hx
    haxe project.hxml

在 Haxe 中入门真的很容易,而且非常优雅。 我有
与使用 Adob​​e Flash 相比,使用 Haxe 没有任何问题
建设者,并开发了一系列大型项目,包括 PanningPedagogyOrchiveCantillionAudioscapes

我已经在 SourceForge 上以 GPL 形式发布了所有这些的源代码,请在以下位置查看它们:

I use Haxe to develop all my Flash applications, and I love it. I develop on Linux and with Emacs,
and I really like how I can make Haxe fit within my preferred development environment. I just use
simple Makefiles that look something like:

project.swf: Project.hx
    haxe project.hxml

It's really easy to get started in Haxe, and it's very elegant. I've
had no problems at all using Haxe as compared to using the Adobe Flash
builders, and have developed a bunch of big projects including PanningPedagogy, The Orchive,Cantillion and Audioscapes.

I've released the source code to all of these as GPL on SourceForge, check them out at:

妥活 2024-07-16 04:30:57

You might find some useful information in the lists of Projects Using Haxe and People Using Haxe.

少钕鈤記 2024-07-16 04:30:57

我公司使用 Haxe 进行生产。 对于swf内容的编程在技术方面绝对没有问题。 在服务器端使用它有点困难。 如果您使用 Haxe for PHP,您有时会遇到一些打字问题(这或多或少是一个 PHP 问题)。 neko vm 非常稳定并且非常非常快,但是需要一些时间才能让它与所有其他服务器软件(mysql、apache - mod_rewrite)一起运行,但是一旦你得到它,它就非常稳定。

我们用它来生成 swf 应用程序,尝试了 Haxe JS 的可能性。 此外,我们还为多人游戏创建了套接字服务器,并开始使用 Haxe PHP 或 neko 生成所有网页。

社区非常有帮助,文档有时有点短。

这只是我的意见和我的经验。

My company uses Haxe for production use. For programming swf content is absolutly no problem on the technical side. Using it on the server side is a little bit harder. If you Haxe for PHP you sometimes have some problems with typing (this is more or less a PHP problem). The neko vm is very stable and very very fast but it takes some time to get it running with all you other server software (mysql, apache - mod_rewrite), but once you got it you it is very stable.

We used it for generation swf applications, tried the possibilies of Haxe JS. Also we created socket server for a multiplayer game and start to generate all our webpages with Haxe PHP or neko.

The community is very helpful, the documentation is sometimes a little bit to short.

This is only my opinion and the experiences I made.

转身泪倾城 2024-07-16 04:30:57

对于我们这些不知道 Haxe 是什么的人来说,它是一种用于开发 Web 应用程序的编程语言。 它有多个编译器目标(Flash、php、JavaScript 和 Neko 语言的 VM )

For those of us who don't know what Haxe is, it's a programming language for developing web apps. It has multiple compiler targets (Flash, php, JavaScript, and the Neko language's VM)

妖妓 2024-07-16 04:30:57

由于 NME/OpenFL,Haxe 目前作为跨平台开发(主要用于游戏开发)工具越来越受欢迎:http: //www.openfl.org/

在 Haxe 中编写一次并将其部署到 Flash、Android、iOS 等。

Haxe are currently gaining more popularity as a cross-platform development (mainly for game development) tools thanks to NME/OpenFL: http://www.openfl.org/

Write once in Haxe and deploy it to Flash, Android, iOS, and more..

软糯酥胸 2024-07-16 04:30:57

HaxeJS 非常适合 Web 制作,它允许使用所有底层 js 模块,同时提供额外的功能,如预处理器、类型化字段、条件编译、类、haxe 库、IDE 的重构和自动完成等。非常快速地编译并输出可立即使用的 js 文件。

我还没有尝试过 microsoft typescript,但到目前为止,我已经在一些生产项目中将 HaxeJS 用于客户端和服务器(nodejs),感觉这是一个不错的选择。 唯一的问题是,如果我想与其他人共享 js 库或 npm 模块,那么我可能需要手动重写 js。

HaxeJS is very good for web production, it allows to use all the underlying js modules while giving extra abilities like pre-processor, typed fields, conditional-compilation, classes, haxe libraries, refactoring and auto-completion from IDE etc.. plus its very quick to compile and output ready-to-use js files.

I haven't tried microsoft typescript, but so far I've been using HaxeJS for both client and server (nodejs) on a few production projects and it feels a great choice. The only issue is if i want to share js libraries or npm modules with others, I'll probably need to rewrite the js by hand then.

ι不睡觉的鱼゛ 2024-07-16 04:30:57

我们在之前的实习中将其用于内部网络系统。 我们只编译为 js,而我只编译过一些次要代码为 js 和 C#。 我可以说它运行得非常好,并且当时制作了许多自定义小部件。 调试生成的 js 也不是那么糟糕,但有时它不会生成您想要的代码(我记得 js 中的一个字符串比较问题,其中比较的是引用而不是值)。 该代码已部署在生产中,并且多年来一直运行良好。 我很确定他们今天仍在使用它。

那是2013年的事了,从那以后我就没有再用过它了。 我遇到的一个问题是尝试使用 2.10 版本编译 2.08 版本中生成的代码。 它需要一些细微但不明显的调整。 我无法对最近的版本发表评论,但我会小心一点,不要通过升级到新版本的编译器来破坏大块代码。

We used it at a previous internship, for an internal web system. We only compiled to js and I just once compiled some minor code to both js and C#. I can say it worked quite well and many custom widgets were made at the time. Debugging the produced js wasn't that bad either, but it sometimes didn't produce the code you wanted it to (I remember one string comparison issue in js, where the reference was being compared instead of the value). The code was deployed in production and had worked fine for years. I'm pretty sure they still use it today.

That was in 2013, I haven't used it since. One problem I did have was trying to compile code made in version 2.08 using version 2.10. It needed some minor, but non-obvious adjustments. I can't quite comment on more recent releases, but I'd be a bit careful on not breaking large pieces of code by upgrading to new versions of the compiler.

扶醉桌前 2024-07-16 04:30:57

您编译,haxelib run flow 在您输入的目标中运行“target”,例如 web,这就是全部,在您的 bin 文件夹中您将获得文件,请记住根据您的目标和项目配置您的 project.flow 文件。

You compile, haxelib run flow run "target" in target you type for example web, and thats all, in your bin, folder you get your files, remember to configure your project.flow file acording to your target and project.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文