Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Coding challenge:

Name: Anonymous 2009-08-05 12:07

Write a garbage collector in Java.

Name: Anonymous 2009-08-05 12:08

no

Name: Anonymous 2009-08-05 12:09

Implement streams in Haskell.

Name: Anonymous 2009-08-05 13:06

>>3
Forget it, it's NP Complete
>>1
First, I'll need to write a GarbageCollectorFactoryFactoryif I want it to be Enterprise Quality

Name: Anonymous 2009-08-05 16:36

But can the garbage collector collect itself?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-05 16:58

>>5 It could be written without introducing garbage or use internal algorithms to provide that.



______________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
Once a man has changed the relationship between himself and his environment, he cannot return to the blissful ignorance he left.

Name: =+=*=F=R=O=Z=E=N==C=H=E=F=*=+= 2009-08-05 16:58

>>5 It cuoold be-a vreettee veethuoot intrudooceeng gerbege-a oor use-a internel elgureethms tu prufeede-a thet. Bork Bork Bork!



______________________________
http://xs141.xs.to/xs141/09303/av992393.jpg
Felux It Estroom gemedef furoom: http://itestroom.phpbb3noo.cum
Oonce-a a mun hes chunged zee releshunsheep betveee heemselff und hees infurunment, he-a cunnut retoorn tu zee bleessffool ignurunce-a he-a lefft.

Name: Anonymous 2009-08-05 17:34

Write a LISP interpreter in LISP.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-05 17:45

>>8 http://en.wikipedia.org/wiki/Meta-circular_evaluator



______________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
A strange neurosis, evidently contagious, an epidemic mass hysteria. In two weeks, it spread all over town.

Name: =+=*=F=R=O=Z=E=N==C=H=E=F=*=+= 2009-08-05 17:45

>>8 http://ee.veekipedia.oorg/veeki/Meta-curcooler_ifelooetur



______________________________
http://xs141.xs.to/xs141/09303/av992393.jpg
Felux It Estroom gemedef furoom: http://itestroom.phpbb3noo.cum
A strunge-a neoorusees, ifeedently cuntegeeuoos, un ipeedemic mess hystereea. Bork Bork Bork! In tvu veeks, it spreed ell oofer toon.

Name: Anonymous 2009-08-05 17:51

>>8-9
Can be done in like 1-2 pages of code for Lisp-1 ( metacircular, no reader included ), and probably slightly longer for Lisp-2.

Name: Anonymous 2009-08-05 18:50

>>11
Doesn't the Lisp 1.5 manual include a 1-page implementation?

Name: Anonymous 2009-08-05 19:15

Meta-circular evaluation is discussed at length in section 4.1, titled The Metacircular Evaluator, of the MIT university textbook Structure and Interpretation of Computer Programs (SICP). The core idea they present is two functions:

    * Eval which takes as arguments an expression and an environment (bindings for variables) and produces either a primitive or a procedure and a list of arguments
    * Apply which takes two arguments, a procedure and a list of arguments to which the procedure should be applied and produces an expression and an environment

The two functions then call each other in circular fashion to fully evaluate a program.

Name: Anonymous 2009-08-05 21:11

>>10
links broken

Don't change these.
Name: Email:
Entire Thread Thread List