Comparison between Nelua and Terra #51
-
@edubart greetings and congrats for the work you have done so far. I was wondering: have you heard terra language before? It really resembles a lot of yours and I'm interested in hearing your thoughts about it. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hello @stefanos82, yes I've used Terra before creating this project. I think terra is a great language in a computer science research context and when you need to spent a good amount of your time doing compile-time tricks. However for my practical day to day use, that is to make games, I didn't feel Terra was a good choice when I tried, let me elaborate more. In Terra your default coding context is compile-time code, and you can open the runtime code context with Nelua and Terra have similarities, both have a powerful meta programming capabilities and can generate code at compile-time. Another note, Terra had a good influence in Nelua metaprogramming features, it's meta programming is inspired by some of Terra documentation. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the thorough explanation; you have indeed verified my initial "suspicion" about the metaprogramming features 😄 I have run nelua's examples and benchmarks. I can honestly say I'm very impressed with the work you have done with the generated C code. I will definitely keep an eye on nelua's implementation design and evolution, because it's quite impressive. I dare to say, to me looks evolutionary simple, comparing the over-engineered projects and tools we see all over the place nowadays. Question: is there a way to quiet the verbosity while running a nelua script? Another question / suggestion would be: will there be a TinyC compiler support that has a This way it could help for development to produce an immediate output. |
Beta Was this translation helpful? Give feedback.
-
Yes use
I already use TCC on my day to day use, to iterate faster while developing, use |
Beta Was this translation helpful? Give feedback.
-
Ah my bad; I run Thank you @edubart |
Beta Was this translation helpful? Give feedback.
Hello @stefanos82, yes I've used Terra before creating this project. I think terra is a great language in a computer science research context and when you need to spent a good amount of your time doing compile-time tricks. However for my practical day to day use, that is to make games, I didn't feel Terra was a good choice when I tried, let me elaborate more.
In Terra your default coding context is compile-time code, and you can open the runtime code context with
terra
functions. In Terra you have tools and constructs for doing compile-time things and not many official libraries for runtime stuff. In contrast Nelua focus the other way around, the default context in Nelua is the runtime co…