Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Shortest code to produce infinite output

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
Jan 24, 2017 at 18:21 comment added user62131 @JamesHolderness: Although it's implementation-dependent, I believe it will always either leave a comma or a space on top of the stack. (The interpretation where it prints commas is based on assuming that the lines wrap around as soon as you reach the end of the line, which doesn't seem to contradict the spec but which isn't orthogonal with the rest of the langugae.)
Nov 26, 2016 at 21:51 comment added user62131 @AndoDaan: Befunge-98 treats any string of consecutive spaces as one (contrary to what YoYoYonnY said), and treats the area "off the map" as spaces. So ", pushes a comma and a space, then prints the space, repeatedly. In Befunge-93, all the spaces actually are pushed, but then the playfield's only 80 characters wide so it's less inefficient
Jul 16, 2015 at 10:27 comment added AndoDaan @YoYoYonnY Thanks for taking the time to explain what was happening!
Jul 15, 2015 at 9:29 comment added yyny @AndoDaan: ", creates a string of a comma and INT_MAX-2 spaces, and then prints the last space. So the stack will fill itself with a comma INT_MAX-3 spaces, not really efficient.
Sep 3, 2014 at 3:21 comment added AndoDaan @tbodt Well, according to the spec, my little program has all of eternity to inch its way up. So... fingers crossed...
Sep 3, 2014 at 2:57 comment added tbodt It's too bad it's buried under 82,395 really crappy answers.
Sep 2, 2014 at 20:20 comment added AndoDaan Thank you. It's strange, the ", version outputs spaces (or ". outputs 32 32 32) using the most common b98 implementation. No idea where it gets it from.
Sep 2, 2014 at 20:16 comment added tbodt Actually somewhat clever.
Sep 2, 2014 at 15:20 review Low quality posts
Sep 2, 2014 at 15:54
Sep 2, 2014 at 15:03 history answered AndoDaan CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /