Lost Password?


Go Back   CodeCall Programming Forum > Software Development > C and C++

C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #21 (permalink)  
Old 04-16-2008, 12:58 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,626
Last Blog:
CherryPy(thon)
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: C Or C++

Offtopic:
Which Lisp dialect do you use, G_Morgan? Emacs Lisp?
I once spent a lot of time on different Lisps (Scheme, Common Lisp) but for some reason I stopped. IIRC, I was annoyed by the way you load libraries (/ packages) I never figured out where the standard packages were located, so I didn't know where to add new packages. Could you clear up how this loading process works in Lisps (in general, I know it can differ from implementation and dialect), or at least where the standard packages normally are located (which may be hard, as I suppose it's implementation-depend.)

Sorry for hi-jacking the thread for a while.
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22 (permalink)  
Old 04-16-2008, 08:47 AM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 466
Last Blog:
Just over the next hil...
Rep Power: 10
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default Re: C Or C++

I use all three TBH. I use Emacs for coding Lisp so utilise a little elisp in programming that. Scheme's simplicity and first class continuations give it some benefits. CL I use for most of my work.

SBCL is my favourite Lisp implementation but it only works well on Unix (the Windows port is a work in progress). I install packages using asdf-install which is the CL equivalent to Perl's CPAN (though has far fewer packages than CPAN naturally). Asdf-install comes pre-installed with SBCL but I think many CL implementations require you to install it manually (most will come with asdf though).

CLiki : ASDF-Install

CLiki : asdf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23 (permalink)  
Old 04-16-2008, 09:17 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,626
Last Blog:
CherryPy(thon)
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: C Or C++

Great, thank you.

I've been using SBCL too (and earlier GCL too, but it seems deprecated?), and I find it great, and it sounds even greater with asdf. I'll look at asdf (and the links you provided) when I get some time, so for now I've just bookmarked them. I would still like to know if there's some way to find the location of the packages. If you've some clue, I'll appreciate it.

Thank you again!

Edit: By the way, I've given you some positive reputation.
__________________
05-03-2007 - 11-13-2008

Last edited by v0id; 04-16-2008 at 09:19 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24 (permalink)  
Old 04-16-2008, 01:55 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 9,498
Last Blog:
Web slideshow in JavaS...
Rep Power: 76
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: C Or C++

But C# is the best.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25 (permalink)  
Old 04-16-2008, 02:18 PM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 466
Last Blog:
Just over the next hil...
Rep Power: 10
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default Re: C Or C++

Quote:
Originally Posted by v0id View Post
Great, thank you.

I've been using SBCL too (and earlier GCL too, but it seems deprecated?), and I find it great, and it sounds even greater with asdf. I'll look at asdf (and the links you provided) when I get some time, so for now I've just bookmarked them. I would still like to know if there's some way to find the location of the packages. If you've some clue, I'll appreciate it.

Thank you again!

Edit: By the way, I've given you some positive reputation.
I think it changes from distribution to distribution on Linux. I know Ubuntu stores it's CL libraries in a central location (for all potential CL implementations) and points SBCL towards it. I imagine this will be the same throughout Debian distributions.

However asdf-install tells you where it is dropping any package you install via it's mechanisms. You can install packages either locally (in which case it goes in a folder in your home directory) or system wide (something like /usr/lib/sbcl I think, might be wrong). Best way to find out is to try to install something from asdf-install and it will list the paths available to it.

GCL suffered when Clisp became a Gnu project. It's a pity really since they approach the language in very different ways (Clisp is a bytecode/VM system, GCL's main use is to compile to C). Both are lacking in standards support IMHO though and SBCL seems to be the focal point for free CL systems.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #26 (permalink)  
Old 04-16-2008, 02:23 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 9,498
Last Blog:
Web slideshow in JavaS...
Rep Power: 76
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: C Or C++

But still, we all love C#, don't we?
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27 (permalink)  
Old 04-16-2008, 03:53 PM
R-G's Avatar   
R-G R-G is offline
Programmer
 
Join Date: Apr 2007
Location: Europe
Posts: 144
Rep Power: 0
R-G is an unknown quantity at this point
Default

If you'll ever study the computational complexity theory, the basic theory of computation or any other related field in the computer science (probably ethics as well), you will understand why the answer is certainly no.
__________________
Like an angel without a sense of mercy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28 (permalink)  
Old 04-16-2008, 04:01 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 9,498
Last Blog:
Web slideshow in JavaS...
Rep Power: 76
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: C Or C++

How come? I love C#.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29 (permalink)  
Old 04-17-2008, 01:08 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,626
Last Blog:
CherryPy(thon)
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: C Or C++

Quote:
Originally Posted by G_Morgan View Post
I think it changes from distribution to distribution on Linux. I know Ubuntu stores it's CL libraries in a central location (for all potential CL implementations) and points SBCL towards it. I imagine this will be the same throughout Debian distributions.

However asdf-install tells you where it is dropping any package you install via it's mechanisms. You can install packages either locally (in which case it goes in a folder in your home directory) or system wide (something like /usr/lib/sbcl I think, might be wrong). Best way to find out is to try to install something from asdf-install and it will list the paths available to it.

GCL suffered when Clisp became a Gnu project. It's a pity really since they approach the language in very different ways (Clisp is a bytecode/VM system, GCL's main use is to compile to C). Both are lacking in standards support IMHO though and SBCL seems to be the focal point for free CL systems.
I checked /usr/lib/sbcl, and it seems like it's the right directory. There's all kinds of packages, all of them start with "sb-" though, and onlt asdf doesn't have that prefix. But I guess these are the standard packages (for SBCL) I'll still give asdf a try, to see if it drops packages somewhere else than in this directory. Fortunately, there's tons of material on how to use asdf, so it shouldn't be a problem to get started. Thank you once again, I appreciate your help.
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30 (permalink)  
Old 04-18-2008, 04:31 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,626
Last Blog:
CherryPy(thon)
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: C Or C++

I got some time on my hand today, so I've been looking closer at asdf. It is indeed a nice tool, and very easy to use. I like that it keeps its installation clean, and doesn't drop files everywhere, but only where you ask it to. I guess I'll start doing some more Lisp programming now.
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 07:38 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads