Time |
Nick |
Message |
00:35 |
|
LunaVorax joined #minetest-delta |
00:43 |
* mrtux |
is back (gone 04:10:31) |
06:53 |
|
neko259 joined #minetest-delta |
06:53 |
|
thexyz joined #minetest-delta |
07:26 |
|
Bad_Command joined #minetest-delta |
07:26 |
|
Bad_Command joined #minetest-delta |
08:00 |
|
EdB joined #minetest-delta |
08:38 |
|
Calinou joined #minetest-delta |
08:42 |
|
SpeedProg joined #minetest-delta |
08:43 |
|
LunaVorax joined #minetest-delta |
08:48 |
|
thexyz joined #minetest-delta |
08:53 |
LunaVorax |
Hello! |
08:54 |
Calinou |
hi |
08:55 |
LunaVorax |
I took a look at the Minetest source code |
08:56 |
LunaVorax |
I still wonder why the map generator has been rewritten in Lua |
08:56 |
Calinou |
it isn't |
08:56 |
LunaVorax |
There's a mapgen.lua |
08:56 |
Calinou |
minor parts of the mapgen (eg. papyrus, ore, clay) is in lua; the rest is in cpp |
08:57 |
LunaVorax |
Why isn't it all in Cpp or C? Since it's a critical part of the software. |
08:57 |
* Calinou |
facepalms |
08:57 |
Calinou |
lua is moddable |
08:57 |
Calinou |
if you want you can tweak papyrus frequency or ore frequency |
08:57 |
Calinou |
in C++ you have to recompile |
08:57 |
sfan5 |
<Calinou> lua is moddable >> C is too but not platform independ |
08:58 |
Calinou |
the "base" mapgen is now faster; but the additional mapgen makes it slower though |
08:58 |
Calinou |
(and unfortunately, it is less varied too) |
08:58 |
sfan5 |
you need to have windows/mac/linux builds of your "mod" if you use C/c++ |
08:58 |
LunaVorax |
sfan5, isn't it supposed to be if you code right? |
08:58 |
Calinou |
^ yeah, and that sucks |
08:58 |
Calinou |
you can't install several mods; they conflict |
08:59 |
Calinou |
LunaVorax, try compiling on windows/mac |
08:59 |
Calinou |
good luck |
08:59 |
sfan5 |
<Calinou> you can't install several mods; they conflict |
08:59 |
sfan5 |
thats because minecraft has modloader and so on |
08:59 |
Calinou |
even worse compared to MC |
09:01 |
sfan5 |
yeah |
09:01 |
sfan5 |
minecraft modding: platform independ .class files |
09:02 |
sfan5 |
minetest modding (C/C++): NOT platform independ .exe or other files |
09:02 |
sfan5 |
lua is the best |
09:02 |
Calinou |
minecraft modding still requires compilation; this lets modders make their mods proprietary (they should, anyway, as MC itself is proprietary, else it's illegal) |
09:02 |
Calinou |
redistributing compiled mods is illegal anyway; unless they're patches |
09:03 |
Calinou |
and lua is also less half assed. |
09:03 |
Calinou |
it isn't fast, but it's not about "com.com.package.org.org.org.org.asm.NullPointerException.macos.winblows" |
09:04 |
sfan5 |
java is slow... |
09:05 |
thexyz |
lua is fast enough to write mods in it |
09:07 |
Calinou |
yeah |
09:07 |
Anchakor |
java is fast http://shootout.alioth.debian.org/u64q/which-programming-languages-are-fastest.php |
09:07 |
Calinou |
java is faster than lua though iirc |
09:08 |
Anchakor |
yup |
09:08 |
Calinou |
lua is bytecode iirc, no? |
09:11 |
LunaVorax |
It compiles on the fly? |
09:12 |
Calinou |
not sure |
09:12 |
thexyz |
bytecode != compiled code |
09:12 |
thexyz |
"compiles of the fly" == jit |
09:13 |
LunaVorax |
ok |
09:14 |
LunaVorax |
I'm not familiar with theses terms yet |
09:17 |
Calinou |
k |
09:18 |
Calinou |
is JIT used by default? |
09:18 |
Calinou |
for minetest |
09:18 |
Anchakor |
"compiles on the fly" == interpreted, not matter if using JIT compilation or not |
09:19 |
thexyz |
Calinou: no |
09:19 |
thexyz |
lua itself doesn't support jit |
09:19 |
thexyz |
there is, though, luajit |
09:29 |
Calinou |
k |
09:30 |
|
EdB joined #minetest-delta |
10:27 |
|
LunaVorax joined #minetest-delta |
10:37 |
|
LunaVorax joined #minetest-delta |
10:48 |
|
PilzAdam joined #minetest-delta |
11:38 |
|
neko259 joined #minetest-delta |
11:44 |
|
saschaheylik joined #minetest-delta |
11:59 |
|
Calinou joined #minetest-delta |
13:08 |
|
LunaVorax joined #minetest-delta |
13:15 |
|
Calinou joined #minetest-delta |
15:03 |
|
SpeedProg joined #minetest-delta |
15:29 |
|
NakedFury joined #minetest-delta |
16:15 |
|
MiJyn joined #minetest-delta |
16:15 |
|
LunaVorax joined #minetest-delta |
17:08 |
|
LunaVorax joined #minetest-delta |
17:09 |
|
thexyz1 joined #minetest-delta |
17:58 |
|
LunaVorax joined #minetest-delta |
18:13 |
|
Xenux joined #minetest-delta |
18:32 |
|
saschaheylik_ joined #minetest-delta |
19:21 |
|
mrtux joined #minetest-delta |
20:49 |
|
LunaVorax joined #minetest-delta |