Faster pwn compiler
#9

Quote:
Originally Posted by Mauzen
View Post
CPU and RAM speed will directly affect the compiler speed.
The best cheap way to speed it up still is to optimize the script, or to optimize the frequency of compiling. Unless you got no idea what youre doing you dont neccessarily need to compile the gamemode every new line. With some plans and attention you can also write several hundred lines without compiling it, and without the risk to add compiler crash bugs that take hours to fix.
Alternatively, just use the compiling time and continue working on the script (you might need to use another editor as not all editors run the compiler in background). The compiler just reads the script once, so theres no problem with saving it once the compiler is running (afaik). However, this kind of scripting can be nasty at some points, especially when youre already in some completely different part of the code when the compiler tells you theres a problem in the part your wrote 15 minutes ago. So in order to use the time effectively you should be able to focus on multiple parts of the script at once. Then youre not losing any time to the slow compiler.
Good idea but let's say they was tons of mapping codes inside a filerscript tons of lines that would compile faster then the gamemode just saying anyways no idea why Djson makes the compiler slow including dini etc, i think it all depends on how neat, you keep the script from not having alot of lines and pointless things such as // and /* \* and i have never had a crash bug with a compiler yet guessing that's due to the { or } anything really thanks for your great long message about it really useful.


Quote:
Originally Posted by MP2
View Post
Those editors are just that - editors. They aren't different compilers. They all use pawncc.exe.
i have not seen one without using the pawncc.exe


Quote:
Originally Posted by davve95
View Post
https://sampwiki.blast.hk/wiki/Scripting_Editors

I don't know wich one is faster though.
Well wiki tells me to keep my script neat.

i might follow that wiki on my next project.


Quote:
Originally Posted by Misiur
View Post
Yup, pawncc is only choice you have. I'll attempt to write one based on LLVM, but not in the nearest future. https://github.com/Zeex/pawn/ - you can rewrite pawncc better if you know how.
A friend of mine goes to college to do something like that not pretty sure maybe he can help me out if he understands pwn scripting.
Reply


Messages In This Thread
Faster pwn compiler - by Yves - 01.03.2014, 11:22
Re: Faster pwn compiler - by davve95 - 01.03.2014, 11:33
Re: Faster pwn compiler - by im - 01.03.2014, 12:27
Re: Faster pwn compiler - by Misiur - 01.03.2014, 12:43
Re: Faster pwn compiler - by Jochemd - 01.03.2014, 13:17
Re: Faster pwn compiler - by MP2 - 01.03.2014, 13:44
Re: Faster pwn compiler - by Mauzen - 01.03.2014, 13:47
Re: Faster pwn compiler - by xeeZ - 01.03.2014, 14:07
Re: Faster pwn compiler - by Yves - 01.03.2014, 20:05
Re: Faster pwn compiler - by ColeMiner - 02.03.2014, 14:56
Re: Faster pwn compiler - by dali123 - 26.05.2018, 22:24
Re: Faster pwn compiler - by cuber - 27.05.2018, 01:06
Re: Faster pwn compiler - by Sasino97 - 01.06.2018, 12:20
Re: Faster pwn compiler - by AmigaBlizzard - 08.06.2018, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)