January 2018

S M T W T F S
  123456
78910111213
14151617181920
21222324252627
28293031   

Style Credit

Expand Cut Tags

No cut tags
Friday, June 26th, 2009 12:02 am
Hi, this post is about Factor, real Factor. This post is awesome. My name is [livejournal.com profile] pozorvlak and I can't stop thinking about Factor. Factor is cool, and by cool, I mean totally sweet.

Facts:
1. Slava Pestov is a mammal.
2. Slava Pestov hacks on Factor ALL the time.
3. The purpose of Slava Pestov is to flip out and kill people.

Weapons and Gear:
1. Concatenative (stack-based, Forth-like) language.
2. Dynamic types.
3. First-class functions.
4. Object-orientation.
5. Real macros.
6. Batteries included.
7. The listener: debugger/REPL/help browser/etc.
8. Optimizing, self-hosting native-code compiler.
9. Ninja stars.

Testimonial:
Factor programmers can kill anyone they want! Slava cuts off heads ALL the time and doesn't even think twice about it. The guys on #concatenative are so crazy and awesome that they flip out ALL the time. I heard that littledan was eating at a diner. And when some dude dropped a spoon littledan GC'ed every object in memory. My friend Mark said that he saw a Factor programmer totally uppercut some kid just because the kid opened a gl-window.

And that's what I call REAL Ultimate Power!!!!!!!!!!!!!!!!!!

If you don't believe that Factor programmers have REAL Ultimate Power you better git clone their repository right now or they will chop your head off!!! It's an easy choice, if you ask me.

Writing OpenGL code in Factor:
Step 1: Look for some Factor OpenGL documentation.
Step 2: Fail to find any.
Step 3: Get really super pissed.
Step 4: Get some C++ OpenGL documentation instead.
Step 5: Put something slippery on it, like butter or cream.
Step 6: Bend it to fit (this is crucial).
Step 7: Keep folded and insert into listener hard.
Step 8: Push hard until you can't see it.
Step 9: Wait.
Step 10: Die.

If you succeed, everybody will be like “Holy Crap!

Update: by popular demand, a picture of Slava wailing on guitar.
Friday, June 26th, 2009 12:22 am (UTC)
Hahaha, this sounds genius! I've never really worked with a concatenative language, it sounds like an interesting ... paradigm?
Friday, June 26th, 2009 07:20 am (UTC)
Definitely - check out what the WikiFolk say about Forth (http://c2.com/cgi/wiki?ForthLanguage). I'm having a bit of trouble getting started, though :-(
(Anonymous)
Friday, July 3rd, 2009 02:01 am (UTC)
I'mhaving trouble getting started, too. I'm fairly good with things like stack shuffling, but not so much with the rest of Factor's features.