Is writing minetest in Java possible?
Is writing minetest in Java possible?
Hi, id like to know if its possible to make working mods and subgames written in Java.
Hey, what can i say? I'm the bad guy.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Is writing minetest in Java possible?
No, it's not
Re: Is writing minetest in Java possible?
Not really. Java isn't bad for a lot of things, but you can't make a game really small in Java. At a minimum the JRE takes 300MB or so, and Minetest is not even, like, 60mb total. Memory and Java are like donuts and Chief Wiggum, too.Stix wrote:Bummer :(
Think of it a different way: even though Android is java, most android games are native C code wrapped in a tiny java wrapper. Guess why?
Re: Is writing minetest in Java possible?
i guess that means Minetest will never have Java support implimented?sofar wrote:Not really. Java isn't bad for a lot of things, but you can't make a game really small in Java. At a minimum the JRE takes 300MB or so, and Minetest is not even, like, 60mb total. Memory and Java are like donuts and Chief Wiggum, too.Stix wrote:Bummer :(
Think of it a different way: even though Android is java, most android games are native C code wrapped in a tiny java wrapper. Guess why?
Hey, what can i say? I'm the bad guy.
What is a code wrapper?
Hi id like to know what a code-wrapper does, from a quick google search it looks like it makes it possible to code in, for example, Java and then use a C++ code wrapper to run the Hava program in C++, is this correct?
if so what about coding in Java with a Lua code-wrapper?
if so what about coding in Java with a Lua code-wrapper?
Hey, what can i say? I'm the bad guy.
Re: Is writing minetest in Java possible?
i now plan to post my java questions here.
Hey, what can i say? I'm the bad guy.
Re: Is writing minetest in Java possible?
Relax. MT is written in C++. Nobody being sane will rewrite the code into Java.
What I would like to see in MT in future is the ability to write mods in Python, very convenient and powerful scripting language, at least some subset of Python, that allows to be embedded as Lua. But unlikely it will be implemented.
What I would like to see in MT in future is the ability to write mods in Python, very convenient and powerful scripting language, at least some subset of Python, that allows to be embedded as Lua. But unlikely it will be implemented.
Re: Is writing minetest in Java possible?
MT engine is written in C++? this means that someone, for example, could write a mod or subgame in Java and use a C++ wrapper (if wrappers do what i think they do) on the Java program so it could work with MT! if im correct, which i hope i am, having MT mods that are written in Java (with a C++ wrapper ofc) is possible!Sergey wrote:Relax. MT is written in C++. Nobody being sane will rewrite the code into Java.
What I would like to see in MT in future is the ability to write mods in Python, very convenient and powerful scripting language, at least some subset of Python, that allows to be embedded as Lua. But unlikely it will be implemented.
Hey, what can i say? I'm the bad guy.
Re: Is writing minetest in Java possible?
MT mods can be written in Lua only.
Listen, young boy. If you a fan of Java this is great. But do not try to apply your Java skills in every software around you.
Listen, young boy. If you a fan of Java this is great. But do not try to apply your Java skills in every software around you.
Re: Is writing minetest in Java possible?
Everything is possible, it's not very sensible, though. It would be hard to explain it in a sentence why, though.
If you know java already, then lua is easy. Perhaps you should explain your fascination with java?
If you know java already, then lua is easy. Perhaps you should explain your fascination with java?
Re: Is writing minetest in Java possible?
i actually am still learning Java and dont know it fully yet, the reason i wanted to code mt stuff in java is because i have already learned some of java, and would sound that continuing learning java instead of learn lua and java would mean i could learn more in one language (java) and therefore make better code, instead of slowly learning both at a time.
Hey, what can i say? I'm the bad guy.
Re: Is writing minetest in Java possible?
I would actually recommend learning LuA at the same time as Java. LuA is a tiny language that you could teach on the back of a napkin. Try it, I'd say. You'd be surprised how simple it is.
Re: Is writing minetest in Java possible?
Weird namesofar wrote:LuA
These simple tutorials of simple language Lua is enough to start programming.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: Is writing minetest in Java possible?
You want to make minetest closer than minecraft or just make slower than windows XP on a nokia phone?Stix wrote:Hi, id like to know if its possible to make working mods and subgames written in Java.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Re: Is writing minetest in Java possible?
By the way, Stix, do you know there is another free and open source Minecraft-like sandbox game written in Java? It's name is Terasology!azekill_DIABLO wrote:You want to make minetest closer than minecraft or just make slower than windows XP on a nokia phone?Stix wrote:Hi, id like to know if its possible to make working mods and subgames written in Java.
Slow as hell!
Their forum: http://forum.terasology.org. Maybe you should write there.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: Is writing minetest in Java possible?
you mean Teraslow-ogySergey wrote:By the way, Stix, do you know there is another free and open source Minecraft-like sandbox game written in Java? It's name is Terasology!azekill_DIABLO wrote:You want to make minetest closer than minecraft or just make slower than windows XP on a nokia phone?Stix wrote:Hi, id like to know if its possible to make working mods and subgames written in Java.
Slow as hell!
Their forum: http://forum.terasology.org. Maybe you should write there.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
-
- Member
- Posts: 818
- Joined: Tue Apr 14, 2015 01:59
- GitHub: raymoo
- IRC: Hijiri
- In-game: Raymoo + Clownpiece
Re: Is writing minetest in Java possible?
Yes you can, just write a JVM implementation in Lua.
Every time a mod API is left undocumented, a koala dies.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: Is writing minetest in Java possible?
no. no. no. no. no. no. no. no. no. no. no. no. no. no. no. no. no. no. no. no.Byakuren wrote:Yes you can, just write a JVM implementation in Lua.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- Wuzzy
- Member
- Posts: 4803
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Pointless
Minetest is in C++. This is not going to change. Get freaking used to it! And learn how to code. :P
I can't stand these pointless “you have to use programming language X, then everything will be rainbows and unicorns” arguments. xD
I can't stand these pointless “you have to use programming language X, then everything will be rainbows and unicorns” arguments. xD
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: Is writing minetest in Java possible?
xD you mean nyan cats
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- Andrey01
- Member
- Posts: 2577
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
Re: Is writing minetest in Java possible?
I agree quite with you. Python syntax is easier than Lua one even i think. Furthermore there are much more possibillities in Python.Sergey wrote:Relax. MT is written in C++. Nobody being sane will rewrite the code into Java.
What I would like to see in MT in future is the ability to write mods in Python, very convenient and powerful scripting language, at least some subset of Python, that allows to be embedded as Lua. But unlikely it will be implemented.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: Is writing minetest in Java possible?
I personnaly prefer Lua to Python... and changing the scripting language of minetest is not a good idea: it will break all mods.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Re: Is writing minetest in Java possible?
nope, again, you're (1) misinformed and (2) it aint ever going to happen.Andrey01 wrote:I agree quite with you. Python syntax is easier than Lua one even i think. Furthermore there are much more possibillities in Python.Sergey wrote:Relax. MT is written in C++. Nobody being sane will rewrite the code into Java.
What I would like to see in MT in future is the ability to write mods in Python, very convenient and powerful scripting language, at least some subset of Python, that allows to be embedded as Lua. But unlikely it will be implemented.
Python is 200mb+ of libraries and packages just to get started, so it's 4x the size of ALL of minetest to begin with. It also eats memory like it's an elephant with peanuts.
And second, everything python can do, you can do in Lua. In less memory. And probably faster.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: Is writing minetest in Java possible?
Lua is the fastest scripting language. And LuaJIT is just insane. I agree with you sofar.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Who is online
Users browsing this forum: Irremann and 3 guests