Welcome Guest.   Make a donation to an author on the site October 31, 2014, 03:48:09 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: SpiderMonkey  (Read 3452 times)
ewemoa
Honorary Member
**
Posts: 2,484



View Profile Give some DonationCredits to this forum member
« on: December 23, 2008, 02:00:34 PM »

Started looking into SpiderMonkey the other day and noticed some nice links at the bottom of a related Wikipedia page.  A selection of some (well, most) of them:

Scripting C++ with JavaScript using SpiderMonkey
wxJavaScript - porting wxWidgets using SpiderMonkey (and more)
SpiderApe - a C++ library built on top of SpiderMonkey [which] allows C++ developers to embed SpiderMonkey simply and easily into their client applications
jslibs - zlib, SQLite, NSPR, ode, libpng, libjpeg, libffi, (...) libraries for SpiderMonkey
TriXUL - XML-based GUI toolkit embeds SpiderMonkey, using JavaScript to implement logic behind its GUI, supporting calls from JavaScript to C++ objects.
Misc Projects - JavaScript Native Interface (JSNI), CPP to JS object wrapper, Script Host

If anyone has experience w/ SpiderMonkey already or is considering using it or has opinions about it, etc. would love to hear any related thoughts smiley
Logged
mouser
First Author
Administrator
*****
Posts: 33,613



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: December 23, 2008, 03:23:43 PM »

Great set of links.. and very interesting project.. i'm definitely going to be looking into this.  thumbs up
Logged
Ehtyar
Supporting Member
**
Posts: 1,236



That News Guy

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: December 23, 2008, 04:00:33 PM »

jslibs - zlib, SQLite, NSPR, ode, libpng, libjpeg, libffi, (...) libraries for SpiderMonkey

I've used this myself once or twice, very very impressive. April has a friend who knows a lot more about it than I.

TriXUL - XML-based GUI toolkit embeds SpiderMonkey, using JavaScript to implement logic behind its GUI, supporting calls from JavaScript to C++ objects.

Is this not a little redundant when you consider XULRunner?

Ehtyar.
Logged
app103
That scary taskbar girl
Global Moderator
*****
Posts: 5,292



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: December 24, 2008, 05:46:09 AM »

I've used this myself once or twice, very very impressive. April has a friend who knows a lot more about it than I.

Yeah...

A friend of mine (rkarman) built the original version of a really cool scriptable chat server called ARCA Eclipse, to host chatrooms on the Ares P2P network. (This was before Ares went open source) He used Spidermonkey in it.

The server is a great teaching tool for teaching beginners programming, by allowing them to play with Javascript right in the chatroom. He even included a debugger to give them feedback.

Chatroom admins can have a lot of fun with it too. With a scriptable server, there is no need to have room bots for playing games and other features. Plus you can create a function, toss it in the room, and use it immediately.

Back in the early days, I coded a complete slot machine game as a single function of under 200 chars and tossed it into the room. About 5 minutes later, someone else in the room coded a cheat function for it.  Grin

Today the server is developed and maintained by another party, as rkarman decided he no longer wanted to do it himself.

Before passing the project on, he gave a small group of trusted admins from his chatroom a copy of the original source, with express wishes that it be used for learning, and never for the purposes of creating malware. I am one of the caretakers of the original code, in case anyone would like to see the source to learn from.

I can't post it publicly, as I am only allowed to give it out to people I consider trustworthy.

(btw, he didn't know C/C++ before starting this project, and basically learned it in a day, so the code might be messy. He stated that if it had been his choice, it would have been written in either C# or VB.net. And if you want to know why it wasn't, you have to ask hollowlife1987)

TriXUL - XML-based GUI toolkit embeds SpiderMonkey, using JavaScript to implement logic behind its GUI, supporting calls from JavaScript to C++ objects.

Is this not a little redundant when you consider XULRunner?

Or Boxely?
Logged

ewemoa
Honorary Member
**
Posts: 2,484



View Profile Give some DonationCredits to this forum member
« Reply #4 on: December 24, 2008, 08:59:05 PM »

Thanks Ehtyar and app103, for your comments!

W.r.t TriXUL: perhaps you are right about the redundantness -- from my brief examination of XULRunner (thanks Ehtyar for your detailed post elsewhere on this BTW), I got the sense that it covers quite a lot...so perhaps it will eventually end up being redundant w/ everything Wink  It's true that these two things aren't applications per se I guess, but I'm reminded of this JWZ saying.

Hadn't heard of Boxely and that chat server sounds amazing -- thanks for sharing these smiley
Logged
Mary101
Participant
*
Posts: 8

View Profile Give some DonationCredits to this forum member
« Reply #5 on: January 01, 2009, 10:30:53 PM »

 Great info.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.037s | Server load: 0.15 ]