Hello, its surprising simba still dont support binary compilation after so long.
and im pretty sure wizzup did promise this in the beginning. is this something witch is yet to come or is it impossible to integrate ?
Hello, its surprising simba still dont support binary compilation after so long.
and im pretty sure wizzup did promise this in the beginning. is this something witch is yet to come or is it impossible to integrate ?
It's not impossible. We've done this right in the beginning, before Simba ever went public. You could compile scripts to .exe's. The reason we dropped it back then was to have backwards compatibility and because interpreting is a lot user friendlier.
That said, the main reason we don't have this is security and maintainability.
The benefits of binaries are:
- Can run standalone.
- Possibly more simple to use.
Downsides:
- Not easy to validate code for safety.
- Not dynamic. This is important. Now, if there is a SRL update, you'll simply let Simba update your SRL. You click run and you're using the latest SRL. This isn't the case with your executable. You'll have to rebuild it. Note that obviously the interpreter rebuilds SRL too, but it does this every time you run the script. IOW, every script update, every SRL update, you'll have to rebuild the .exe.
- External dependencies could be annoying.
- Architecture dependent. (Not really an issue)
Note that I currently assumed that you meant just having a button ``Convert script to exe''. This also means you'll be using Simba's interpreter in the .exe.
You can do this in some way, Sythe did it once with a very nasty hack. (He basically just included the scar binary in his .exe)
Perhaps we can create a tool that will create a .exe, use the right simba libraries and add the interpreter to it.
There's another possibility, though... If you would use a proper compiler like FPC, you'd have these advantages:
- Speed
- Access to a lot of extra units and libraries.
But this would mean you can't use SRL in it's current form. But you can use Simba!
Simba due to it's open sourceness already gives you the ability to directly use all the features / units we have built in your own executables. I've already created some small executable tools that use exactly this. So essentially, you can already create binaries with Simba. If I recall correctly SPS uses the Simba units as well, for example. But this area could use a lot more documentation and is quite useless for runescape purposes since you can't use SRL with it.
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
Hi wizzup , well i can see the only consern is regarding the security.
i think we shoud think possiblities instead of be so picky about the security.
but if somone did release a rs tool or similiar it could contain a keylogger designed to steal your account.
But i know for a fact that scar woud not be any more effective than a good ftp keylogger made in c++ witch is fud aswell.
and why is it hard to make native binary compilation work with the srl functions?
after all srl is only nesesary to solve randoms in rs (or atleast it used to)
and maby try to implement it. and if troubles apear then make it ilegale to post rs related native code/compiled exe's. then allow it for other things and make the downloader responsible for any damage done of such files not the creator.
but ofcourse make some sort of punishment if somone get caught in publishing a malicious exe file.
keep in mind this last sentence ^ is just a tought of me. i believe this is a good idea, and absolute worth a try![]()
People will get them to other forums and use them with malicious intent anyway.
Ce ne sont que des gueux
Yes thats correct. but i seriously doubt people woud spend time making some sort of maleware in simba, so it dosent matter right?
with my comp
scar use 1 min to count to 100.000
while java is using 14 sec to count to 100.000.000 that make it pretty self explained right?
-bump- i woud like to see more opinions on this.
the point is people woud not waist their time away to create malewares with scar because it so slow and got lack of functions to make it suitable for that. and if the purpose is to hack an account there is ALOT bether alternatives than pascal.
You guys are going a bit off topic. Of course you can write malware in programs that interpret code.
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
wizzup why cant you just add it already ?![]()
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
Allright![]()
there is many, forexample deployment or runtime speed and simplified user interface.
Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
Originally Posted by #srl
"A programmer is just a tool which converts caffeine into code"
i actually would love to see that coming wizzup?, .exe ftw!
Hi
Would be dangerous for people sharing scripts.. but I'd like to run from them.
It would be cool to have scripts like we have now and then people can create their own .exe's from them.. so when srl / reflection updates they can open up the script and compile it to an exe in a few seconds / minutes and then bam have a new exe for the script
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
why not just make it a rule that if people were to release scripts on these forums, to make it a .simba, and not an .exe. this would completely stop the security/keylogger issues.
i would like the exe simply because it is easier to transport. even though simba is small, it is annoying to have to install it on a new computer that i will probably never use simba on again, just to run a script. having an exe would make it way easier to run scripts on computers (like i go to computer labs and such).
^ sry if that didnt make much sense, im in a hurry.
Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
Originally Posted by #srl
"A programmer is just a tool which converts caffeine into code"
There are currently 1 users browsing this thread. (0 members and 1 guests)