英文:
Is Golang's Revel able to be deployed as binary?
问题
我对使用非编译语言(如Ruby、PHP、JavaScript(服务器端)等)编写Web应用程序有一个担忧,那就是我的源代码可能会被其他人复制并修改,然后他们可以将其出售并声称为自己的作品。我正在寻找另一种语言来开发我的下一个项目,发现Go + Revel在速度和功能(错误行、热代码重载)方面非常有前途。
问题是,Revel是否支持部署为二进制文件?
英文:
One of my concern about writing Web Apps using non-compiled language (Ruby, PHP, Javascript (server side), etc) is my source code can be copied and modified by another person and then they could sell it, claim it as their own. I'm seeking another language to develop my next project, and find that Go + Revel is quite promising in term of speed and feature (error line, hot code-reload)
The question is, is revel support deployment as binary?
答案1
得分: 3
Golang是一种编译语言,你用它做的一切都是二进制的。
让你困惑的是热重载功能:即使使用热重载,你仍然在使用二进制文件,但是Revel会监视源代码,并在需要时重新编译它。
所以,是的,使用Revel编写的Golang应用程序是一个二进制文件。
英文:
Golang being a compiled language, everything you do with it is a binary.
What is losing you here is the hot-reload functionnality: even with it, you are still using a binary, but Revel is watching the source and compiling it again when needed.
So yes, an application written in Golang with Revel is a binary.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论