Speaking of Technology....
|
|
Milla Alexandre
Milla Alexandre
Join date: 22 Jan 2007
Posts: 1,759
|
05-15-2009 06:09
I've been having some interesting chats lately with a new friend in SL who is a programmer.....(he's a Mac user, I'm windows) and as I have assisted him with various SL learning curves (that we all have been thru lol) he has lamented more then a few times about how archaic the programming is for SL. Without being tedius with individual examples.....every time a new issue arises and I have to explain to him why that can't be done in SL.....or why it has to be this way, and not that way......he'll go off on a technology tangent about how it would be so easy to re-program SL and make things run so much smoother. Most times I am at a loss because I don't have the proper lingo to explain to him why it isn't quite that simple.....I have a relative understanding (based on marketing alone it would be a nightmare for LL to upgrade everything all at once....half of us would fall off the grid, never to return).....but, he insists that it IS that simple. So.....all you mega techies out there......what programming language does SL use? I'm sort of asking a bit of a crash education on basic programming here.....and where SL stands in the current technology standard. I think my friends frustration is going to drive him right out of SL......he says there's another virtaul world he wants to check out (it wont be anything like SL.....but he's not really into the whole creative aspect anyway) But I have hard time relating because I don't have experience with basic programming. 
|
|
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
|
05-15-2009 06:11
From: Milla Alexandre what programming language does SL use? It's very PG for certain. Except when something really bad happens. the the programmers will go "shit", "bugger" and other such words.
|
|
DancesWithRobots Soyer
Registered User
Join date: 7 Apr 2006
Posts: 701
|
05-15-2009 06:15
The programming language is still lsl2 or Linden Scripting Language. I recall hearing it was developed by Cory Linden, who is no longer with us on the grid.
Last year, (I think) they changed the core or engine of LSL from. . .uh whatever it was--to mono.
The original lsl compliler still runs, since there are programs out there that we don't have the source for any more. When you save a script, you have a choice of whiche compiler to use, but it defaults to mono.
_____________________
"Two lives I have. One life I live. One life I dream. In dreams I remember the better in me."
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
05-15-2009 07:15
Gee. Well, the *language* will soon enough be up to us to implement. We get an LSL compiler built in to the sims, and for the moment that's all there is, but because it's now based on Mono, there's the possibility of enabling other languages, and a C# API is said to be in prototype form now. (I'm really not crazy about how this is getting implemented, but... anyway, if this guy is a C# programmer, probably he'll be all happy pretty soon.)
The thing is, nobody who's programmed for long can actually bring themselves to care about languages anymore. Good and bad languages come and go, supplanted by others better and worse. Everybody has their own way of dealing with language misfeatures (for LSL, an external editor is a frequent choice, allowing one to augment the language with missing features that resolve to native LSL in a preprocessing pass).
For some, complaining about programming languages is more fun than programming, and it's a lot easier to get good at it.
_____________________
Archived for Your Protection
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
05-15-2009 07:17
The SL server is written in C++, C, Perl, Python, and a variety of other languages.
The scripting language is, as noted, called LSL.
The LSL compiler is written in yacc/lexx with a C++ back end that can generate LSO code for the legacy runtime, or CIL for the Mono runtime. The same compiler is in the client software with a backend that provides syntax highlighting.
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
05-15-2009 07:19
From: Qie Niangao The thing is, nobody who's programmed for long can actually bring themselves to care about languages anymore. Speak for yourself. If a language doesn't support native reflection it's just a toy. You can do a lot with toy languages like LSL, C#, and C++ but they're not worthy of being mentioned in the same sentence as Lisp or Smalltalk.
|
|
Kidd Krasner
Registered User
Join date: 1 Jan 2007
Posts: 1,938
|
05-15-2009 08:37
From: Argent Stonecutter Speak for yourself. If a language doesn't support native reflection it's just a toy. You can do a lot with toy languages like LSL, C#, and C++ but they're not worthy of being mentioned in the same sentence as Lisp or Smalltalk. Guy Steele wrote Common Lisp: The Language and co-wrote C: A Reference Manual. There, I mentioned them both in the same sentence (making the fair assumption that C is included in that list of toy languages). Reflection is the toy, albeit a nice one. C is the Corvette, C++ the Maserati, Lisp is the Escalade, Smalltalk is the Bentley concept SUV, and reflection is the Airstream trailer.
|
|
Amaranthim Talon
Voyager, Seeker, Curious
Join date: 14 Nov 2006
Posts: 12,032
|
05-15-2009 08:41
This Thread needs a Rosetta Stone - /me got lost after, "I've been having..."! 
_____________________
"Yield to temptation. It may not pass your way again. " Robert A. Heinlein  http://talonfaire.blogspot.com/ Visit Talon Faire Main: http://slurl.com/secondlife/Misto%20Presto/216/21/155- Main Store XStreets: http://tinyurl.com/6r7ayn
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
05-15-2009 08:46
From: Kidd Krasner Guy Steele wrote Common Lisp: The Language and co-wrote C: A Reference Manual. There, I mentioned them both in the same sentence (making the fair assumption that C is included in that list of toy languages). *whoosh* From: someone C is the Corvette, C++ the Maserati, Lisp is the Escalade, Smalltalk is the Bentley concept SUV, and reflection is the Airstream trailer. C is Ford's Model A, C++ is the British Mark I, Lisp is the Buick Dynaflow, Smalltalk is the Ford Econoline, and reflection is the automatic transmission. My wife insists on driving a manual. Now she insists on my taking her car because she broke her ankle and can't shift. But at least she doesn't need to rebuild the gearbox to shift into reverse.
|
|
Lindal Kidd
Dances With Noobs
Join date: 26 Jun 2007
Posts: 8,371
|
05-15-2009 10:12
Programmers. Sheesh. 
_____________________
It's still My World and My Imagination! So there. Lindal Kidd
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
05-15-2009 10:34
From: Lindal Kidd Programmers. Sheesh.  If we weren't attention-deficit obsessive-compulsive sock-thieves, you wouldn't have all these cool toys to play with. 
|
|
Amaranthim Talon
Voyager, Seeker, Curious
Join date: 14 Nov 2006
Posts: 12,032
|
05-15-2009 10:37
From: Argent Stonecutter If we weren't attention-deficit obsessive-compulsive sock-thieves, you wouldn't have all these cool toys to play with.  Good point. /me sits in the corner petting the ferret and lets all the foreign speech flow thru..
_____________________
"Yield to temptation. It may not pass your way again. " Robert A. Heinlein  http://talonfaire.blogspot.com/ Visit Talon Faire Main: http://slurl.com/secondlife/Misto%20Presto/216/21/155- Main Store XStreets: http://tinyurl.com/6r7ayn
|
|
Milla Alexandre
Milla Alexandre
Join date: 22 Jan 2007
Posts: 1,759
|
05-15-2009 11:34
This is great you guys! LOL Thanks.... I'm going to send my friend to read this as soon as I talk to him again. I think he will be thrilled at being albe to converse with other folks knowledgible in programming. It's greek to me for the most part.....tho I do understand the basic logic implied. You guys might be getting into some mighty interesting debates once he reads this thread......in which case, I'll start making popcorn for the rest of us~!!! 
|
|
Oryx Tempel
Registered User
Join date: 8 Nov 2006
Posts: 7,663
|
05-15-2009 11:38
From: Milla Alexandre It's geek to me for the most part..... Fixed that for you. 
|
|
Love Hastings
#66666
Join date: 21 Aug 2007
Posts: 4,094
|
05-15-2009 11:47
From: Qie Niangao The thing is, nobody who's programmed for long can actually bring themselves to care about languages anymore. Sure, but LSL is pretty awful. Well, the lack of extensibility, without painfully doing it yourself in basically non-reusable ways. You can use the distributed model to reduce that a bit, but then you incur otherwise unnecessary performance penalties. OK, all I really want is decent collections types.
|
|
Tygarys Soyinka
Insane Furry Lag Monster
Join date: 17 Sep 2005
Posts: 136
|
05-15-2009 19:06
All the good stuff is written in BASIC.
_____________________
Tygarys Soyinka
Just what every planet needs, cats in charge. - The Doctor
|
|
Tod69 Talamasca
The Human Tripod ;)
Join date: 20 Sep 2005
Posts: 4,107
|
05-15-2009 22:28
From: Tygarys Soyinka All the good stuff is written in BASIC. DAMN! I was just about to say that!! 
_____________________
really pissy & mean right now and NOT happy with Life.
|
|
Damien1 Thorne
Registered User
Join date: 26 Aug 2007
Posts: 4,877
|
05-15-2009 23:29
From: Love Hastings OK, all I really want is decent collections types.
I'd be happy if it had a switch/case statement rather than doing the @!*# nested if...then statements. And a return or take to inventory rather than llDie.
_____________________
As we fade into the darkness...
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
05-16-2009 03:46
From: Argent Stonecutter Speak for yourself. If a language doesn't support native reflection it's just a toy. You can do a lot with toy languages like LSL, C#, and C++ but they're not worthy of being mentioned in the same sentence as Lisp or Smalltalk. We probably agree more than not. I haven't actually enjoyed programming, in and of itself, since I gave up my Symbolics ever so long ago. But of course that was a lot more than a language--and a lot more than I get even now from Eclipse and Mercurial and pick-your-poison language, or by crossing over to the dark side of Microsoft's framework du jour. Since none of it is worth a damn, I find it difficult to make distinctions among contenders for slightly less crappy. http://en.wikipedia.org/wiki/Worse_is_better
_____________________
Archived for Your Protection
|
|
Conifer Dada
Hiya m'dooks!
Join date: 6 Oct 2006
Posts: 3,716
|
05-16-2009 04:04
I don't know much about programming or anything but surely, if SL was so backward and stone-age, it would have been left behind by other versatile user-created virtual worlds. There's a reason why SL is as it is. You could have 3D graphics of the quality used by the film industry but you'd probably have to put up with about 3 frames a minute!
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
05-16-2009 16:14
back to the OP's question...
it's simple why we CAN'T just rewite it all at the drop of a hat.
here's the short list time. Manpower. (see above) testing/debugging. (see above) Compatability (see above ) porting everything to use object oriented structures. (see above) efficiency (the above may not yield fast enough code) cost (see all above)
the base problem is that current costs don't allow for such a complete rebuild under a time constraint, and realistically adding more monkeys to the barrel increases time in testing/debugging (within certain limits). add to that the fact that most of the current budget is spent in maintenance and attracting new sources of income.
sure with an unlimited cash flow and and a million monkey's you'll eventually get Shakespeare, but while you're waiting, you'll get usenet (or /b/ for a more current example) =X
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Derbor Torok
Lost soul
Join date: 21 Jun 2007
Posts: 1,016
|
05-16-2009 16:19
From: Milla Alexandre ... he'll go off on a technology tangent about how it would be so easy to re-program SL and make things run so much smoother.
Whenever I hear something like this about complex systems I take it as a sign of genius or immaturity an inexperience. Lets hope your friend falls in the former category.. and if he does, he should go work for LL..  .d
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
05-16-2009 16:28
Ha, one would think a Mac user would be all too aware of how tough it can be to replace an environment wholesale. Apple tried with Pink, Copland, a brief flirtation with Be, nearly went out of business, and only got its act together after years with the NeXT merger, and even then the old stuff had to be run in a weird hacked-up VM-ish mess.
|