Comments (4)
Sorry for the late reply but the question you posted has not an easy answer.
They are both very interesting projects but cannot be compared to Gravity. Gravity is just born and in the near future a lot of interesting features will be added.
I really don't like to reinvent the wheel but I like the idea to create a very maintainable and efficient language that can be highly customized and extended. I am a big fan of Lua and Gravity VM performance are always compared to the highly efficient Lua VM.
I could have surely saved a lot of time just adding a Gravity like syntax over an existing VM but the result would be yet another syntax on top of Lua. The things I learned (and that I can now teach with the Internals project) during the development of Gravity and the possibility that we now have would not be possible with a shortcut.
I realize that you could probably disagree with my reply but for the challenges we faced during the development of Creo, I strongly believe that Gravity has been the right answer.
In the end the right choice would be Gravity on top of LLVM and not on top of LuaJIT that cannot run on ARM processors (it is an x86 only project) and Gravity with LLVM is in my roadmap.
from gravity.
Thanks for your reply!
Quick question about the following statement:
In the end the right choice would be Gravity on top of LLVM and not on top of LuaJIT that cannot run on ARM processors (it is an x86 only project) and Gravity with LLVM is in my roadmap.
Do you mean LuaJIT cannot run on ARM processors? If this is what you mean, it looks like apparently it can. See e.g. http://luajit.org/luajit.html and https://luajit.org/performance_arm.html But the JIT part is disabled on iOS devices due to AppStore policies, AFAIK.
And, BTW, I can totally see that your own VM may be more extensible than at least LuaJIT, which is pretty hard to extend.
As for the GravityVM vs LuaVM/Wren VM, I'm eager to learn more about their essential differences, once you start publishing more information on your Internals project pages.
Don't get me wrong: I'm not questioning the purpose of the whole effort. Gravity and GravityVM are small and elegant. There is no doubt about that. I'm just trying to understand the "unique selling points" of Gravity when it comes to the VM part (not the language). To do that I'd like to understand the major differences between GravityVM and LuaVM/Wren VM and LuaJIT.
from gravity.
Ping! :-) It seems to be the only issue without any response after 5 days. Is there any hope to get one?
from gravity.
I didn't know that LuaJIT was ported to so many platforms. It is really an amazing technology.
I am going to close this thread, for any other question don't hesitate to open others issues.
from gravity.
Related Issues (20)
- Line numbers in error messages are wrong HOT 9
- Make install doesn't install libraries nor headers
- Problems compiling without GRAVITY_COMPUTED_GOTO being set HOT 2
- Thinking about writing a book
- [Feature] #include guards HOT 1
- Runtime Error Should Report File and Line Number HOT 3
- lambda captured HOT 1
- Gravity documentation update to latest HOT 1
- C like conditional compilation and suggested features HOT 2
- Documentation section arrow eats into section name HOT 3
- 2023 roadmap?
- Please add syntax highlighting for Sublime Text
- Please implement REPL
- better cli-rework
- Makefile dependency errors
- Evaluate using Profile-Guided Optimization (PGO) and LLVM BOLT
- Automatic native function/class identifier registration on gravity parser HOT 1
- Gravity language windows install instructions HOT 1
- RUNTIME ERROR: Unknown LOADK index
- hello can we run gravity on microcontroller ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gravity.