52 Comments
- EmileVictor, on 10/12/2007, -1/+86
- merreborn, on 10/12/2007, -0/+37^^ EmileVictor just posted the code for DeCSS in Whitespace. Digg's probably gonna be receiving a DMCA takedown notice any minute now
- friol, on 10/12/2007, -0/+26This must be easy to debug...
- illynova, on 10/12/2007, -1/+22Wow, and when I learned about BF (*****) I thought I'd heard it all.
Can I ask.... why? - faulkner, on 10/12/2007, -1/+15so you can have 2 programs in the same source file.
so you can see a stack-based variable-opcode-length interpreter in haskell.
and old news:
Released April 1st, 2003
i wrote an interpreter in python last semester, then my harddrive died. :-( - zweben, on 10/12/2007, -0/+13At least it's easy to put in comments.
- inactive, on 10/12/2007, -1/+14I'm hoping that was meant as humor, since it should be obvious to anyone except complete retards... Then again, what kind of a mindset does one need to be in to even contemple the creation of such a computer language (other than for humor, as I've said.)
- merreborn, on 10/12/2007, -0/+12Joke ---------------------> X
Your head -------------> :-( - saumanahaii, on 10/12/2007, -1/+11You people fail to see the beauty in obsfusicated languages!!! If you think that is bad, check out Piet. Its a picture programming language. Color and hue change denote values to the stack.
http://www.dangermouse.net/esoteric/piet.html
Check out more esoteric/obfusicated languages: http://www.dangermouse.net/esoteric/
I had a better page, but that one will do for now.
That language has been around forever. No digg, but still an interesting language. - OptimismPrime, on 10/12/2007, -3/+11"Released April 1st, 2003"
April........1st.........
APRIL......1ST.......
BWAHAHAHA !!!! - duality, on 10/12/2007, -0/+8You know, this may be old, but it's still interesting. Also, Debian has an apt-get package for this language; I found it several months ago when I was browsing the index in Synaptic.
If you ask me, this is right up there with Intercal and Unlambda. - vann, on 10/12/2007, -0/+7I'm a spy and I use this language all the time.
- boredzo, on 10/12/2007, -0/+6Plausible deniability, man.
"That's not my code! That's somebody ELSE's code!" - MalDON, on 10/12/2007, -1/+6thats like the most un-readable programming language ever.
- mrASSMAN, on 10/12/2007, -0/+5nevermind, it's not an april fool's joke:
http://compsoc.dur.ac.uk/whitespace/explanation.php - MorningCoder, on 10/12/2007, -0/+5Use space and tab as 0 and 1. You have everything you need to transform any language into a white space only form. Just use bundles of 7 tabs and spaces to represent one ASCII char, and most language should be easily transformed into nothing but tabs and spaces.
Whitespace is nothing but a byte code language for a simple stack machine. In theory, with infinite memory, a simple stack machine can do anything more complicated languages can do, but in reality, who in their right mind will use such primitive language? ...except when doing your college homework. - mrASSMAN, on 10/12/2007, -0/+5yes, we've all known this since the day the new comment system was released. it only appears to go up, only one vote is registered though.
- solidcube, on 10/12/2007, -1/+6People who think this is a waste don't get it.
We live in a world where people with money are trying to make certain kinds of program illegal. What better (and more interesting) method of flummoxing them than by placing "illegal" source code inside source for legal programs? In C, source file might compile to do something, but when run with a whitespace interpreter it might do something else entirely...
This is also great for code obfuscation, and there are numerous uses for that. - merreborn, on 10/12/2007, -6/+11I just noticed that if you click the green thumbs up button real fast, the count goes up real high. But when you refresh, it only goes up by one.
I suggest you test this by pressing the green thumbs up button button over here -----------------------------^
Sadly, it only works with the thumbs up button. - samboy, on 10/12/2007, -2/+6I actually design my parsers so that invisible whitespace doesn't affect a data file or script. Otherwise things can get buggy really fast. One of my annoyances is that the Bourne Shell programming language considers '' at the end of a line different than ' ', which, annoyingly, look the same.
- roostishaw, on 10/12/2007, -0/+4Check out some sample source:
http://compsoc.dur.ac.uk/whitespace/count.ws
Just hit Ctrl+A - elroy, on 10/12/2007, -2/+6"Useful is a relative term..."
This is often said by proprietors of useless crap. - rtimmons, on 10/12/2007, -0/+4undoubtedly the most practical solution to the everyday problems of most spies.
- merreborn, on 10/12/2007, -0/+3When someone claims that "Most x don't y", and you present a single case of an "x that DOES y", that in NO WAY invalidates the initial claim.
- pauldonnelly, on 10/12/2007, -0/+3Anyone with half a brain can seen how vital this language is. The number of languages in which white space has no meaning grows ever larger, and without Whitespace the universe would be dangerously out of balance!
- theotheragentm, on 10/12/2007, -1/+3So how do comments work? Those should be user readable.
- BlindIrishman, on 10/12/2007, -0/+2Hello world! http://compsoc.dur.ac.uk/whitespace/hworld.ws
- mrASSMAN, on 10/12/2007, -2/+4....ohhhhh
i think we all feel a bit dumber right now.. - eleven, on 10/12/2007, -0/+2I always found the whitespace in python really strange too - not crazy like this though.
I need both { and } to ensure my brain doesn't explode. - Brak710101, on 10/12/2007, -4/+6"Whitespace is a particularly useful language for spies. Imagine you have a top secret program that you don't want anyone to see. What do you do? Simply print it out and delete the file, ready to type in at a later date. Nobody will know that your blank piece of paper is actually vital computer code!"
You'd need one hell of a scanner to do that. Plus, printers obviously do not print white.
wtf? - oonix, on 10/12/2007, -4/+5somebody please help me!! i'm trying to print the source code but all I get are blank pages :(
*sigh* - mrASSMAN, on 10/12/2007, -1/+2haha, i love it.
- Leech, on 10/12/2007, -0/+1well, now I need a Syntax Highlighter for this code... [?]
- BlindIrishman, on 10/12/2007, -0/+1I do belive thats what the NSA used
- yahoofrom, on 10/12/2007, -0/+1what do you mean by "the above"? I see nothing there.
- shaherazad, on 10/12/2007, -0/+1VB as well
- nucleocide, on 10/12/2007, -0/+1This looks like a ***** wannabe to me.
- sdpla, on 10/12/2007, -0/+0I seem to remember an IOCCC entry a few years ago that used whitespace for information. If I remember correctly they changed the rules after that because they had a size limit that didn't include the white space in the calculation.
- Continium, on 10/12/2007, -2/+2Lmao, I remember seeing this a while ago.
"Most modern programming languages do not consider white space characters"
What about the best one of them all, python, owned. - inactive, on 10/12/2007, -4/+3> Can I ask.... why?
all the stack-based goodness of Forth without the obscure symbols of APL? - HackWithRamzi, on 10/12/2007, -7/+5Why the hell would you want a language you can't ***** read?
- robsonde, on 10/12/2007, -4/+1
as for what the above does??
I dont write comments, i layout my code so it easy to see what it does. - mrASSMAN, on 10/12/2007, -17/+12"Whitespace is a particularly useful language for spies."
Spies. This is useful for SPIES! WTF?!
"Imagine you have a top secret program that you don't want anyone to see. What do you do? Simply print it out and delete the file, ready to type in at a later date. Nobody will know that your blank piece of paper is actually vital computer code!"
..How do you print out code that does not contain any visible characters? How do you type that invisible code later if you can't see it??
*brain annurism* - speel, on 10/12/2007, -12/+5
OH MAN i just hacked the world with my new program ^ - inactive, on 10/12/2007, -8/+1Wow. what a complete ***** waste.
- Kazanoe, on 10/12/2007, -12/+3We'll haveto introduce this to the ninjas.
I'msure they can useit efficiently!
- carbontwelve, on 10/12/2007, -9/+1not really lol when you print the code you get nout but blank pages lol
- cruocitae, on 10/12/2007, -12/+1Here do not.
- inactive, on 10/12/2007, -15/+3"Whitespace is a particularly useful language for spies. Imagine you have a top secret program that you don't want anyone to see. What do you do? Simply print it out and delete the file, ready to type in at a later date. Nobody will know that your blank piece of paper is actually vital computer code!"
Uhhh, how the hell can the person who made it even see it? - detrate, on 10/12/2007, -14/+1; > *


What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official