]> icculus.org git repositories - dana/openbox.git/blob - DESIGN/plugins_vs_scripting.txt
my rant..
[dana/openbox.git] / DESIGN / plugins_vs_scripting.txt
1 So I had a bit of a rant and thought I'd save it...
2
3
4 01:15 * xOr figures python wont last for ob4, but we'll see
5 01:15 (xOr) since theres only so much you can do
6 01:15 (xOr) and some added config files/c code can do it all
7 01:16 (xOr) i mean, realisticly, how many people are going to make .py's
8 01:16 (xOr) theyre going to ask me for a new feature
9 01:16 (xOr) they wont write a py
10 01:16 (xOr) so a clean and smart c kernel with sub modules of C code would 
11             probly be more optimal eventually
12 01:17 (xOr) scripting was cool for gnus, but i wished i could just set it (mutt)
13 01:17 (shrimpx) .so's would be cool in the absence of scripting, prolly
14 01:17 (xOr) yea thats what im meaning
15 01:17 (xOr) like engines, but for functions
16 01:18 (xOr) so youd replace bbappconf witha .so that can interact properly
17 01:18 (xOr) and you dont have to write all this crazy Python/c at all and you 
18             end up with something easier to configure
19 01:18 (xOr) with less effort
20 01:20 (@xOr) also less room for pregnancy [strong typing is good] with all C
21 01:21 (@xOr) and less 'my python script wont load, tteach me python xor'
22 01:44 (@xOr) what i figure would happen over slow evolution course is..
23 01:44 (@xOr) python modules would be converted to python/c inline shit
24 01:44 (shrimpx) xOr: you know that some wacko is going to embed python in an .so
25 1:45 (@xOr) shrimpx: and itd probly be better
26 01:45 (@xOr) shrimpx: cuz it would do less stuff
27 01:45 (shrimpx) less stuff == less defensive programming against moron 
28                 extension programmers
29 01:45 (@xOr) yea
30 01:45 (@xOr) and less to try learn to use it
31 01:46 (@xOr) and less to screw up
32 01:56 (@xOr)  and for instance, if we were to look at emacs, which is the 
33              probably most popular scripted application
34 01:56 (@xOr) my .emacs is not crazy code
35 01:56 (@xOr) its some keybindings
36 01:56 (@xOr) and setting variables
37 01:57 (shrimpx) yah but 99% of emacs functionality is in lisp
38 01:57 (@xOr) ya
39 01:57 (@xOr) but thats not a reason to use it
40 01:57 (@xOr) or a reason why its good
41 01:58 (@xOr) thats just the language of implementation
42 01:58 (shrimpx) even tho it's not .rc
43 01:58 (@xOr) its good because entensions are written in the same language as 
44              its implementation
45 01:58 (@xOr) do vim plugins have access to the same amount of internals as 
46              emacs entensions?
47 01:59 (shrimpx) no
48 01:59 (@xOr) right
49 01:59 (@xOr) this i think is why emacs is better than vim
50 01:59 (@xOr) youcan write a crazy dope cvs.el
51 01:59 (@xOr) you can write shell.el
52 01:59 (@xOr) you cant do these with vim
53 01:59 (@xOr) you can make hackish addons with keybindings
54 02:00 (@xOr) so if openbox has .so plugins, its equally as good for exteding as 
55              with python extensions
56 02:00 (@xOr) possibly better because you can access more