« first day (3420 days earlier)      last day (1600 days later) » 

nwp
2:38 PM
Looks like feeds will stay.
I blame Almo for secretly eating stars.
 
Haha :p
 
 
1 hour later…
3:43 PM
Up to now, Lua seems the easiest to integrate, compared to Python and Javascript..
 
I think that's one of those things where it's easier to integrate hello world... but harder to integrate a large project
 
Yeah, maybe. Our devs are more used to Python, so it would make sense to integrate python and have a "single" scrpiting language, but it I don't know how much risk is involved with it.
I have never integrated a scripting language, so I don't have a clue what the "selection parameters" would be.
 
Me neither really
Question: Do you want to implant a full scripting language that you can do a lot in, or just have simple scripted functions that respond to things
 
My two first features would be to specify functions as parameter (as in "curve functions", where I supply X as input and the script returns an Y), and some basic AI/robot behaviour, which is only a glorified "curve function".
So b)
 
Then Lua sounds, to me, the easiest to implement
 
nwp
3:53 PM
Lua is a good choice when you cannot trust the script writers, for example when you add modding support for a game and don't want people to write a mod that encrypts their harddrive and demands ransom.
 
If you want to have a lot of, I guess state? to the scripting language I'd go for python
@nwp when embedding python you can strip it down to a minimal set of supports, for example removing all file operations
 
nwp
Sol2 is pretty decent. Just don't put everything into one file, otherwise compile and link times massively suffer.
 
@Elva I guess being unable to import, and use any file operations can help it make secure?
@nwp Thanks, I'll take a look at it!
 
Who names something "shit outta luck 2"?! :p
@Vaillancourt you need to remove quite a few standard libraries, I actually went the other way around and removed everything, then re-added what was needed
There's things like a sqlite implementation, file, pickling, etc
 
Eek, yeah, ok good point.
I haven't played with it, but do you know if pypy would be a candidate for that?
 
4:09 PM
Uuuh yeah IIRC it's good for that
Though note, never did it for more then test applications
 
Ok, thanks, I think I'll give it a try during the vacation!
 
 
3 hours later…
7:09 PM
I really wonder how EVE Online packages its python code. Most likely it hides it behind DLLs?
 
7:30 PM
That's a good question man
 
I also wonder how often they do a pass at "cleaning up the code".
:P
 
:D
 
7:48 PM
New dev: "Hey, I noticed that the part that handles server jump is not matching our code standard, I've started to updated it"
Boss: "You're fired."
 

« first day (3420 days earlier)      last day (1600 days later) »