• Programming Offer
    47 replies, posted
[QUOTE=Rocket;28214148]Scripting languages will never take over. That's pretty much a fact. Let me quote myself: To add on to that: scripting languages are slow. If I could find my sixth grade science fair project, I'd quote that, but the final verdict was: For the first trial: Python: ~15 seconds, Lua: ~16 seconds, C++: <1 second. I rest my case.[/QUOTE] Really depends on what its doing really C++ will be faster as its closer to the interpretor then the rest its not going thought as many hoops. But thanks this is what I like to see :) what was the test at the time if you remeber :P
Do you do LUA gamemodes? I need a closed source gamemode for my community. Just posting this out here.
[QUOTE=rexzooly;28214371]Really depends on what its doing really C++ will be faster as its closer to the interpretor then the rest its not going thought as many hoops. But thanks this is what I like to see :) what was the test at the time if you remeber :P[/QUOTE] C++ has no interpreter, it is compiled to machine code which is used by your processor to tell electrical circuits what to do. C++ will always be faster than [b]any[/b] scripting language.
[QUOTE=Neddy;28215948]Do you do LUA gamemodes? I need a closed source gamemode for my community. Just posting this out here.[/QUOTE] I never made a Gamemode before and I would not really make it close source if i could not sure the point in close source gamemode.. @ neos300 Ya but I am not able to understande C++ i tried but just never get it lol or well scripting it will be
It's not that hard to understand. Once you learn what all the weird symbols mean and the structure of a program, it looks pretty close to lua. Here are some starters: Place a ; after every statement. Use return_type name(arguments) { code } instead of function(arguments) code end to define a function. Classes are like tables, except they define a framework which you make new objects out of.
Might also be worth looking at [url=http://squirrel-lang.org/]Squirrel[/url]. It's like a merge of Lua and C++.
[QUOTE=Diaklu;28220932]Might also be worth looking at [url=http://squirrel-lang.org/]Squirrel[/url]. It's like a merge of Lua and C++.[/QUOTE] Its API is also very reminiscent of Lua.
Thanks guys I give the home page a quick look I not sure its a lang I going to take on but i sure going to have a play with it :)
[QUOTE=alecdude;28174063]This is the programming forum, inhabited by programmers. Knowing this, why would a programmer hire someone to do programming for them.[/QUOTE] While I do consider myself a programmer, I check the forums mostly just to see some of the cool shit people are doing.
[QUOTE=Alex_DeLarge;28282635]While I do consider myself a programmer, I check the forums mostly just to see some of the cool shit people are doing.[/QUOTE] Dude your Avata is freaky lol like a mix of clock work orange and the beatles lol, I found a really nice project to do right now :) but hey I posted the offer maybe someone in the future will want help with there project or idea lol I still might help out :)
Interpreted languages can't replace languages compiled into machine code because then you wouldn't be able to create the interpreters in the first place.
So, what happens if you write a compiler for the interpreted language?
Then you would still have to write an interpreter for the bytecode it produces, unless it produces machine code but then it wouldn't be a interpreted language.
And that is my point. The language itself rarely defines if it is interpreted or not.
Sorry, you need to Log In to post a reply to this thread.