Hacker News new | past | comments | ask | show | jobs | submit login

Pretty much.

Throwing [0] to chrome and firefox has made made them hang for 5 minutes so far. Generating the HTML took under a second and 13MB, large, but not larger than the fatter webpages out there.

In terms of input browsers don't see but should be able to parse you can't get much simpler than this.

[0] In Guile2.x:

    (define print 
      (lambda (x)
        (display x)
        (newline)))
    
    (define div-hell
      (lambda (n)
        (cond
          ((eq? n 0) (print "TEXT"))
          (else
            (print "<div>")
            (div-hell (- n 1))
            (print "</div>")))))
    
    (print "<html><header><title>DIV HELL</title></header><body>")
    (div-hell 1000000)
    (print "</body></html>")



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: